This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/14376] glibc-2.16 strdup Illegal Instruction on sparc64
- From: "davem at davemloft dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Fri, 28 Sep 2012 04:25:29 +0000
- Subject: [Bug libc/14376] glibc-2.16 strdup Illegal Instruction on sparc64
- Auto-submitted: auto-generated
- References: <bug-14376-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14376
--- Comment #10 from David S. Miller <davem at davemloft dot net> 2012-09-28 04:25:29 UTC ---
Ok I've been able to analyze this.
The problem stems from SUSE building glibc with --enable-bind-now
That's why I've never seen this.
The bug is specific to sparc64's ELF support in glibc. We
mis-handle resolving JMP_IREL plt entries in dl-machine.h,
specifically we should not pass reloc->r_addend in as the
'high' argument to sparc64_fixup_plt(). Instead it should
always be passed as zero, exactly how we do it in dl-irel.h
--
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.