From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2466 invoked by alias); 20 Jul 2012 10:25:03 -0000 Received: (qmail 2452 invoked by uid 22791); 20 Jul 2012 10:25:02 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 20 Jul 2012 10:24:50 +0000 From: "jengelh at medozas dot de" To: glibc-bugs@sources.redhat.com Subject: [Bug libc/14376] New: glibc-2.16 strdup Illegal Instruction on sparc64 Date: Fri, 20 Jul 2012 10:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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 medozas dot de X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: 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-07/txt/msg00160.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14376 Bug #: 14376 Summary: glibc-2.16 strdup Illegal Instruction on sparc64 Product: glibc Version: 2.16 Status: NEW Severity: normal Priority: P2 Component: libc AssignedTo: unassigned@sourceware.org ReportedBy: jengelh@medozas.de CC: drepper.fsp@gmail.com Classification: Unclassified With glibc-2.16-75f0d3040a2c.tar.xz (openSUSE provided copy in openSUSE:Factory:Staging:Glibc/glibc), strdup has a problem. (This did not exist in glibc-2.16-75f0d3040a2c.tar.xz. Mini-case: ares:~/rpmbuild/BUILD/glibc-2.16/cc-base> cat strdup.c #include int main(void) { strdup("foo"); return 0; } ares:~/rpmbuild/BUILD/glibc-2.16/cc-base> gcc-4.7 strdup.c -o strdup -Wall ares:~/rpmbuild/BUILD/glibc-2.16/cc-base> ./strdup ares:~/rpmbuild/BUILD/glibc-2.16/cc-base> LC_ALL=C LANGUAGE=C /home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/elf/ld.so --library-path /home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/math:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/elf:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/dlfcn:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/nss:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/nis:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/rt:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/resolv:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/crypt:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/nptl ./strdup Illegal instruction (core dumped) I currently have no means to run gdb either when ld-2.16.so is use as interp because of some weirdo error. ares:~/rpmbuild/BUILD/glibc-2.16/cc-base> gdb elf/ld.so seCould not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] 'import site' failed; use -v for traceback Traceback (most recent call last): File "", line 27, in ImportError: No module named os.path GNU gdb (GDB) SUSE (7.1-4.1) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "sparc64-suse-linux". For bug reporting instructions, please see: ... Reading symbols from /home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/elf/ld.so...done. (gdb) set environment LD_LIBRARY_PATH /home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/math:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/elf:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/dlfcn:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/nss:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/nis:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/rt:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/resolv:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/crypt:/home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/nptl (gdb) r Starting program: /home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/elf/ld.so /bin/bash: error while loading shared libraries: /home/abuild/rpmbuild/BUILD/glibc-2.16/cc-base/libc.so.6: unexpected reloc type 0xf8 During startup program exited with code 127. -- 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.