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 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

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).