Problems cross-compiling

Anthony Green green@cygnus.com
Mon Nov 29 15:09:00 GMT 1999


Lincoln wrote:
> If I edit the spec file and remove the jc1 entry from the spec file,
> the make process starts compiling ByteToUnicode.java and just
> hangs. The jc1 process will eat 97% cpu time until I kill it. Also
> in /tmp a .s file is created which just stays at 0 bytes in size.
>> Any ideas as to what might be happening?

Yes - you need this patch:
---- cut here ------------------------------------------------------------
Recent changes to the language-independent exception-handling
framework necessitate this minor change to the Java front-end.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
1999年11月24日 Mark Mitchell <mark@codesourcery.com>
	* except.c (emit_handlers): Zero catch_clauses after emitting them.
Index: except.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/except.c,v
retrieving revision 1.13
diff -c -p -r1.13 except.c
*** except.c	1999年08月10日 16:58:12	1.13
--- except.c	1999年11月25日 02:16:23
*************** emit_handlers ()
*** 393,398 ****
--- 393,399 ----
 emit_jump (funcend);
 
 emit_insns (catch_clauses);
+ catch_clauses = NULL_RTX;
 expand_leftover_cleanups ();
 
 emit_label (funcend);
---- cut here ------------------------------------------------------------
AG
-- 
Anthony Green Cygnus Solutions
 Sunnyvale, California


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /