From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19113 invoked by alias); 21 Apr 2010 18:39:30 -0000 Received: (qmail 19088 invoked by uid 48); 21 Apr 2010 18:39:30 -0000 Date: Wed, 21 Apr 2010 18:39:00 -0000 Message-ID: <20100421183930.19087.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug java/43086] PR16923 fails with Assertion failed: (class_id) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "mrs at gcc dot gnu dot org" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2010-q2/txt/msg00010.txt.bz2 ------- 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