This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
About updating your compiler.
- To: java-discuss at sourceware dot cygnus dot com
- Subject: About updating your compiler.
- From: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- Date: Thu, 2 Mar 2000 00:59:04 -0800
- Reply-to: apbianco at redhat dot com
It's not a good idea, at least tonight.
Well, it looks like some today's type infrastructure changes in the
gcc/ are breaking gcj (you won't be able to compile anything with it,
it'll bomb right away.) I'm guessing a patch would look like what's
below.
In the mean time, refrain from updating the java/ directory. If you
update, the build will break because of some changes in the tree node
structure. Updating gcc/ will let you build gcj, but gcj won't run,
unless you use the patch -- I think (I can't test it, my jc1 bombs
because I'm trying to fix PR #108 :-)
Thinks should get sorted out tomorrow.
./A
Index: decl.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/decl.c,v
retrieving revision 1.50
diff -u -p -r1.50 decl.c
--- decl.c 2000/02/29 23:33:50 1.50
+++ decl.c 2000/03/02 08:50:55
@@ -458,6 +458,7 @@ init_decl_processing ()
error_mark_node = make_node (ERROR_MARK);
TREE_TYPE (error_mark_node) = error_mark_node;
+ initialize_sizetypes ();
/* Create sizetype first - needed for other types. */
sizetype = make_unsigned_type (POINTER_SIZE);
size_zero_node = build_int_2 (0, 0);