public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/48097] New: new Throw_2 failures in libjava under Xcode 4.0 Date: Sat, 12 Mar 2011 21:28:00 -0000 [thread overview] Message-ID: <bug-48097-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48097 Summary: new Throw_2 failures in libjava under Xcode 4.0 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned@gcc.gnu.org ReportedBy: howarth@nitro.med.uc.edu The libjava testsuite exhibits four new execution failures for Throw_2 when Xcode 4.0 is installed... FAIL: Throw_2 execution - source compiled test FAIL: Throw_2 -findirect-dispatch execution - source compiled test FAIL: Throw_2 -O3 execution - source compiled test FAIL: Throw_2 -O3 -findirect-dispatch execution - source compiled test These are not present when Xcode 3.2.5 is used for cctools. These fail as follows... [MacPro:x86_64-apple-darwin10.7.0/libjava/testsuite] root# /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/libjava/testsuite/../libtool --silent --tag=GCJ --mode=link /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./gcc/gcj -B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/libjava/ -B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./gcc/ -B/sw/lib/gcc4.6/x86_64-apple-darwin10.7.0/bin/ -B/sw/lib/gcc4.6/x86_64-apple-darwin10.7.0/lib/ -isystem /sw/lib/gcc4.6/x86_64-apple-darwin10.7.0/include -isystem /sw/lib/gcc4.6/x86_64-apple-darwin10.7.0/sys-include --encoding=UTF-8 -B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/libjava/testsuite/../ /sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20110311/libjava/testsuite/libjava.lang/Throw_2.jar -w -bind_at_load -multiply_defined suppress -Wl,-allow_stack_execute --main=Throw_2 -g -L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/./libjava/.libs -lm -m64 -o /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/libjava/testsuite/Throw_2.exe [MacPro:x86_64-apple-darwin10.7.0/libjava/testsuite] root# ./Throw_2.exe 1 Abort It is interesting that the gdb from Xcode 4.0 doesn't like this executable... [MacPro:x86_64-apple-darwin10.7.0/libjava/testsuite] root# gdb ./Throw_2.exe GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .... warning: Could not find object file "/sw/src/fink.build/libiconv-1.12-4/libiconv-1.12/lib/.libs/iconv.o" - no debug information available for "./iconv.c". warning: Could not find object file "/sw/src/fink.build/libiconv-1.12-4/libiconv-1.12/lib/.libs/localcharset.o" - no debug information available for "./../libcharset/lib/localcharset.c". warning: Could not find object file "/sw/src/fink.build/libiconv-1.12-4/libiconv-1.12/lib/.libs/relocatable.o" - no debug information available for "./relocatable.c". .. done gdb stack crawl at point of internal error: 0 gdb-i386-apple-darwin 0x000000010010a10a internal_vproblem + 308 1 gdb-i386-apple-darwin 0x000000010010a2e4 internal_verror + 27 2 gdb-i386-apple-darwin 0x000000010010a382 align_down + 0 3 gdb-i386-apple-darwin 0x00000001000b4426 find_partial_die_in_comp_unit + 88 4 gdb-i386-apple-darwin 0x00000001000bff8b find_partial_die + 628 5 gdb-i386-apple-darwin 0x00000001000bffd8 fixup_partial_die + 55 6 gdb-i386-apple-darwin 0x00000001000c06cd scan_partial_symbols + 58 7 gdb-i386-apple-darwin 0x00000001000c15a9 dwarf2_build_psymtabs + 3006 8 gdb-i386-apple-darwin 0x000000010014e1e0 macho_symfile_read + 299 9 gdb-i386-apple-darwin 0x000000010004fe18 syms_from_objfile + 1403 10 gdb-i386-apple-darwin 0x00000001000508bb symbol_file_add_with_addrs_or_offsets_using_objfile + 780 11 gdb-i386-apple-darwin 0x0000000100050872 symbol_file_add_with_addrs_or_offsets_using_objfile + 707 12 gdb-i386-apple-darwin 0x0000000100050b69 symbol_file_add_name_with_addrs_or_offsets + 119 13 gdb-i386-apple-darwin 0x0000000100051031 symbol_file_add_main_1 + 207 14 gdb-i386-apple-darwin 0x0000000100073333 catch_command_errors + 65 /SourceCache/gdb/gdb-1518/src/gdb/dwarf2read.c:8388: internal-error: could not find partial DIE in cache A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) n (gdb) r Starting program: /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/libjava/testsuite/Throw_2.exe Reading symbols for shared libraries . done Reading symbols for shared libraries ...gdb stack crawl at point of internal error: 0 gdb-i386-apple-darwin 0x000000010010a10a internal_vproblem + 308 1 gdb-i386-apple-darwin 0x000000010010a2e4 internal_verror + 27 2 gdb-i386-apple-darwin 0x000000010010a382 align_down + 0 3 gdb-i386-apple-darwin 0x00000001000b4426 find_partial_die_in_comp_unit + 88 4 gdb-i386-apple-darwin 0x00000001000bff8b find_partial_die + 628 5 gdb-i386-apple-darwin 0x00000001000bffd8 fixup_partial_die + 55 6 gdb-i386-apple-darwin 0x00000001000c06cd scan_partial_symbols + 58 7 gdb-i386-apple-darwin 0x00000001000c15a9 dwarf2_build_psymtabs + 3006 8 gdb-i386-apple-darwin 0x000000010014e1e0 macho_symfile_read + 299 9 gdb-i386-apple-darwin 0x000000010004fe18 syms_from_objfile + 1403 10 gdb-i386-apple-darwin 0x00000001000508bb symbol_file_add_with_addrs_or_offsets_using_objfile + 780 11 gdb-i386-apple-darwin 0x0000000100050872 symbol_file_add_with_addrs_or_offsets_using_objfile + 707 12 gdb-i386-apple-darwin 0x0000000100051240 symbol_file_add_bfd_helper + 84 13 gdb-i386-apple-darwin 0x00000001000733b6 catch_errors + 70 14 gdb-i386-apple-darwin 0x000000010004d59a symbol_file_add_bfd_safe + 187 /SourceCache/gdb/gdb-1518/src/gdb/dwarf2read.c:8388: internal-error: could not find partial DIE in cache A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) n .warning: Could not find object file "/sw/src/fink.build/libiconv-1.12-4/libiconv-1.12/lib/.libs/iconv.o" - no debug information available for "./iconv.c". warning: Could not find object file "/sw/src/fink.build/libiconv-1.12-4/libiconv-1.12/lib/.libs/localcharset.o" - no debug information available for "./../libcharset/lib/localcharset.c". warning: Could not find object file "/sw/src/fink.build/libiconv-1.12-4/libiconv-1.12/lib/.libs/relocatable.o" - no debug information available for "./relocatable.c". ... done 1 Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000014 _ZN4java4lang6String6lengthEJiv (this=0x0) at String.java:451 451 return count; (gdb) bt #0 _ZN4java4lang6String6lengthEJiv (this=0x0) at String.java:451 #1 0x0000000100072ca9 in java::lang::VMDouble::parseDouble (str=0x0) at ../../../gcc-4.6-20110311/libjava/java/lang/natVMDouble.cc:165 #2 0x00000001004391ba in _ZN4java4lang6Double11parseDoubleEJdPNS0_6StringE (str=0x0) at Double.java:348 #3 0x000000010006695e in gnu::java::lang::MainThread::call_main (this=0x1000021f8) at ../../../gcc-4.6-20110311/libjava/gnu/java/lang/natMainThread.cc:54 Previous frame inner to this frame (gdb could not unwind past this frame) (gdb)
next reply other threads:[~2011-03-12 21:28 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-03-12 21:28 howarth at nitro dot med.uc.edu [this message] 2011-03-12 21:35 ` [Bug target/48097] " howarth at nitro dot med.uc.edu 2011-03-12 21:37 ` howarth at nitro dot med.uc.edu 2011-03-17 20:18 ` howarth at nitro dot med.uc.edu 2011-03-18 0:45 ` howarth at nitro dot med.uc.edu 2011-03-18 8:18 ` jakub at gcc dot gnu.org 2011-03-18 8:35 ` iains at gcc dot gnu.org 2011-03-18 8:55 ` jakub at gcc dot gnu.org 2011-03-18 17:48 ` howarth at nitro dot med.uc.edu 2012-02-26 8:15 ` howarth at nitro dot med.uc.edu 2013-09-14 15:47 ` iains at gcc dot gnu.org 2013-09-16 14:38 ` howarth at nitro dot med.uc.edu 2021-02-28 15:35 ` [Bug target/48097] gcc sometimes generates code that uses the buggy libgcc_s unwinder on darwin (originally exposed by Throw_2 failures in libjava testsuite under Xcode 4.0) egallager at gcc dot gnu.org 2021-03-01 19:37 ` cvs-commit at gcc dot gnu.org 2021-03-21 23:52 ` cvs-commit at gcc dot gnu.org 2021-05-01 13:08 ` cvs-commit at gcc dot gnu.org 2021-08-27 14:38 ` iains at gcc dot gnu.org
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-48097-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /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).