[3.3] [powerpc-linux] libjava testsuite failures with --enable-debug

Matthias Klose doko@cs.tu-berlin.de
Wed Apr 30 16:58:00 GMT 2003


Configuring with --enable-debug on powerpc-linux shows about 230
additional failures in the testsuite, all of them of the form:

    ASSERTION FAILURE: ../../../src/libffi/src/powerpc/ffi.c line 118

Looking at libffi/include/ffi_common.h, the assertion triggers, if the
macro argument is not properly aligned.

ffi.c line 118:
 /* Check that everything starts aligned properly.  */
  FFI_ASSERT(((unsigned)(char *)stack & 0xF) == 0);

Configuring without --enable-debug results in an empty FFI_ASSERT
definition.

There seem to be two bugs:

- the meaning of --enable-debug is not well defined. For libstdc++
  an extra debugging library is built, for libffi, only one library
  with debugging information is built.

- On powerpc-linux, the assertion triggers for a wrong reason, or
  it reveals an alignment problem.

Append are the test-summery of libjava configure with --enable-debug.

	Matthias


		=== libjava tests ===


Running target unix
FAIL: calls run
FAIL: martin run
FAIL: throwit run
FAIL: ArrayStore execution - gij test
FAIL: ArrayStore execution - gij test
FAIL: ArrayStore2 execution - gij test
FAIL: ArrayStore2 execution - gij test
FAIL: Array_1 execution - gij test
FAIL: Array_1 execution - gij test
FAIL: Array_2 execution - gij test
FAIL: Array_2 execution - gij test
FAIL: Array_3 -O execution - source compiled test
FAIL: Class_1 execution - gij test
FAIL: Class_1 execution - gij test
FAIL: Divide_1 execution - gij test
FAIL: Divide_1 execution - gij test
FAIL: Float_1 execution - gij test
FAIL: Float_1 execution - gij test
FAIL: G19990301_01 execution - gij test
FAIL: G19990301_01 execution - gij test
FAIL: G19990302_02 execution - gij test
FAIL: G19990302_02 execution - gij test
FAIL: G19990303_01 execution - gij test
FAIL: G19990303_01 execution - gij test
FAIL: G19990304_01 execution - gij test
FAIL: G19990304_01 execution - gij test
FAIL: G19990310_01 execution - gij test
FAIL: G19990310_01 execution - gij test
FAIL: II execution - gij test
FAIL: II execution - gij test
FAIL: InterfaceDispatch execution - gij test
FAIL: InterfaceDispatch execution - gij test
FAIL: InvokeReturn execution - source compiled test
FAIL: InvokeReturn execution - gij test
FAIL: InvokeReturn execution - bytecode->native test
FAIL: InvokeReturn -O execution - source compiled test
FAIL: InvokeReturn execution - gij test
FAIL: InvokeReturn -O execution - bytecode->native test
FAIL: Invoke_1 execution - gij test
FAIL: Invoke_1 execution - gij test
FAIL: Invoke_2 execution - gij test
FAIL: Invoke_2 execution - gij test
FAIL: KeepInline execution - gij test
FAIL: KeepInline execution - gij test
FAIL: Matrix4f execution - gij test
FAIL: Matrix4f execution - gij test
FAIL: N19990310_02 execution - gij test
FAIL: N19990310_02 execution - gij test
FAIL: N19990310_3 execution - gij test
FAIL: N19990310_3 execution - gij test
FAIL: N19990310_4 execution - gij test
FAIL: N19990310_4 execution - gij test
FAIL: N19990310_5 execution - gij test
FAIL: N19990310_5 execution - gij test
FAIL: PR141 execution - gij test
FAIL: PR141 execution - gij test
FAIL: PR160 execution - gij test
FAIL: PR160 execution - gij test
FAIL: PR162 execution - gij test
FAIL: PR162 execution - gij test
FAIL: PR218 execution - gij test
FAIL: PR218 execution - gij test
FAIL: PR242 execution - gij test
FAIL: PR242 execution - gij test
FAIL: PR260 execution - gij test
FAIL: PR260 execution - gij test
FAIL: PR3731 execution - gij test
FAIL: PR3731 execution - gij test
FAIL: PR5057 execution - gij test
FAIL: PR5057 execution - gij test
FAIL: PR5057_2 execution - gij test
FAIL: PR5057_2 execution - gij test
FAIL: PR6085 execution - gij test
FAIL: PR6085 execution - gij test
FAIL: PR6204 execution - gij test
FAIL: PR6204 execution - gij test
FAIL: PR6729 execution - gij test
FAIL: PR6729 execution - gij test
FAIL: Shazam execution - gij test
FAIL: Shazam execution - gij test
FAIL: StaticConstructor execution - gij test
FAIL: StaticConstructor execution - gij test
FAIL: StringBuffer_1 execution - gij test
FAIL: StringBuffer_1 execution - gij test
FAIL: SyncTest execution - gij test
FAIL: SyncTest execution - gij test
FAIL: Synch execution - gij test
FAIL: Synch execution - gij test
FAIL: TLtest execution - gij test
FAIL: TLtest execution - gij test
FAIL: TestProxy execution - source compiled test
FAIL: TestProxy execution - gij test
FAIL: TestProxy execution - bytecode->native test
FAIL: TestProxy -O execution - source compiled test
FAIL: TestProxy execution - gij test
FAIL: TestProxy -O execution - bytecode->native test
FAIL: Thread_Alive execution - gij test
FAIL: Thread_Alive execution - gij test
FAIL: Thread_Interrupt execution - gij test
FAIL: Thread_Interrupt execution - gij test
FAIL: Thread_Join execution - gij test
FAIL: Thread_Join execution - gij test
FAIL: Thread_Monitor execution - gij test
FAIL: Thread_Monitor execution - gij test
FAIL: Thread_Sleep execution - gij test
FAIL: Thread_Sleep execution - gij test
FAIL: Thread_Wait execution - gij test
FAIL: Thread_Wait execution - gij test
FAIL: Thread_Wait_2 execution - gij test
FAIL: Thread_Wait_2 execution - gij test
FAIL: Thread_Wait_Interrupt execution - gij test
FAIL: Thread_Wait_Interrupt execution - gij test
FAIL: Throw_2 execution - gij test
FAIL: Throw_2 execution - gij test
FAIL: anfi execution - gij test
FAIL: anfi execution - gij test
FAIL: anon execution - gij test
FAIL: anon execution - gij test
FAIL: anon2 execution - gij test
FAIL: anon2 execution - gij test
FAIL: anon3 execution - gij test
FAIL: anon3 execution - gij test
FAIL: anon4 execution - gij test
FAIL: anon4 execution - gij test
FAIL: anon_ctor_itf_arg execution - gij test
FAIL: anon_ctor_itf_arg execution - gij test
FAIL: anonarray execution - gij test
FAIL: anonarray execution - gij test
FAIL: anonarray2 execution - gij test
FAIL: anonarray2 execution - gij test
FAIL: direct_read execution - gij test
FAIL: direct_read execution - gij test
FAIL: direct_write execution - gij test
FAIL: direct_write execution - gij test
FAIL: err1 execution - gij test
FAIL: err1 execution - gij test
FAIL: err11 execution - gij test
FAIL: err11 execution - gij test
FAIL: err12 execution - gij test
FAIL: err12 execution - gij test
FAIL: err2 execution - gij test
FAIL: err2 execution - gij test
FAIL: err3 execution - gij test
FAIL: err3 execution - gij test
FAIL: err4 execution - gij test
FAIL: err4 execution - gij test
FAIL: err5 execution - gij test
FAIL: err5 execution - gij test
FAIL: err8 execution - gij test
FAIL: err8 execution - gij test
FAIL: err9 execution - gij test
FAIL: err9 execution - gij test
FAIL: final_inner execution - gij test
FAIL: final_inner execution - gij test
FAIL: final_int execution - gij test
FAIL: final_int execution - gij test
FAIL: final_static_and_friend execution - gij test
FAIL: final_static_and_friend execution - gij test
FAIL: indirect execution - gij test
FAIL: indirect execution - gij test
FAIL: indirect_read execution - gij test
FAIL: indirect_read execution - gij test
FAIL: indirect_write execution - gij test
FAIL: indirect_write execution - gij test
FAIL: initexc execution - gij test
FAIL: initexc execution - gij test
FAIL: initfield execution - gij test
FAIL: initfield execution - gij test
FAIL: inline execution - gij test
FAIL: inline execution - gij test
FAIL: inner1 execution - gij test
FAIL: inner1 execution - gij test
FAIL: inner2 execution - gij test
FAIL: inner2 execution - gij test
FAIL: inner3 execution - gij test
FAIL: inner3 execution - gij test
FAIL: inner4 execution - gij test
FAIL: inner4 execution - gij test
FAIL: inner_array execution - gij test
FAIL: inner_array execution - gij test
FAIL: inner_interface execution - gij test
FAIL: inner_interface execution - gij test
FAIL: instance execution - gij test
FAIL: instance execution - gij test
FAIL: instinit execution - gij test
FAIL: instinit execution - gij test
FAIL: instinit2 execution - gij test
FAIL: instinit2 execution - gij test
FAIL: invoke_from_inner execution - gij test
FAIL: invoke_from_inner execution - gij test
FAIL: invokethrow execution - gij test
FAIL: invokethrow execution - gij test
FAIL: klass execution - gij test
FAIL: klass execution - gij test
FAIL: multiple_finit execution - gij test
FAIL: multiple_finit execution - gij test
FAIL: nested_with_ctor execution - gij test
FAIL: nested_with_ctor execution - gij test
FAIL: override execution - gij test
FAIL: override execution - gij test
FAIL: pr133 execution - gij test
FAIL: pr133 execution - gij test
FAIL: pr179 execution - gij test
FAIL: pr179 execution - gij test
FAIL: pr6388 execution - gij test
FAIL: pr6388 execution - gij test
FAIL: pr83 execution - gij test
FAIL: pr83 execution - gij test
FAIL: pr8415 execution - gij test
FAIL: pr8415 execution - gij test
FAIL: pr8823 execution - gij test
FAIL: pr8823 execution - gij test
FAIL: pr8945 execution - gij test
FAIL: pr8945 execution - gij test
FAIL: private_direct_read execution - gij test
FAIL: private_direct_read execution - gij test
FAIL: search_outer execution - gij test
FAIL: search_outer execution - gij test
FAIL: stringconst execution - gij test
FAIL: stringconst execution - gij test
FAIL: stringconst2 execution - gij test
FAIL: stringconst2 execution - gij test
FAIL: stub execution - gij test
FAIL: stub execution - gij test
FAIL: test_long execution - gij test
FAIL: test_long execution - gij test
FAIL: tmi execution - gij test
FAIL: tmi execution - gij test
FAIL: tp execution - gij test
FAIL: tp execution - gij test
FAIL: update_outer execution - gij test
FAIL: update_outer execution - gij test
FAIL: utilTest execution - gij test
FAIL: utilTest execution - gij test
FAIL: /home/doko/3.3/gcc-3.3-3.3ds6/build/powerpc-linux/libjava/testsuite/TestEarlyGC.exe execution - /home/doko/3.3/gcc-3.3-3.3ds6/build/powerpc-linux/libjava/testsuite/TestEarlyGC.exe

		=== libjava Summary ===

# of expected passes		2476
# of unexpected failures	235
# of expected failures		16
# of untested testcases		247



More information about the Java mailing list