public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/6441] New: Value of slibdir changes after reconfigure for 64-bit targets
@ 2008-04-22 1:55 anemet at caviumnetworks dot com
2008-04-22 1:56 ` [Bug libc/6441] " anemet at caviumnetworks dot com
2008-04-22 22:59 ` [Bug ports/6441] " drepper at redhat dot com
0 siblings, 2 replies; 4+ messages in thread
From: anemet at caviumnetworks dot com @ 2008-04-22 1:55 UTC (permalink / raw)
To: glibc-bugs
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/6441] Value of slibdir changes after reconfigure for 64-bit targets
2008-04-22 1:55 [Bug libc/6441] New: Value of slibdir changes after reconfigure for 64-bit targets anemet at caviumnetworks dot com
@ 2008-04-22 1:56 ` anemet at caviumnetworks dot com
2008-04-22 22:59 ` [Bug ports/6441] " drepper at redhat dot com
1 sibling, 0 replies; 4+ messages in thread
From: anemet at caviumnetworks dot com @ 2008-04-22 1:56 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From anemet at caviumnetworks dot com 2008-04-22 01:56 -------
This is a proposed patch:
http://sourceware.org/ml/libc-alpha/2008-03/msg00105.html
--
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug ports/6441] Value of slibdir changes after reconfigure for 64-bit targets
2008-04-22 1:55 [Bug libc/6441] New: Value of slibdir changes after reconfigure for 64-bit targets anemet at caviumnetworks dot com
2008-04-22 1:56 ` [Bug libc/6441] " anemet at caviumnetworks dot com
@ 2008-04-22 22:59 ` drepper at redhat dot com
1 sibling, 0 replies; 4+ messages in thread
From: drepper at redhat dot com @ 2008-04-22 22:59 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2008-04-22 22:58 -------
That's not a supported architecture. It has to be handled in the ports
exclusively. We won't go down the rat hole and add support for ill-designed
ABIs like that.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|drepper at redhat dot com |roland at gnu dot org
Component|libc |ports
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug ports/6441] Value of slibdir changes after reconfigure for 64-bit targets
[not found] <bug-6441-131@http.sourceware.org/bugzilla/>
@ 2012-02-15 21:53 ` jsm28 at gcc dot gnu.org
0 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-02-15 21:53 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=6441
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu.org
AssignedTo|roland at gnu dot org |unassigned at sourceware
| |dot org
--- Comment #3 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-02-15 21:52:32 UTC ---
I don't see why this would be specific to MIPS and not appear on other
architectures such as x86_64. If it appears on x86_64 then this should be
marked a libc bug; otherwise it would be good to explain why it doesn't appear
on x86_64. In either case the patch should be resubmitted since even if it's
somehow ports-specific it may well make sense to fix it in libc.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-02-15 21:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-22 1:55 [Bug libc/6441] New: Value of slibdir changes after reconfigure for 64-bit targets anemet at caviumnetworks dot com
2008-04-22 1:56 ` [Bug libc/6441] " anemet at caviumnetworks dot com
2008-04-22 22:59 ` [Bug ports/6441] " drepper at redhat dot com
[not found] <bug-6441-131@http.sourceware.org/bugzilla/>
2012-02-15 21:53 ` jsm28 at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).