<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>64bit on bramp.net</title>
    <link>https://blog.bramp.net/</link>
    <description>Recent content in 64bit on bramp.net</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-GB</language>
    <lastBuildDate>Sun, 19 Jun 2011 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog.bramp.net/tags/64bit/" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Linux 64bit Flash glibc memcpy bug</title>
      <link>https://blog.bramp.net/post/2011/06/19/linux-64bit-flash-glibc-memcpy-bug/</link>
      <pubDate>Sun, 19 Jun 2011 00:00:00 +0000</pubDate>
      
      <guid>https://blog.bramp.net/post/2011/06/19/linux-64bit-flash-glibc-memcpy-bug/</guid>
      <description><p>Does your Linux 64bit version of Flash now make anonying beeping/distortion noises while playing videos? Well it turns out a recent “<a href="http://lwn.net/Articles/414467/">improvement</a>” to glibc has caused some programs to now crash or do weird things. This is to do with an improvement of <a href="http://linux.die.net/man/3/memcpy">memcpy</a>, which makes its use more strict, causing those applications that incorrectly used it to now crash.</p>
<p>On Debian, there is a simple a fix that allows you to use the original memcpy. You can load the application using an additional .so file:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="nv">LD_PRELOAD</span><span class="o">=</span>/usr/lib/libc/memcpy-preload.so /path/to/your/program
</span></span></code></pre></div><p>As I use Google Chrome when using Flash I had to do the following:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="nv">LD_PRELOAD</span><span class="o">=</span>/usr/lib/libc/memcpy-preload.so /usr/bin/google-chrome
</span></span></code></pre></div><p>but if you want to fix chrome on a system level, you can edit the Chrome Wrapper used to launch it.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo nano /opt/google/chrome/google-chrome
</span></span></code></pre></div><p>add the following line</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">LD_PRELOAD</span><span class="o">=</span><span class="s2">&#34;/usr/lib/libc/memcpy-preload.so&#34;</span>
</span></span></code></pre></div><p>for example</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="nb">export</span> LD_LIBRARY_PATH
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">LD_PRELOAD</span><span class="o">=</span><span class="s2">&#34;/usr/lib/libc/memcpy-preload.so&#34;</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">CHROME_VERSION_EXTRA</span><span class="o">=</span><span class="s2">&#34;beta&#34;</span>
</span></span></code></pre></div></description>
    </item>
    
    <item>
      <title>64bit TortoiseGit</title>
      <link>https://blog.bramp.net/post/2009/02/15/64bit-tortoisegit/</link>
      <pubDate>Sun, 15 Feb 2009 00:00:00 +0000</pubDate>
      
      <guid>https://blog.bramp.net/post/2009/02/15/64bit-tortoisegit/</guid>
      <description><p>Recently I tried <a href="http://code.google.com/p/tortoisegit/">TortoiseGit</a>, a <a href="http://tortoisesvn.tigris.org/">TortoiseSVN</a> style Git client, however there were no binaries for my 64 bit windows machine. The 32 bit version found on the official site would install, but the shell extension unfortunately does not work.</p>
<p>So I took the law into my own hands and went and built my own version.</p>
<p><del>So here is <a href="TortoiseGit-3.3.9d335-64bit.msi">TortoiseGIT 0.3.3.0 (64 bit)</a> built from revision 9d3351f627b26d9555794e785cf8bbae22155f12.</del> There is now a newer offical version available at: <a href="http://code.google.com/p/tortoisegit/downloads/list">http://code.google.com/p/tortoisegit/downloads/list</a></p>
<p>Hopefully 64bit builds will be available from the official site in the future.</p>
<p><strong>Disclaimer</strong>, I haven’t fully tested this app, and I suspect some features of the 64 bit build might be broken. Regardless I’ve been able to use at least the basic features of this version.</p>
</description>
    </item>
    
  </channel>
</rss>
