This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: Run JNI tests using interpreter


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]