[Mesa-dev] [Bug 60038] New: [osmesa] [git] building 32-bit mesa on 64 bit fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 29 13:11:08 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=60038

          Priority: medium
            Bug ID: 60038
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: [osmesa] [git] building 32-bit mesa on 64 bit fails
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: lonewolf at xs4all.nl
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Other
           Product: Mesa

Created attachment 73873
  --> https://bugs.freedesktop.org/attachment.cgi?id=73873&action=edit
build log

builds fails with messages like :
/usr/bin/ld: i386:x86-64 architecture of input file
`../../../../src/mesa/.libs/libmesa.a(ast_expr.o)' is incompatible with i386
output

The workarounds mentioned bug 50754, 59332 & 59737 don't help.

i've attached the build log, 
configure flags / commands :

  export CC="gcc -m32"
  export CXX="g++ -m32"
  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
  # for our llvm-config for 32 bit
  export LLVM_CONFIG=/usr/bin/llvm-config32
  ./autogen.sh \
    --prefix=/usr \
    --sysconfdir=/etc \
    --with-dri-driverdir=/usr/lib32/xorg/modules/dri \
    --enable-gallium-llvm \
    --enable-egl \
    --enable-gallium-egl \
    --with-egl-platforms=x11,drm \
    --enable-shared-glapi \
    --enable-gbm \
    --enable-glx-tls \
    --enable-dri \
    --enable-glx \
    --enable-gles1 \
    --enable-gles2 \
    --enable-texture-float \
    --enable-xa \
    --enable-vdpau \
    --enable-gallium-gbm \
    --enable-xvmc \
    --enable-xorg \
    --enable-32-bit \
    --libdir=/usr/lib32 \
    --with-gallium-drivers=r300,r600,radeonsi,swrast \
    --with-dri-drivers=swrast \
    --enable-osmesa \
    --enable-r600-llvm-compiler \

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130129/b854d3f3/attachment.html>


More information about the mesa-dev mailing list