Libjava (gij) testting on the mainline

Andrew Pinski pinskia@physics.uc.edu
Wed Mar 1 13:13:00 GMT 2006


On Mar 1, 2006, at 6:48 AM, Andrew Haley wrote:

> Andrew Haley writes:
>> Andrew Pinski writes:
>>> With clean sources on x86_64-linux-gnu, I am getting almost all tests
>>> for running gij to fail.  Does anyone know what is going on here?
>>
>> I'll have a try now.
>
> You are right.  The error is
>
> lt-gij: relocation error:  
> /home/aph/gcc/trunk/build-x86_64-unknown-linux-gnu/x86_64-unknown- 
> linux-gnu/libjava/.libs/libgcj.so.7: symbol _Unwind_GetIPInfo, version  
> GCC_4.2.0 not defined in file libgcc_s.so.1 with link time reference
> Running `make install' fixes it.  :-(

That only fixed some of the failures.
The rest are like:
Exception in thread "main" java.lang.NoClassDefFoundError: bytebuffer
    at java.lang.Class.initializeClass (natClass.cc:691)
    at java.lang.Class.forName (Class.h:624)
    at gnu.java.lang.MainThread.run (MainThread.java:95)
Caused by: java.lang.VerifyError: verification failed at PC 3 in  
bytebuffer:main(([Ljava.lang.String;)V): incompatible type on stack
    at java.lang.Class.initializeClass (natClass.cc:685)
    ...2 more
FAIL: bytebuffer execution - gij test

And I just doubled checked to make sure I don't have CLASSPATH set.

-- Pinski



More information about the Java mailing list