[Mesa-dev] [Bug 50754] Building 32 bit mesa on 64 bit OS fails since change for automake

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 8 09:52:46 CEST 2012


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

--- Comment #5 from Tapani Pälli <lemody at gmail.com> 2012-06-08 00:52:46 PDT ---
There is a difference in the generated libtool script. When running autogen.sh
by manually setting CFLAGS and CXXFLAGS as "-m32" it has :

# Compile-time system search path for libraries.
sys_lib_search_path_spec="/usr/lib/gcc/x86_64-redhat-linux/4.7.0 /usr/lib /lib
"

# The linker used to build libraries.
LD="/usr/bin/ld -m elf_i386"

however without them (only using --enable-32-bit) you have :

# Compile-time system search path for libraries.
sys_lib_search_path_spec="/usr/lib/gcc/x86_64-redhat-linux/4.7.0 /usr/lib64
/lib64 "

# The linker used to build libraries.
LD="/usr/bin/ld -m elf_x86_64".

I believe this is the reason, I will continue debugging this.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list