public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [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
2012-07-12 0:01 ` [Bug libc/6441] " pinskia at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ 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] 5+ messages in thread
* [Bug libc/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 ` [Bug ports/6441] Value of slibdir changes after reconfigure for 64-bit targets jsm28 at gcc dot gnu.org
@ 2012-07-12 0:01 ` pinskia at gcc dot gnu.org
2014-07-17 14:37 ` cvs-commit at gcc dot gnu.org
2015-08-27 22:03 ` [Bug build/6441] " jsm28 at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-07-12 0:01 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=6441
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |drepper.fsp at gmail dot
| |com
Component|ports |libc
Host|mips64-unknown-linux-gnu |mips64-unknown-linux-gnu,
| |x86_64-linux-gnu
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-07-12 00:01:18 UTC ---
Yes it can be reproduced on x86_64-linux-gnu.
--
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] 5+ messages in thread
* [Bug libc/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 ` [Bug ports/6441] Value of slibdir changes after reconfigure for 64-bit targets jsm28 at gcc dot gnu.org
2012-07-12 0:01 ` [Bug libc/6441] " pinskia at gcc dot gnu.org
@ 2014-07-17 14:37 ` cvs-commit at gcc dot gnu.org
2015-08-27 22:03 ` [Bug build/6441] " jsm28 at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-07-17 14:37 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=6441
--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via d95ffd4cfd1c277779ea960ed851ee667f1f8e96 (commit)
from 29c4f53e2a3d25290afd16baf38c05f0351eacb5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d95ffd4cfd1c277779ea960ed851ee667f1f8e96
commit d95ffd4cfd1c277779ea960ed851ee667f1f8e96
Author: Joseph Myers <joseph@codesourcery.com>
Date: Thu Jul 17 14:35:48 2014 +0000
Refactor handling of /lib64 etc. cases, move out of
sysdeps/gnu/configure.ac.
This patch continues removing architecture-specific cases from
non-architecture-specific files by moving the logic to use directories
such as /lib64 out of sysdeps/gnu/configure.ac.
A new macro LIBC_SLIBDIR_RTLDDIR is created that sysdeps configure
scripts can use to declare the library directories to be used; the
logic was previously duplicated in configure fragments for aarch64,
mips and x32 as well as in sysdeps/gnu/configure.ac. This macro is
used directly in sysdeps/gnu/configure.ac only to provide the /lib
default (the logic saying that with --prefix=/usr shared libraries go
in /lib not /usr/lib); the architecture cases formerly there are moved
into various new or existing configure.ac files. The new macro is
also used in the various architecture fragments that already had such
logic. In the x32 there was previously a configure fragment, but it
was a directly written one without a .ac file; now a .ac file is used
there instead to generate configure.
Tested x86_64 that the installed shared libraries, and the directory
structure of the installation, are unchanged by this patch.
There is an old bug report - bug 6441 - about library directories
changing after reconfiguring. If this is still applicable - and I
haven't attempted to confirm it or review the old patch pointed to in
that bug - then this patch should reduce the number of places needing
changing in any fix.
* aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
* sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
cases for individual architectures.
* sysdeps/gnu/configure: Regenerated.
* sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
LIBC_SLIBDIR_RTLDDIR.
* sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
* sysdeps/unix/sysv/linux/mips/configure.ac: Use
LIBC_SLIBDIR_RTLDDIR.
* sysdeps/unix/sysv/linux/mips/configure: Regenerated.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
LIBC_SLIBDIR_RTLDDIR.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
Regenerated.
* sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
file.
* sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
* sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
* sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
* sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 25 +++++++++
aclocal.m4 | 18 +++++++
sysdeps/gnu/configure | 34 +++++--------
sysdeps/gnu/configure.ac | 23 +--------
sysdeps/unix/sysv/linux/aarch64/configure | 18 +++---
sysdeps/unix/sysv/linux/aarch64/configure.ac | 13 +-----
sysdeps/unix/sysv/linux/mips/configure | 52 ++++++++++---------
sysdeps/unix/sysv/linux/mips/configure.ac | 34 +++----------
.../unix/sysv/linux/powerpc/powerpc64/configure | 13 +++++
.../unix/sysv/linux/powerpc/powerpc64/configure.ac | 2 +
sysdeps/unix/sysv/linux/s390/s390-64/configure | 15 ++++++
sysdeps/unix/sysv/linux/s390/s390-64/configure.ac | 4 ++
sysdeps/unix/sysv/linux/sparc/sparc64/configure | 15 ++++++
sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac | 4 ++
sysdeps/unix/sysv/linux/x86_64/64/configure | 15 ++++++
sysdeps/unix/sysv/linux/x86_64/64/configure.ac | 4 ++
sysdeps/unix/sysv/linux/x86_64/x32/configure | 29 +++++------
sysdeps/unix/sysv/linux/x86_64/x32/configure.ac | 6 ++
18 files changed, 192 insertions(+), 132 deletions(-)
create mode 100644 sysdeps/unix/sysv/linux/s390/s390-64/configure
create mode 100644 sysdeps/unix/sysv/linux/s390/s390-64/configure.ac
create mode 100644 sysdeps/unix/sysv/linux/sparc/sparc64/configure
create mode 100644 sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac
create mode 100644 sysdeps/unix/sysv/linux/x86_64/64/configure
create mode 100644 sysdeps/unix/sysv/linux/x86_64/64/configure.ac
create mode 100644 sysdeps/unix/sysv/linux/x86_64/x32/configure.ac
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug build/6441] Value of slibdir changes after reconfigure for 64-bit targets
[not found] <bug-6441-131@http.sourceware.org/bugzilla/>
` (2 preceding siblings ...)
2014-07-17 14:37 ` cvs-commit at gcc dot gnu.org
@ 2015-08-27 22:03 ` jsm28 at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-08-27 22:03 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=6441
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |carlos at redhat dot com
Component|libc |build
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [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 22:59 ` [Bug ports/6441] " drepper at redhat dot com
0 siblings, 1 reply; 5+ 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] 5+ 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: " anemet at caviumnetworks dot com
@ 2008-04-22 22:59 ` drepper at redhat dot com
0 siblings, 0 replies; 5+ 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] 5+ messages in thread
end of thread, other threads:[~2015-08-27 22:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-6441-131@http.sourceware.org/bugzilla/>
2012-02-15 21:53 ` [Bug ports/6441] Value of slibdir changes after reconfigure for 64-bit targets jsm28 at gcc dot gnu.org
2012-07-12 0:01 ` [Bug libc/6441] " pinskia at gcc dot gnu.org
2014-07-17 14:37 ` cvs-commit at gcc dot gnu.org
2015-08-27 22:03 ` [Bug build/6441] " jsm28 at gcc dot gnu.org
2008-04-22 1:55 [Bug libc/6441] New: " anemet at caviumnetworks dot com
2008-04-22 22:59 ` [Bug ports/6441] " drepper at redhat dot com
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).