On 17/mar/2006, at 00:57, Andrew Pinski wrote:
Actually it looks like libffi is still not working as you no longer have eh info for x86-darwin. This is why all the gij tests fail.
I have implemented EH for Darwin/x86 and now much more tests pass: Test Run By sandro on Sun Mar 19 10:12:14 2006 Native configuration is i686-apple-darwin8.5.2 === libjava tests === Schedule of variations: unix Running target unixUsing /Users/sandro/staging/share/dejagnu/baseboards/unix.exp as board description file for target. Using /Users/sandro/staging/share/dejagnu/config/unix.exp as generic interface file for target. Using /Users/sandro/gcc-4.0.2/libjava/testsuite/config/default.exp as tool-and-target-specific interface file. Running /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.cni/ cni.exp ... Running /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.compile/ compile.exp ... Running /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.jacks/ jacks.exp ... Running /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.jar/ jar.exp ... Running /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.jni/ jni.exp ... Running /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.lang/ lang.exp ...
FAIL: Array_3 execution - gij test FAIL: Array_3 execution - gij test FAIL: PR218 execution - gij test FAIL: PR218 execution - gij test FAIL: Throw_2 execution - source compiled test FAIL: Throw_2 execution - gij test FAIL: Throw_2 execution - bytecode->native test FAIL: Throw_2 -O3 execution - source compiled test FAIL: Throw_2 execution - gij test FAIL: Throw_2 -O3 execution - bytecode->native testRunning /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.loader/ loader.exp ... Running /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.mauve/ mauve.exp ... Running /Users/sandro/gcc-4.0.2/libjava/testsuite/libjava.verify/ verify.exp ...
=== libjava Summary === # of expected passes 3794 # of unexpected failures 10 # of expected failures 14 # of untested testcases 26Here are the current patches needed to build gcc 4.0.2 with java support (note that boehm-gc needs to be updated to 6.7, patches are not included here).
Cheers, Sandro
gcc-top.diff
Description: Binary data
libffi.diff
Description: Binary data
libjava.diff
Description: Binary data