[Bug libc/14376] glibc-2.16 strdup Illegal Instruction on sparc64

davem at davemloft dot net sourceware-bugzilla@sourceware.org
Fri Sep 28 04:25:00 GMT 2012


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.



More information about the Glibc-bugs mailing list