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 libc/14376] glibc-2.16 strdup Illegal Instruction on sparc64


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.


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