https://bugs.freedesktop.org/show_bug.cgi?id=45458
Bug #: 45458 Summary: mesa will not compile in 32bit mode on a 64bit machine that is setup to do that Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Mesa core AssignedTo: mesa-dev@lists.freedesktop.org ReportedBy: kdeko...@yahoo.com git ffe376d5a74dee837dc1a421de29ae551087630f ./autogen.sh --prefix=/usr --libdir=/usr/lib --with-dri-drivers="" --with-galliu m-drivers=r600,swrast --enable-gallium-egl --enable-openvg --enable-gles1 --enab le-gles2 --enable-texture-float --enable-vdpau --enable-xvmc --enable-osmesa --e nable-32-bit --enable-gallium-llvm --enable-texture-float This command worked properly on 1/30/2012. I'm guessing that the LDFLAGS is not properly set in the Makefile. In my Makefile in src/glsl LDFLAGS is not set. It should contain something like -m32 or $(ARCH_FLAGS) gmake[4]: Entering directory `/home/kdekorte/git/mesa-32/src/glsl' CXXLD libglsl.la /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.6.2/libstdc++.so when searching for -lstdc++ /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.6.2/../../../../lib64/libm.so when searching for -lm /usr/bin/ld: skipping incompatible /usr/lib/../lib64/libm.so when searching for -lm /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.6.2/../../../../lib64/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/../lib64/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.6.2/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-redhat-linux/4.6.2/../../../../lib64/crti.o' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-redhat-linux/4.6.2/crtbeginS.o' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-redhat-linux/4.6.2/crtendS.o' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-redhat-linux/4.6.2/../../../../lib64/crtn.o' is incompatible with i386 output collect2: ld returned 1 exit status gmake[4]: *** [libglsl.la] Error 1 gmake[4]: Leaving directory `/home/kdekorte/git/mesa-32/src/glsl' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/home/kdekorte/git/mesa-32/src/glsl' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/home/kdekorte/git/mesa-32/src/glsl' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/home/kdekorte/git/mesa-32/src' make: *** [default] Error 1 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- 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