<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [radeonsi] LLVM runs out of registers during register allocation in Painkiller Hell & Damnation"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73320#c44">Comment # 44</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [radeonsi] LLVM runs out of registers during register allocation in Painkiller Hell & Damnation"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73320">bug 73320</a>
              from <span class="vcard"><a class="email" href="mailto:farmboy0+freedesktop@googlemail.com" title="farmboy0+freedesktop@googlemail.com">farmboy0+freedesktop@googlemail.com</a>
</span></b>
        <pre>Hres a short howto that I use to test this stuff:

Build llvm from a repo:
(change the prefix to where you want the have this installed, the configure is
setup for a 32bit build to test with wine and Antichamber)

the main llvm url is <a href="http://llvm.org/git/llvm">http://llvm.org/git/llvm</a>
tom stellar's repo is at git://people.freedesktop.org/~tstellar/llvm

git clone <llvm repo url>
cd llvm
git checkout <branch name>
./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--prefix=/home/eho/programs --enable-keep-symbols --enable-shared
--disable-assertions --enable-libffi --enable-targets=host,cpp,r600
make -j5 install

Build mesa from git:
git clone git://anongit.freedesktop.org/mesa/mesa
cd mesa
/configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--prefix=/home/eho/programs --enable-glx --enable-shared-glapi
--enable-texture-float --enable-egl --enable-gbm --enable-gles1 --enable-gles2
--enable-glx-tls --enable-osmesa --enable-asm --with-dri-drivers=swrast,radeon
--with-gallium-drivers=swrast,radeonsi,r600
--with-egl-platforms=x11,wayland,drm --enable-gallium-llvm --enable-openvg
--enable-gallium-egl --enable-dri --enable-xvmc --enable-dri3 --enable-vdpau
--enable-r600-llvm-compiler --enable-debug
make -j5 install

To run your app you do:
export LD_LIBRARY_PATH=<your prefix>/lib (for me would be
/home/eho/programs/lib)
<call your app here>

Does this help?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>