From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15423 invoked by alias); 28 Sep 2012 04:25:57 -0000 Received: (qmail 15291 invoked by uid 48); 28 Sep 2012 04:25:33 -0000 From: "davem at davemloft dot net" To: glibc-bugs@sources.redhat.com Subject: [Bug libc/14376] glibc-2.16 strdup Illegal Instruction on sparc64 Date: Fri, 28 Sep 2012 04:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: davem at davemloft dot net X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: davem at davemloft dot net X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-09/txt/msg00266.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14376 --- Comment #10 from David S. Miller 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.