[Mesa-dev] Mesa fails to build (32 bit chroot on 64 bit machine)

Kertesz Laszlo laszlo.kertesz at gmail.com
Sun Aug 17 14:00:08 PDT 2014


Hello.
I have an issue building mesa on a 32 bit chroot. Compiling fails with 
the below messages (the Error ones repeated 9000+ times):

/tmp/ccvEhPCW.s: Assembler messages:
/tmp/ccvEhPCW.s:13: Error: bad register name `%rip)'
/tmp/ccvEhPCW.s:14: Error: bad register name `%rax)'
/tmp/ccvEhPCW.s:15: Error: bad register name `%r11)'
/tmp/ccvEhPCW.s:21: Error: bad register name `%rip)'
/tmp/ccvEhPCW.s:22: Error: bad register name `%rax)'
/tmp/ccvEhPCW.s:23: Error: bad register name `%r11)'
/tmp/ccvEhPCW.s:29: Error: bad register name `%rip)'
/tmp/ccvEhPCW.s:30: Error: bad register name `%rax)'

I built mesa before with the very same config file 2 days ago. What 
could be wrong?

Note: 64 bit builds fine.
mesa build script:

#!/bin/bash
./autogen.sh --sysconfdir=/etc --prefix=/usr \
LDFLAGS="-L/usr/lib/i386-linux-gnu -L/usr/lib 
-L/usr/local/lib/llvm32/lib" \
--disable-64-bit --enable-32-bit \
--libdir=/usr/lib/i386-linux-gnu --enable-debug \
--enable-texture-float \
--with-gallium-drivers=r600,swrast,radeonsi \
--with-dri-drivers="" \
--enable-vdpau \
--enable-egl --enable-gles1 --enable-gles2 \
--enable-glx-tls \
--with-egl-platforms=x11,drm \
--enable-gbm \
--enable-gallium-egl \
--enable-gallium-osmesa \
--with-osmesa-bits=32 \
--disable-dri3 \
--enable-shared-glapi \
--enable-gallium-llvm \
--enable-r600-llvm-compiler \
--disable-llvm-shared-libs \
--with-llvm-prefix=/usr/local/lib/llvm32 \
CPPFLAGS="-m32" \
CXXFLAGS="-m32" \
LDFLAGS="-ltinfo -lpthread -ldl"

Its a bit messed up, but it was working before in this exact form (i 
build llvm too and static link agains it). Debian Testing 64 bit.

--
O zi buna,
Kertesz Laszlo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140818/9408bf7b/attachment-0001.html>


More information about the mesa-dev mailing list