[PATCH] Build libgcj, libgcj-tools, and libffi as shared libraries on Windows

Dave Korn dave.korn.cygwin@googlemail.com
Sat Apr 11 11:20:00 GMT 2009


Andrew Haley wrote:

>>   I'm just putting this through a bootstrap at the moment.  There's not going
>> to be much to test because none of this used to be built on Cygwin at all
>> before, so it can hardly regress.  If it bootstraps and builds nice working
>> DLLs, OK for HEAD?
> 
> I'm going to ask for libgcj test results: we need to know if it's fit for
> use.

  Certainly.  Will be many many hours before my bootstrap get to them, but
I'll report back.  As a guideline to what to expect, I get these results on
4.3.2 using a similar patch; maybe you could let me know if you see any
patterns in there that would indicate fundamental brokenness.



		=== libjava tests ===


Running target unix
FAIL: TestClosureGC run
FAIL:
/gnu/gcc/package/gcc4-4.3.2-2/src/gcc-4.3.3/libjava/testsuite/libjava.jar/TestClosureGC.jar
execution - gij test
FAIL:
/gnu/gcc/package/gcc4-4.3.2-2/src/gcc-4.3.3/libjava/testsuite/libjava.jar/simple.jar
execution - gij test
FAIL: PR15133 run
FAIL: PR18116 run
FAIL: PR28178 run
FAIL: bytebuffer run
FAIL: calls run
FAIL: cxxtest run
FAIL: directbuffer run
FAIL: field run
FAIL: final_method run
FAIL: findclass run
FAIL: findclass2 run
FAIL: iface run
FAIL: init run
FAIL: invoke run
FAIL: jniutf run
FAIL: martin run
FAIL: noclass run
FAIL: overload run
FAIL: pr11951 run
FAIL: pr18278 run
FAIL: pr23739 run
FAIL: register run
FAIL: register2 run
FAIL: simple_int run
FAIL: throwit run
FAIL: virtual run
FAIL: PR16923 run
FAIL: pr29812 execution - gij test
FAIL: getargssize run
FAIL: getlocalvartable run
FAIL: getstacktrace run
FAIL: ArrayStore execution - source compiled test
FAIL: ArrayStore -findirect-dispatch execution - source compiled test
FAIL: ArrayStore -O3 execution - source compiled test
FAIL: ArrayStore -O3 -findirect-dispatch execution - source compiled test
FAIL: ArrayStore2 execution - source compiled test
FAIL: ArrayStore2 -findirect-dispatch execution - source compiled test
FAIL: ArrayStore2 -O3 execution - source compiled test
FAIL: ArrayStore2 -O3 -findirect-dispatch execution - source compiled test
FAIL: Array_3 execution - source compiled test
FAIL: Array_3 -findirect-dispatch execution - source compiled test
FAIL: Array_3 -O3 execution - source compiled test
FAIL: Array_3 -O3 -findirect-dispatch execution - source compiled test
FAIL: Divide_1 execution - source compiled test
FAIL: Divide_1 -findirect-dispatch execution - source compiled test
FAIL: Divide_1 -O3 execution - source compiled test
FAIL: Divide_1 -O3 -findirect-dispatch execution - source compiled test
FAIL: Divide_2 execution - source compiled test
FAIL: Divide_2 -findirect-dispatch execution - source compiled test
FAIL: Divide_2 -O3 execution - source compiled test
FAIL: Divide_2 -O3 -findirect-dispatch execution - source compiled test
FAIL: ExtraClassLoader execution - source compiled test
FAIL: ExtraClassLoader -findirect-dispatch execution - source compiled test
FAIL: ExtraClassLoader -O3 execution - source compiled test
FAIL: ExtraClassLoader -O3 -findirect-dispatch execution - source compiled test
FAIL: FileHandleGcTest -O3 -findirect-dispatch execution - source compiled test
FAIL: Final execution - source compiled test
FAIL: Final -findirect-dispatch execution - source compiled test
FAIL: Final -O3 execution - source compiled test
FAIL: Final -O3 -findirect-dispatch execution - source compiled test
FAIL: G19990302_02 execution - source compiled test
FAIL: G19990302_02 -findirect-dispatch execution - source compiled test
FAIL: G19990302_02 -O3 execution - source compiled test
FAIL: G19990302_02 -O3 -findirect-dispatch execution - source compiled test
FAIL: G19990303_01 execution - source compiled test
FAIL: G19990303_01 -findirect-dispatch execution - source compiled test
FAIL: G19990303_01 -O3 execution - source compiled test
FAIL: G19990303_01 -O3 -findirect-dispatch execution - source compiled test
FAIL: G19990303_02 execution - source compiled test
FAIL: G19990303_02 -findirect-dispatch execution - source compiled test
FAIL: G19990303_02 -O3 execution - source compiled test
FAIL: G19990303_02 -O3 -findirect-dispatch execution - source compiled test
FAIL: G19990304_01 execution - source compiled test
FAIL: G19990304_01 -findirect-dispatch execution - source compiled test
FAIL: G19990304_01 -O3 execution - source compiled test
FAIL: G19990304_01 -O3 -findirect-dispatch execution - source compiled test
FAIL: InterfaceDispatch execution - source compiled test
FAIL: InterfaceDispatch -findirect-dispatch execution - source compiled test
FAIL: InterfaceDispatch -O3 execution - source compiled test
FAIL: InterfaceDispatch -O3 -findirect-dispatch execution - source compiled test
FAIL: Invoke_1 execution - source compiled test
FAIL: Invoke_1 -findirect-dispatch execution - source compiled test
FAIL: Invoke_1 -O3 execution - source compiled test
FAIL: Invoke_1 -O3 -findirect-dispatch execution - source compiled test
FAIL: PR12416 execution - source compiled test
FAIL: PR12416 -O3 execution - source compiled test
FAIL: PR218 execution - source compiled test
FAIL: PR218 -findirect-dispatch execution - source compiled test
FAIL: PR218 -O3 execution - source compiled test
FAIL: PR218 -O3 -findirect-dispatch execution - source compiled test
FAIL: PR26858 execution - source compiled test
FAIL: PR26858 -findirect-dispatch execution - source compiled test
FAIL: PR26858 -O3 execution - source compiled test
FAIL: PR26858 -O3 -findirect-dispatch execution - source compiled test
FAIL: PR36252 execution - source compiled test
FAIL: PR36252 -findirect-dispatch execution - source compiled test
FAIL: PR36252 -O3 execution - source compiled test
FAIL: PR36252 -O3 -findirect-dispatch execution - source compiled test
FAIL: Process_2 output - source compiled test
WARNING: program timed out.
FAIL: Process_2 -findirect-dispatch execution - source compiled test
FAIL: Process_2 -O3 compilation from source
FAIL: Process_2 -O3 -findirect-dispatch output - source compiled test
FAIL: Process_3 output - source compiled test
FAIL: Process_3 -findirect-dispatch output - source compiled test
FAIL: Process_3 -O3 output - source compiled test
FAIL: Process_3 -O3 -findirect-dispatch output - source compiled test
FAIL: Process_4 output - source compiled test
FAIL: Process_4 -O3 -findirect-dispatch output - source compiled test
FAIL: Process_5 execution - source compiled test
FAIL: Process_5 -findirect-dispatch execution - source compiled test
FAIL: Process_5 -O3 execution - source compiled test
FAIL: Process_5 -O3 -findirect-dispatch execution - source compiled test
FAIL: Process_6 execution - source compiled test
FAIL: Process_6 -findirect-dispatch execution - source compiled test
FAIL: Process_6 -O3 execution - source compiled test
FAIL: Process_6 -O3 -findirect-dispatch execution - source compiled test
FAIL: Process_7 output - source compiled test
FAIL: Process_7 -findirect-dispatch output - source compiled test
FAIL: Process_7 -O3 output - source compiled test
FAIL: Process_7 -O3 -findirect-dispatch output - source compiled test
FAIL: ProxyTest execution - source compiled test
FAIL: ProxyTest -O3 execution - source compiled test
FAIL: StackTrace2 execution - source compiled test
FAIL: StackTrace2 -findirect-dispatch execution - source compiled test
FAIL: StackTrace2 -O3 execution - source compiled test
FAIL: StackTrace2 -O3 -findirect-dispatch execution - source compiled test
FAIL: StringBuffer_1 execution - source compiled test
FAIL: StringBuffer_1 -findirect-dispatch execution - source compiled test
FAIL: StringBuffer_1 -O3 execution - source compiled test
FAIL: StringBuffer_1 -O3 -findirect-dispatch execution - source compiled test
FAIL: StringBuffer_overflow execution - source compiled test
FAIL: StringBuffer_overflow -findirect-dispatch execution - source compiled test
FAIL: StringBuffer_overflow -O3 execution - source compiled test
FAIL: StringBuffer_overflow -O3 -findirect-dispatch execution - source
compiled test
FAIL: String_overflow execution - source compiled test
FAIL: String_overflow -findirect-dispatch execution - source compiled test
FAIL: String_overflow -O3 execution - source compiled test
FAIL: String_overflow -O3 -findirect-dispatch execution - source compiled test
FAIL: Thread_Alive execution - source compiled test
FAIL: Thread_Alive -findirect-dispatch execution - source compiled test
FAIL: Thread_Alive -O3 execution - source compiled test
FAIL: Thread_Alive -O3 -findirect-dispatch execution - source compiled test
FAIL: Thread_Interrupt execution - source compiled test
FAIL: Thread_Interrupt -findirect-dispatch execution - source compiled test
FAIL: Thread_Interrupt -O3 execution - source compiled test
FAIL: Thread_Interrupt -O3 -findirect-dispatch execution - source compiled test
FAIL: Thread_Wait_2 execution - source compiled test
FAIL: Thread_Wait_2 -findirect-dispatch execution - source compiled test
FAIL: Thread_Wait_2 -O3 execution - source compiled test
FAIL: Thread_Wait_2 -O3 -findirect-dispatch execution - source compiled test
FAIL: Thread_Wait_Interrupt execution - source compiled test
FAIL: Thread_Wait_Interrupt -findirect-dispatch execution - source compiled test
FAIL: Thread_Wait_Interrupt -O3 execution - source compiled test
FAIL: Thread_Wait_Interrupt -O3 -findirect-dispatch execution - source
compiled test
FAIL: Throw_1 execution - source compiled test
FAIL: Throw_1 -findirect-dispatch execution - source compiled test
FAIL: Throw_1 -O3 execution - source compiled test
FAIL: Throw_1 -O3 -findirect-dispatch execution - source compiled test
FAIL: Throw_2 execution - source compiled test
FAIL: Throw_2 -findirect-dispatch execution - source compiled test
FAIL: Throw_2 -O3 execution - source compiled test
FAIL: Throw_2 -O3 -findirect-dispatch execution - source compiled test
FAIL: Throw_3 execution - source compiled test
FAIL: Throw_3 -findirect-dispatch execution - source compiled test
FAIL: Throw_3 -O3 execution - source compiled test
FAIL: Throw_3 -O3 -findirect-dispatch execution - source compiled test
FAIL: WalkerTest execution - source compiled test
FAIL: WalkerTest -O3 execution - source compiled test
FAIL: assign2 execution - source compiled test
FAIL: assign2 -findirect-dispatch execution - source compiled test
FAIL: assign2 -O3 execution - source compiled test
FAIL: assign2 -O3 -findirect-dispatch execution - source compiled test
FAIL: initexc execution - source compiled test
FAIL: initexc -findirect-dispatch execution - source compiled test
FAIL: initexc -O3 execution - source compiled test
FAIL: initexc -O3 -findirect-dispatch execution - source compiled test
FAIL: instinit2 execution - source compiled test
FAIL: instinit2 -findirect-dispatch execution - source compiled test
FAIL: instinit2 -O3 execution - source compiled test
FAIL: instinit2 -O3 -findirect-dispatch execution - source compiled test
FAIL: invokethrow execution - source compiled test
FAIL: invokethrow -findirect-dispatch execution - source compiled test
FAIL: invokethrow -O3 execution - source compiled test
FAIL: invokethrow -O3 -findirect-dispatch execution - source compiled test
FAIL: newarray_overflow execution - source compiled test
FAIL: newarray_overflow -findirect-dispatch execution - source compiled test
FAIL: newarray_overflow -O3 execution - source compiled test
FAIL: newarray_overflow -O3 -findirect-dispatch execution - source compiled test
FAIL: pr184 execution - source compiled test
FAIL: pr184 -findirect-dispatch execution - source compiled test
FAIL: pr184 -O3 execution - source compiled test
FAIL: pr184 -O3 -findirect-dispatch execution - source compiled test
FAIL: pr21785 execution - source compiled test
FAIL: pr21785 -O3 execution - source compiled test
FAIL: pr83 execution - source compiled test
FAIL: pr83 -findirect-dispatch execution - source compiled test
FAIL: pr83 -O3 execution - source compiled test
FAIL: pr83 -O3 -findirect-dispatch execution - source compiled test
FAIL: stacktrace execution - source compiled test
FAIL: stacktrace -findirect-dispatch execution - source compiled test
FAIL: stacktrace -O3 execution - source compiled test
FAIL: stacktrace -O3 -findirect-dispatch execution - source compiled test

		=== libjava Summary ===

# of expected passes		2142
# of unexpected failures	205
# of untested testcases		194



		=== libffi tests ===


Running target unix
FAIL: libffi.call/cls_1_1byte.c output pattern test, is 12 178: 190
FAIL: libffi.call/cls_2byte.c output pattern test, is 12 127 1 13: 13 140
FAIL: libffi.call/return_sc.c execution test
FAIL: libffi.call/struct5.c execution test
FAIL: libffi.call/cls_1_1byte.c output pattern test, is 12 178: 190
FAIL: libffi.call/cls_2byte.c output pattern test, is 12 127 1 13: 13 140
FAIL: libffi.call/return_sc.c execution test
FAIL: libffi.call/struct5.c execution test
FAIL: libffi.call/cls_1_1byte.c output pattern test, is 12 178: 190
FAIL: libffi.call/cls_2byte.c output pattern test, is 12 127 1 13: 13 140
FAIL: libffi.call/return_sc.c execution test
FAIL: libffi.call/struct5.c execution test
FAIL: libffi.call/cls_1_1byte.c output pattern test, is 12 178: 190
FAIL: libffi.call/cls_2byte.c output pattern test, is 12 127 1 13: 13 140
FAIL: libffi.call/struct5.c execution test
FAIL: libffi.call/cls_12byte.c output pattern test, is 7 4 9 1 5 3: 8 9 12
FAIL: libffi.call/cls_16byte.c output pattern test, is 7 8 9 1 9 3: 8 17 12
FAIL: libffi.call/cls_18byte.c output pattern test, is 1 127 126 3 4 125 124
5: 5 252 250 8
FAIL: libffi.call/cls_19byte.c output pattern test, is 1 127 126 3 120 4 125
124 5 119: 5 252 250 8 239
FAIL: libffi.call/cls_1_1byte.c output pattern test, is 12 178: 190
FAIL: libffi.call/cls_20byte.c output pattern test, is 1 2 3 4 5 7: 5 7 10
FAIL: libffi.call/cls_20byte1.c output pattern test, is 1 2 3 4 5 7: 5 7 10
FAIL: libffi.call/cls_24byte.c output pattern test, is 9 2 6 5 1 2 3 7 4 5 7 9
8 6 1 9: 22 15 17 25
FAIL: libffi.call/cls_2byte.c output pattern test, is 12 127 1 13: 13 140
FAIL: libffi.call/cls_3_1byte.c output pattern test, is 12 13 14 178 179 180:
190 192 194
FAIL: libffi.call/cls_5_1_byte.c output pattern test, is 127 120 1 3 4 12 128
9 3 4: 139 248 10 6 8
FAIL: libffi.call/cls_5byte.c output pattern test, is 127 120 1 12 128 9: 139
248 10
FAIL: libffi.call/cls_64byte.c output pattern test, is 22 15 17 25 6 13 19 18
FAIL: libffi.call/cls_6_1_byte.c output pattern test, is 127 120 1 3 4 5 12
128 9 3 4 5: 139 248 10 6 8 10
FAIL: libffi.call/cls_6byte.c output pattern test, is 127 120 1 128 12 128 9
127: 139 248 10 255
FAIL: libffi.call/cls_7_1_byte.c output pattern test, is 127 120 1 3 4 5 6 12
128 9 3 4 5 6: 139 248 10 6 8 10 12
FAIL: libffi.call/cls_9byte1.c output pattern test, is 7 8 1 9: 8 17
FAIL: libffi.call/cls_9byte2.c output pattern test, is 7 8 1 9: 8 17
FAIL: libffi.call/cls_align_double.c output pattern test, is 12 4951 127 1
9320 13: 13 14271 140
FAIL: libffi.call/cls_align_float.c output pattern test, is 12 4951 127 1 9320
13: 13 14271 140
FAIL: libffi.call/cls_align_longdouble.c output pattern test, is 12 4951 127 1
9320 13: 13 14271 140
FAIL: libffi.call/cls_align_pointer.c output pattern test, is 12 4951 127 1
9320 13: 13 14271 140
FAIL: libffi.call/cls_align_sint16.c output pattern test, is 12 4951 127 1
9320 13: 13 14271 140
FAIL: libffi.call/cls_align_sint32.c output pattern test, is 12 4951 127 1
9320 13: 13 14271 140
FAIL: libffi.call/cls_align_sint64.c output pattern test, is 12 4951 127 1
9320 13: 13 14271 140
FAIL: libffi.call/cls_align_uint16.c output pattern test, is 12 4951 127 1
9320 13: 13 14271 140
FAIL: libffi.call/cls_align_uint32.c output pattern test, is 12 4951 127 1
9320 13: 13 14271 140
FAIL: libffi.call/cls_align_uint64.c output pattern test, is 12 4951 127 1
9320 13: 13 14271 140
FAIL: libffi.call/nested_struct.c execution test
FAIL: libffi.call/nested_struct1.c execution test
FAIL: libffi.call/nested_struct10.c execution test
FAIL: libffi.call/nested_struct2.c execution test
FAIL: libffi.call/nested_struct3.c execution test
FAIL: libffi.call/nested_struct4.c execution test
FAIL: libffi.call/nested_struct5.c execution test
FAIL: libffi.call/nested_struct6.c execution test
FAIL: libffi.call/nested_struct7.c execution test
FAIL: libffi.call/nested_struct8.c execution test
FAIL: libffi.call/nested_struct9.c execution test
FAIL: libffi.call/problem1.c output pattern test, is 1 2 3 1 2 3: 2 4 6
FAIL: libffi.call/return_sc.c execution test
FAIL: libffi.call/struct5.c execution test
FAIL: libffi.special/unwindtest.cc execution test
FAIL: libffi.special/unwindtest_ffi_call.cc execution test
FAIL: libffi.special/unwindtest.cc execution test
FAIL: libffi.special/unwindtest_ffi_call.cc execution test
FAIL: libffi.special/unwindtest.cc execution test
FAIL: libffi.special/unwindtest_ffi_call.cc execution test
FAIL: libffi.special/unwindtest.cc execution test
FAIL: libffi.special/unwindtest_ffi_call.cc execution test

		=== libffi Summary ===

# of expected passes		1325
# of unexpected failures	65


    cheers,
      DaveK



More information about the Java-patches mailing list