From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26403 invoked by alias); 17 Sep 2012 09:58:52 -0000 Received: (qmail 26392 invoked by uid 22791); 17 Sep 2012 09:58:49 -0000 X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED,TW_BJ X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 Sep 2012 09:58:36 +0000 From: "jengelh at inai dot de" To: glibc-bugs@sources.redhat.com Subject: [Bug libc/14376] glibc-2.16 strdup Illegal Instruction on sparc64 Date: Mon, 17 Sep 2012 09:58: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: jengelh at inai dot de 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/msg00138.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14376 --- Comment #6 from Jan Engelhardt 2012-09-17 09:58:22 UTC --- When linking the test program with the new libc statically (it entails a long command line), it runs. strdup.o, strdup.os themselves check out, but libc.so does not. objdump has this to say - *ABS*...: 0000000000095ee0 <__strdup>: 95ee0: 9d e3 bf 50 save %sp, -176, %sp 95ee4: 90 10 00 18 mov %i0, %o0 95ee8: 40 00 00 ae call 961a0 95eec: b2 10 00 18 mov %i0, %i1 95ef0: b4 02 20 01 add %o0, 1, %i2 95ef4: 40 07 55 33 call 26b3c0 95ef8: 90 10 00 1a mov %i2, %o0 95efc: 02 c2 00 04 brz,pn %o0, 95f0c <__strdup+0x2c> 95f00: 01 00 00 00 nop 95f04: 40 07 55 67 call 26b4a0 <*ABS*+0x99600@plt> 95f08: 91 e8 00 08 restore %g0, %o0, %o0 95f0c: 81 cf e0 08 rett %i7 + 8 95f10: 90 10 20 00 clr %o0 95f14: 30 68 00 03 b,a %xcc, 95f20 <__strndup> 95f18: 01 00 00 00 nop 95f1c: 01 00 00 00 nop That does not seem right at all. -- 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.