https://bugs.freedesktop.org/show_bug.cgi?id=61318
Priority: medium Bug ID: 61318 Assignee: mesa-dev@lists.freedesktop.org Summary: Can't compile GLU 32bit on 64bit Severity: critical Classification: Unclassified OS: All Reporter: alexandre.f.dem...@gmail.com Hardware: All Status: NEW Version: git Component: GLU Product: Mesa When crosscompiling, building GLU 32 bit on 64 bit system fails: CXXLD libGLU.la /usr/lib/x86_64-linux-gnu/libGL.so: could not read symbols: File in wrong format collect2: error: ld returned 1 exit status make: *** [libGLU.la] Error 1 I use the following to build: if [ "$BUILD32" = "true" ]; then echo "Building 32 bit" export CFLAGS='-m32' export CXXFLAGS='-m32' export LLVM_CONFIG='/usr/bin/llvm-config32' ./autogen.sh --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu --prefix=/usr --libdir=/usr/lib/i386-linux-gnu --includedir=/usr/include/i386-linux-gnu fi make -j $NUM_THREADS -- 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