From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73320] [radeonsi] LLVM runs out of registers during register allocation in Painkiller Hell & Damnation Date: Fri, 09 May 2014 22:44:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0006891800==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 17D046F041 for ; Fri, 9 May 2014 15:44:15 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0006891800== Content-Type: multipart/alternative; boundary="1399675455.76d1Eb3.11207"; charset="us-ascii" --1399675455.76d1Eb3.11207 Date: Fri, 9 May 2014 22:44:15 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73320 --- Comment #44 from farmboy0+freedesktop@googlemail.com --- 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 http://llvm.org/git/llvm tom stellar's repo is at git://people.freedesktop.org/~tstellar/llvm git clone cd llvm git checkout ./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=/lib (for me would be /home/eho/programs/lib) Does this help? -- You are receiving this mail because: You are the assignee for the bug. --1399675455.76d1Eb3.11207 Date: Fri, 9 May 2014 22:44:15 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 44 on bug 73320 from
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 http://llvm.org/git/llvm
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?


You are receiving this mail because:
  • You are the assignee for the bug.
--1399675455.76d1Eb3.11207-- --===============0006891800== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0006891800==--