[PATCH/RFA] libjava: SH support

kaz Kojima kkojima@rr.iij4u.or.jp
Thu Jul 25 03:15:00 GMT 2002


Tom Tromey <tromey@redhat.com> wrote:
> I don't think it needs to delay this patch, but could you post a list
> of the failing tests?  Sometimes we can tell something useful just
> based on that.

OK. Here is a list of the unexpected failures:

FAIL: PR1343 compilation from bytecode
FAIL: PR1343 -O compilation from bytecode
Exception in thread "main" FAIL: calls run
Exception in thread "main" FAIL: cxxtest run
Exception in thread "main" FAIL: field run
Exception in thread "main" FAIL: final_method run
Exception in thread "main" FAIL: findclass run
Exception in thread "main" FAIL: invoke run
Exception in thread "main" FAIL: martin run
Exception in thread "main" FAIL: noclass run
Exception in thread "main" FAIL: overload run
Exception in thread "main" FAIL: register run
Exception in thread "main" FAIL: simple_int run
Exception in thread "main" FAIL: throwit run
Exception in thread "main" FAIL: virtual run
FAIL: ArrayStore execution - gij test
FAIL: ArrayStore execution - gij test
FAIL: ArrayStore2 execution - gij test
FAIL: ArrayStore2 execution - gij test
FAIL: Array_3 execution - gij test
FAIL: Array_3 compilation from bytecode
FAIL: Array_3 execution - gij test
FAIL: Array_3 -O compilation from bytecode
FAIL: Divide_1 execution - gij test
FAIL: Divide_1 execution - gij test
FAIL: Final output - gij test
FAIL: Final output - 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: G19990303_02 execution - gij test
FAIL: G19990303_02 execution - gij test
FAIL: G19990304_01 execution - gij test
FAIL: G19990304_01 execution - gij test
FAIL: InterfaceDispatch execution - gij test
FAIL: InterfaceDispatch execution - gij test
FAIL: Invoke_1 output - gij test
FAIL: Invoke_1 output - gij test
FAIL: PR141 output - gij test
FAIL: PR141 output - gij test
FAIL: PR218 execution - gij test
FAIL: PR218 execution - gij test
FAIL: StringBuffer_1 execution - gij test
FAIL: StringBuffer_1 execution - gij test
FAIL: TLtest compilation from bytecode
FAIL: TLtest -O compilation from bytecode
FAIL: Throw_2 execution - source compiled test
FAIL: Throw_2 execution - gij test
FAIL: Throw_2 execution - bytecode->native test
FAIL: Throw_2 -O execution - source compiled test
FAIL: Throw_2 execution - gij test
FAIL: Throw_2 -O execution - bytecode->native test
FAIL: inner4 output - gij test
FAIL: inner4 output - gij test
FAIL: instinit2 execution - gij test
FAIL: instinit2 execution - gij test
FAIL: invokethrow execution - gij test
FAIL: invokethrow execution - gij test
FAIL: negzero output - gij test
FAIL: negzero output - gij test
FAIL: pr184 execution - gij test
FAIL: pr184 execution - gij test
FAIL: pr83 execution - gij test
FAIL: pr83 execution - gij test

13 jni tests seems to fail with a non-java issue. I'll look them
and gij errors more closely. 

>> 2002-07-25  Kaz Kojima  <kkojima@gcc.gnu.org>
>> 	* configure.host: Add SH support.
>>         * sysdep/sh/locks.h: New file.
> 
> The configure.host part looks fine to me.
> Someone else will have to say whether the SH assembly code is ok.
> (Maybe that person is you, I don't know.)

This assembly code is a copy&paste form GNU libc. Anyway, I'd
like to wait the approval by SH experts.
 
> Could you write a news entry for java/index.html explaining that this
> port has been done?

Is this ok?

Index: index.html
===================================================================
RCS file: /cvsroot/gcc/wwwdocs/htdocs/java/index.html,v
retrieving revision 1.109
diff -u -r1.109 index.html
--- index.html	22 Jul 2002 03:59:02 -0000	1.109
+++ index.html	25 Jul 2002 10:07:25 -0000
@@ -74,6 +74,13 @@
 <!-- News entries start here -->
 
 <tr><td valign="top">
+<b>July 25, 2002</b>
+</td><td>
+Kaz Kojima has implemented the necessary support in FFI and libjava
+to get libgcj running on SH-3/4.
+</td></tr>
+
+<tr><td valign="top">
 <b>July 19, 2002</b>
 </td><td>
 Bo Thorsen, SuSE Labs, has implemented the necessary support in FFI,

Thanks a lot,
	kaz



More information about the Java-patches mailing list