This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: Run JNI tests using interpreter
- From: Bryce McKinlay <mckinlay at redhat dot com>
- To: Ranjit Mathew <rmathew at gmail dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: Fri, 07 May 2004 10:40:13 -0400
- Subject: Re: Patch: Run JNI tests using interpreter
- References: <40996CDA.90204@redhat.com> <409B2A7B.20501@gmail.com>
Strange - I don't see this on my system. The patch looks correct, though
- we shouldn't be linking the binary directly against the JNI libs. I'll
check in your fix shortly if you didn't already.
Regards
Bryce
Ranjit Mathew wrote:
Hi Bryce,
There's a problem with this patch:
--------------------------------- 8< -----------------------------------
Executing on host: /home/ranmath/src/gcc/build/i686-pc-linux-gnu/libjava/testsuite/../libtool --silent --tag=GCJ --mode=link /home/ranmath/src/gcc/build/gcc/gcj -B/home/ranmath/src/gcc/build/gcc/ --encoding=UTF-8 -B/home/ranmath/src/gcc/build/i686-pc-linux-gnu//libjava/ /home/ranmath/src/gcc/gcc-20040507/libjava/testsuite/libjava.jni/cxxtest.java -no-install -fjni -L. -lcxxtest --main=cxxtest -g -L/home/ranmath/src/gcc/build/i686-pc-linux-gnu//libjava/.libs -lm -o cxxtest (timeout = 300)
/usr/bin/ld: warning: libstdc++.so.6, needed by /home/ranmath/src/gcc/build/i686-pc-linux-gnu/libjava/testsuite/libcxxtest.so, not found (try using -rpath or -rpath-link)
/home/ranmath/src/gcc/build/i686-pc-linux-gnu/libjava/testsuite/libcxxtest.so: undefined reference to `__gxx_personality_v0@CXXABI_1.3'
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/usr/bin/ld: warning: libstdc++.so.6, needed by /home/ranmath/src/gcc/build/i686-pc-linux-gnu/libjava/testsuite/libcxxtest.so, not found (try using -rpath or -rpath-link)
/home/ranmath/src/gcc/build/i686-pc-linux-gnu/libjava/testsuite/libcxxtest.so: undefined reference to `__gxx_personality_v0@CXXABI_1.3'
collect2: ld returned 1 exit status