public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jengelh at medozas dot de" <sourceware-bugzilla@sourceware.org> 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 [thread overview] Message-ID: <bug-14376-131@http.sourceware.org/bugzilla/> (raw) 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 <string.h> 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 <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] 'import site' failed; use -v for traceback Traceback (most recent call last): File "<string>", line 27, in <module> 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 <http://gnu.org/licenses/gpl.html> 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: <http://www.gnu.org/software/gdb/bugs/>... 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.
next reply other threads:[~2012-07-20 10:25 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-07-20 10:25 jengelh at medozas dot de [this message] 2012-07-20 10:26 ` [Bug libc/14376] " jengelh at medozas dot de 2012-07-20 10:35 ` aj at suse dot de 2012-07-20 10:43 ` aj at suse dot de 2012-07-24 1:38 ` davem at davemloft dot net 2012-07-24 1:43 ` carlos_odonell at mentor dot com 2012-09-17 8:15 ` jengelh at inai dot de 2012-09-17 8:24 ` jengelh at inai dot de 2012-09-17 9:58 ` jengelh at inai dot de 2012-09-17 16:18 ` davem at davemloft dot net 2012-09-17 16:29 ` davem at davemloft dot net 2012-09-17 21:15 ` jengelh at inai dot de 2012-09-28 4:25 ` davem at davemloft dot net 2012-09-28 7:01 ` jengelh at inai dot de 2012-09-28 7:20 ` davem at davemloft dot net 2014-06-17 18:57 ` fweimer at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-14376-131@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sources.redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).