Patch: Run JNI tests using interpreter
Bryce McKinlay
mckinlay@redhat.com
Fri May 7 16:34:00 GMT 2004
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
>
>
More information about the Java-patches
mailing list