PATCH: Improve Java build times

Per Bothner per@bothner.com
Sat Jun 1 12:55:00 GMT 2002


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/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /