Need help compiling libgcj on Solaris for benchmark

Alexandre Petit-Bianco apbianco@cygnus.com
Mon Jun 7 11:38:00 GMT 1999


Drury Tim writes:

> Since the build failed using "gmake", when I run "gmake install" it
> tries to finish building libgcj, which won't build because of that
> internal error.

I understand and I've seen that before.

I strongly recommend that you keep gcj and libgcj in sync, if it's
practical for you. A (quick) CVS update of the gcc/java/ directory
should, at least, help you a lot.

If for any reasons you can't do it, please apply this temporary patch:

Index: jcf-parse.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/java/jcf-parse.c,v
retrieving revision 1.31
diff -u -p -r1.31 jcf-parse.c
--- jcf-parse.c 1999/04/21 13:49:42     1.31
+++ jcf-parse.c 1999/06/07 18:30:45
@@ -779,6 +779,8 @@ yyparse ()
   char *list = strdup (input_filename), *next;
   tree node, current_file_list = NULL_TREE;
 
+  printf ("[%s]\n", input_filename);
+
   do 
     {
       next = strchr (list, '&');

And let us know where jc1 crashes during the libgcj built. It might
help us providing you with a specific answer to your problem.

./A


More information about the Java mailing list