This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: PATCH: Improve Java build times
- From: Per Bothner <per at bothner dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: Mark Mitchell <mark at codesourcery dot com>, gcc-patches at gcc dot gnu dot org, java at gcc dot gnu dot org
- Date: Sat, 01 Jun 2002 12:57:12 -0700
- Subject: Re: PATCH: Improve Java build times
- References: <35590000.1021860924@warlock.codesourcery.com> <3CE91436.10707@bothner.com> <3CEA7EC4.6000807@bothner.com>
Per Bothner wrote:
> Well, I tried. The Java files compile cleanly, but Kawa fails
> as soon as I use it to compile the Scheme files. I doubt this
> has anything with your patch, but I cannot say for sure.
Using a gcc trunk checked out yesertday evening, I successfully
built Kawa, and it passed its testsuite.
> Since the testsuite has some failures,
However, I still see the libjava testsuite failures:
FAIL: calls run
FAIL: final_method run
FAIL: findclass run
FAIL: invoke run
FAIL: martin run
FAIL: noclass run
FAIL: overload run
FAIL: register run
FAIL: simple_int run
FAIL: throwit run
FAIL: virtual run
FAIL: field run
WARNING: program timed out.
FAIL: cxxtest run
These seem to be:
Exception in thread "main" java.lang.UnsatisfiedLinkError: findclass:
file not found
at 0x402b4696: java.lang.Error.Error(java.lang.String)
(/home/bothner/GNU/linux-gcc/i686-pc-linux-gnu//libjava/.libs/libgcj.so.3)
at 0x402b69c6: java.lang.LinkageError.LinkageError(java.lang.String)
(/home/bothner/GNU/linux-gcc/i686-pc-linux-gnu//libjava/.libs/libgcj.so.3)
at 0x402c6826:
java.lang.UnsatisfiedLinkError.UnsatisfiedLinkError(java.lang.String)
(/home/bothner/GNU/linux-gcc/i686-pc-linux-gnu//libjava/.libs/libgcj.so.3)
at 0x402a370a: java.lang.Runtime._load(java.lang.String, boolean)
(/home/bothner/GNU/linux-gcc/i686-pc-linux-gnu//libjava/.libs/libgcj.so.3)
at 0x402b9979: java.lang.Runtime.loadLibrary(java.lang.String)
(/home/bothner/GNU/linux-gcc/i686-pc-linux-gnu//libjava/.libs/libgcj.so.3)
at 0x402c3496: java.lang.System.loadLibrary(java.lang.String)
(/home/bothner/GNU/linux-gcc/i686-pc-linux-gnu//libjava/.libs/libgcj.so.3)
at 0x08048dd3: findclass::__U3c_clinit__U3e_()
(/home/bothner/GNU/gcc/libjava/testsuite/libjava.jni/findclass.java:1)
at 0x4029dfd9: java.lang.Class.initializeClass()
(/home/bothner/GNU/linux-gcc/i686-pc-linux-gnu//libjava/.libs/libgcj.so.3)
at 0x4029f97c: _Jv_InitClass
(/home/bothner/GNU/linux-gcc/i686-pc-linux-gnu//libjava/.libs/libgcj.so.3)
at 0x08048d03: findclass::main(JArray<java::lang::String*>*)
(/home/bothner/GNU/gcc/libjava/testsuite/libjava.jni/findclass.java:13)
at 0x4029aa28: gnu.gcj.runtime.FirstThread.call_main()
(/home/bothner/GNU/linux-gcc/i686-pc-linux-gnu//libjava/.libs/libgcj.so.3)
at 0x40323f38: gnu.gcj.runtime.FirstThread.run()
(/home/bothner/GNU/linux-gcc/i686-pc-linux-gnu//libjava/.libs/libgcj.so.3)
at 0x402a737c: _Jv_ThreadRun(java.lang.Thread)
(/home/bothner/GNU/linux-gcc/i686-pc-linux-gnu//libjava/.libs/libgcj.so.3)
at 0x4026a5bc: _Jv_RunMain(java.lang.Class, byte const, int, byte
const, boolean)
(/home/bothner/GNU/linux-gcc/i686-pc-linux-gnu//libjava/.libs/libgcj.so.3)
at 0x4026a6dd: JvRunMain
(/home/bothner/GNU/linux-gcc/i686-pc-linux-gnu//libjava/.libs/libgcj.so.3)
at 0x08048c64: main (/tmp/ccp7Qqwo.i:12)
at 0x42017499: ?? (??:0)
at 0x08048b91: _start (??:0)
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/