This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Problems cross-compiling
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