public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "mrs at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/43086] PR16923 fails with Assertion failed: (class_id)
Date: Wed, 21 Apr 2010 18:39:00 -0000	[thread overview]
Message-ID: <20100421183930.19087.qmail@sourceware.org> (raw)
In-Reply-To: <bug-43086-11113@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from mrs at gcc dot gnu dot org  2010-04-21 18:39 -------
When I run it by hand, I get:

$ /Users/mrs/net/gcc-java/gcc/xgcc -B/Users/mrs/net/gcc-java/gcc/
/Users/mrs/net/gcc/libjava/testsuite/libjava.jni/invocation/PR16923.c  
-bind_at_load -multiply_defined suppress -I. -I..
-I/Users/mrs/net/gcc/libjava/testsuite/libjava.jni
-I/Users/mrs/net/gcc/libjava/testsuite/../include
-I/Users/mrs/net/gcc/libjava/testsuite/../classpath/include
-fdollars-in-identifiers
-L/Users/mrs/net/gcc-java/x86_64-apple-darwin10/./libjava/.libs -ljvm
-shared-libgcc -ldl -lgcj -L/opt/local/lib -liconv  -lm    -o PR16923
$ export
CLASSPATH=~/net/gcc/libjava/testsuite/libjava.jni/invocation/PR16923.jar
$ DYLD_LIBRARY_PATH=../.libs:../../libgcc:/opt/local/lib ./PR16923
optionReceived

on x86_64-apple-darwin10 so this would be just a simple matter of ensuring the
setting of DYLD_LIBRARY_PATH, CLASSPATH and compiling with -L/opt/local/lib.  I
suspect DYLD_LIBRARY_PATH and CLASSPATH  are already correct.  I'm hoping you
can confirm this incantation works for you.

I've filed PR43839 that covers getting -L added, which I hope resolves this
issue.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43086


  parent reply	other threads:[~2010-04-21 18:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-15 22:10 [Bug java/43086] New: " howarth at nitro dot med dot uc dot edu
2010-02-15 22:12 ` [Bug java/43086] " howarth at nitro dot med dot uc dot edu
2010-04-21 18:39 ` mrs at gcc dot gnu dot org [this message]
2010-04-21 19:02 ` mrs at gcc dot gnu dot org
2010-04-21 23:19 ` howarth at nitro dot med dot uc dot edu

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=20100421183930.19087.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: link
Be 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).