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/7074] mips n32 ldconfig can't produce the ld.so.cache that ld.so.1 expects


------- Additional Comments From r0bertz at gentoo dot org  2008-12-07 05:30 -------
sorry, the above patch is wrong. This one is correct:

--- ports/sysdeps/unix/sysv/linux/mips/readelflib.c.orig        2008-12-07
05:34:58.000000000 +0800
+++ ports/sysdeps/unix/sysv/linux/mips/readelflib.c     2008-12-07
05:35:12.000000000 +0800
@@ -43,7 +43,7 @@
                                file_contents, file_length);
 
       /* n32 libraries are always libc.so.6+.  */
-      if (ret && (elf_header->e_flags & EF_MIPS_ABI2) != 0)
+      if (!ret && (elf_header->e_flags & EF_MIPS_ABI2) != 0)
        *flag = FLAG_MIPS64_LIBN32|FLAG_ELF_LIBC6;
     }
   else


-- 


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

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