This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug ports/7074] mips n32 ldconfig can't produce the ld.so.cache that ld.so.1 expects
- From: "r0bertz at gentoo dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 7 Dec 2008 05:30:34 -0000
- Subject: [Bug ports/7074] mips n32 ldconfig can't produce the ld.so.cache that ld.so.1 expects
- References: <20081207051827.7074.robert.zhangle@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.