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

Benjamin Bellec b.bellec at gmail.com
Sun Aug 17 14:12:11 PDT 2014


Hello,

This error is due to the recent removal of "--disable-64-bit" and
"--enable-32-bit" options.
You should now replace them by "--build=i686-pc-linux-gnu" and
"--host=i686-pc-linux-gnu"

See here :
http://lists.freedesktop.org/archives/mesa-dev/2014-August/065574.html

- Benjamin


Le 17/08/2014 23:00, Kertesz Laszlo a écrit :
> 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
>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140817/d5cda087/attachment.html>


More information about the mesa-dev mailing list