https://bugs.freedesktop.org/show_bug.cgi?id=79263
Priority: medium Bug ID: 79263 Assignee: mesa-dev@lists.freedesktop.org Summary: Linking error in egl_gallium.la when compiling 32 bit on multiarch Severity: normal Classification: Unclassified OS: Linux (All) Reporter: knut.tidem...@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: git Component: EGL Product: Mesa This morning I was unable to compile a 32 bit mesa from git. 64 bit compiled properly. This was on a 64 bit install of Arch Linux with multiarch enabled and using gcc version 4.9.0 20140521 (prerelease) from the official repositories. I've bisected the issue to this commit: 7a63bd960c33127dbce0e5802a7cda96dc011104 automake: correctly append the version-script Here's my configure line for the build: export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" export LLVM_CONFIG="/usr/bin/llvm-config32" CFLAGS="-m32 -msse -msse2 -march=i686 -mfpmath=sse -mtune=generic -O2 -pipe" CXXFLAGS="-m32 -msse -msse2 -march=i686 -mfpmath=sse -mtune=generic -O2 -pipe" ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --with-dri-driverdir=/usr/lib32/xorg/modules/dri \ --with-gallium-drivers=r300,r600,nouveau,svga,swrast \ --with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \ --with-llvm-shared-libs \ --enable-gallium-egl --enable-shared-glapi \ --enable-gallium-llvm \ --enable-gallium-gbm \ --enable-glx-tls \ --enable-gles1 \ --enable-gles2 \ --enable-egl \ --enable-dri \ --enable-glx \ --disable-xa \ --enable-osmesa \ --enable-gbm \ --enable-texture-float \ --enable-32-bit \ --disable-xvmc \ --disable-vdpau \ --libdir=/usr/lib32 The linker error produced is: make[3]: Entering directory '/var/abs/local/mesa-git/lib32-mesa-git/src/build/src/gallium/targets/egl-static' CC egl.lo CC egl_pipe.lo CC egl_st.lo CXXLD egl_gallium.la .libs/egl.o: In function `create_drm_screen': egl.c:(.text+0x8f): undefined reference to `loader_get_driver_for_fd' .libs/egl.o: In function `_eglMain': egl.c:(.text+0x1da): undefined reference to `loader_set_logger' collect2: error: ld returned 1 exit status Makefile:917: recipe for target 'egl_gallium.la' failed make[3]: *** [egl_gallium.la] Error 1 make[3]: Leaving directory '/var/abs/local/mesa-git/lib32-mesa-git/src/build/src/gallium/targets/egl-static' -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev