This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6441] New: Value of slibdir changes after reconfigure for 64-bit targets
- From: "anemet at caviumnetworks dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 22 Apr 2008 01:54:45 -0000
- Subject: [Bug libc/6441] New: Value of slibdir changes after reconfigure for 64-bit targets
- Reply-to: sourceware-bugzilla at sourceware dot org
After reconfiguring, the value of slibdir changes from ${exec_prefix}/lib32 or
${exec_prefix}/lib64 to ${exec_prefix}/lib.
This is because the code that sets libdir is only executed if libc_cv_slibdir
is unset (this is to provide an override mechanism for subtargets). If the
value of libc_cv_slibdir is read from the config cache the value of libdir is
never adjusted. Or:
$ rm config.cache
$ ~/src/glibc/configure --host=mips64-unknown-linux-gnu --build=i686-linux
--prefix=/usr --cache-file=config.cache &>/dev/null
$ grep libdir config.make
libdir = ${exec_prefix}/lib32
slibdir = /lib32
$ ~/src/glibc/configure --host=mips64-unknown-linux-gnu --build=i686-linux
--prefix=/usr --cache-file=config.cache &>/dev/null
$ grep libdir config.make
libdir = ${exec_prefix}/lib
slibdir = /lib32
With the current logic, either both libdir and slibdir should be cached or
neither.
--
Summary: Value of slibdir changes after reconfigure for 64-bit
targets
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: anemet at caviumnetworks dot com
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: i686-linux
GCC host triplet: mips64-unknown-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=6441
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.