public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug libgcj/56353] libgcj should be listed on command line for libjava.jni/invocation/PR16923.c Date: Fri, 15 Feb 2013 23:59:00 -0000 [thread overview] Message-ID: <bug-56353-8172-RGOG8nStVZ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-56353-8172@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56353 --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2013-02-15 23:59:30 UTC --- The command line is /export/gnu/import/git/gcc-test-intel64/bld/gcc/xgcc -B/export/gnu/import/git/gcc-test-intel64/bld/gcc/ /export/gnu/import/git/gcc-test-intel64/src-trunk/libjava/testsuite/libjava.jni/invocation/PR16923.c -I. -I.. -I/export/gnu/import/git/gcc-test-intel64/src-trunk/libjava/testsuite/libjava.jni -I/export/gnu/import/git/gcc-test-intel64/src-trunk/libjava/testsuite/../include -I/export/gnu/import/git/gcc-test-intel64/src-trunk/libjava/testsuite/../classpath/include -fdollars-in-identifiers -L/export/gnu/import/git/gcc-test-intel64/bld/x86_64-unknown-linux-gnu/32/libjava/.libs -ljvm -lm -m32 -o PR16923 ld finds libgcj.so via -ljvm. It should reject it: /usr/local/bin/ld: /export/gnu/import/git/gcc-test-intel64/bld/gcc/crtbegin.o: undefined reference to symbol '_Jv_RegisterClasses' /usr/local/bin/ld: note: '_Jv_RegisterClasses' is defined in DSO /export/gnu/import/git/gcc-test-intel64/bld/x86_64-unknown-linux-gnu/libjava/.libs/libgcj.so.14 so try adding it to the linker command line /export/gnu/import/git/gcc-test-intel64/bld/x86_64-unknown-linux-gnu/libjava/.libs/libgcj.so.14: could not read symbols: Invalid operation
prev parent reply other threads:[~2013-02-15 23:59 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-02-15 23:47 [Bug libgcj/56353] New: " hjl.tools at gmail dot com 2013-02-15 23:52 ` [Bug libgcj/56353] " pinskia at gcc dot gnu.org 2013-02-15 23:59 ` hjl.tools at gmail dot com [this message]
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-56353-8172-RGOG8nStVZ@http.gcc.gnu.org/bugzilla/ \ --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).