public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "thebohemian at gmx dot net" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug libgcj/24616] linking BC-compiled classes: NoClassDefFoundErrors should be deferred Date: Mon, 07 Nov 2005 12:51:00 -0000 [thread overview] Message-ID: <20051107125138.30407.qmail@sourceware.org> (raw) In-Reply-To: <bug-24616-10268@http.gcc.gnu.org/bugzilla/> ------- Comment #9 from thebohemian at gmx dot net 2005-11-07 12:51 ------- Ok, more details: With my patch applied I run the test application in lazylinker.tar.bz2. Set up the variable CLASSPATH to point to lib/java/lazylinker.jar, start gdb with gij, set a breakpoint at link.cc:743 and run the interpreter with "-Dgnu.gcj.precompiled.db.path=lazylinker.gcjdb test.linker.LazyLinker invokeStaticMethod". Then step into ffi_call. When it reaches the first 'call' instruction in the assembler code (SysV.S:55) it crashes. Here is a backtrace: #0 0xb6d2f4dc in memcpy () from /lib/tls/libc.so.6 #1 0xb79d788c in ffi_prep_args (stack=0xbff41224 "\200x\016", ecif=0xbff41258) at ../../../gcc/libffi/src/x86/ffi.c:108 #2 0xb79d7921 in ffi_call_SYSV () at ../../../gcc/libffi/src/x86/sysv.S:55 #3 0x00028f00 in ?? () #4 0x00000000 in ?? () #5 0x00000001 in ?? () #6 0x00000001 in ?? () #7 0xb7f45fb4 in ?? () from /lib/ld-linux.so.2 #8 0x000006f9 in ?? () #9 0x08057320 in ?? () #10 0xbff41300 in ?? () #11 0xbff412a0 in ?? () #12 0x08059e50 in ?? () #13 0x08059ec8 in ?? () #14 0xb6e1874e in test::linker::LazyLinker::main () from /home/rob/devel/test/lazy-linker/lib/bc/lazylinker.so #15 0xbff41488 in ?? () #16 0xb6e1826a in test.linker.LazyLinker.main(java.lang.String[]) () from /home/rob/devel/test/lazy-linker/lib/bc/lazylinker.so Previous frame inner to this frame (corrupt stack?) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24616
next prev parent reply other threads:[~2005-11-07 12:51 UTC|newest] Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-11-01 16:20 [Bug libgcj/24616] New: " thebohemian at gmx dot net 2005-11-01 16:22 ` [Bug libgcj/24616] " tromey at gcc dot gnu dot org 2005-11-01 19:32 ` thebohemian at gmx dot net 2005-11-01 19:38 ` thebohemian at gmx dot net 2005-11-02 11:09 ` thebohemian at gmx dot net 2005-11-05 14:57 ` thebohemian at gmx dot net 2005-11-05 15:59 ` thebohemian at gmx dot net 2005-11-06 16:15 ` aph at gcc dot gnu dot org 2005-11-07 10:34 ` thebohemian at gmx dot net 2005-11-07 10:40 ` aph at gcc dot gnu dot org 2005-11-07 12:51 ` thebohemian at gmx dot net [this message] 2005-11-07 14:47 ` green at redhat dot com 2005-11-07 14:52 ` aph at gcc dot gnu dot org 2005-11-07 15:06 ` green at redhat dot com 2005-11-07 20:03 ` thebohemian at gmx dot net 2005-11-08 10:15 ` thebohemian at gmx dot net 2005-11-08 12:54 ` green at redhat dot com 2005-11-09 15:18 ` thebohemian at gmx dot net 2005-11-09 15:22 ` thebohemian at gmx dot net 2005-11-09 15:28 ` aph at gcc dot gnu dot org 2005-11-16 16:35 ` thebohemian at gmx dot net 2005-11-16 16:51 ` thebohemian at gmx dot net 2005-11-16 17:20 ` aph at gcc dot gnu dot org 2005-11-17 12:39 ` thebohemian at gmx dot net 2005-11-17 13:46 ` aph at gcc dot gnu dot org 2005-12-02 17:43 ` aph at gcc dot gnu dot org 2005-12-05 11:34 ` thebohemian at gmx dot net 2005-12-05 11:52 ` thebohemian at gmx dot net 2005-12-05 13:52 ` [Bug libgcj/24616] linking non-existing " thebohemian at gmx dot net 2006-01-31 16:45 ` thebohemian at gmx dot net 2006-02-01 13:45 ` thebohemian at gmx dot net
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=20051107125138.30407.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@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).