This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ports/4863] New: MIPS/Linux: ld.so.cache unusable for (n)64/n32


Hello,

 The "libc-ports" list does not seem to attract anyone, so I am putting
the solution for the problem here so that it does not get lost in the
long term.

 It has been the case with glibc 2.4 and it appears to me that it still
is.  When built for the (n)64 or presumably the n32 ABI, ld.so is unable
to use the cache as it checks for the wrong o32 ID.  Here is a fix.
Tested for (n)64.

2007-07-23  Maciej W. Rozycki  <macro@linux-mips.org>

        * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
        New macros for the (n)64 and n32 ABIs.
        (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.

 Please apply.

  Maciej

-- 
           Summary: MIPS/Linux: ld.so.cache unusable for (n)64/n32
           Product: glibc
           Version: 2.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ports
        AssignedTo: roland at gnu dot org
        ReportedBy: macro at linux-mips dot org
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: mips64el-unknown-linux-gnu
  GCC host triplet: mips64el-unknown-linux-gnu
GCC target triplet: mips64el-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=4863

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]