This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

java/1415: Bootstrapping of current GCC CVS version fails in libjava



>Number:         1415
>Category:       java
>Synopsis:       Bootstrapping of current GCC CVS version fails in libjava
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tromey
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 20 12:19:40 PST 2000
>Closed-Date:    Fri Dec 15 18:57:34 PST 2000
>Last-Modified:  Fri Dec 15 19:00:00 PST 2000
>Originator:     aj@suse.de
>Release:        unknown-1.0
>Organization:
>Environment:
i686-linux-gnu with glibc 2.2
>Description:
Bootstrapping the current CVS gcc version fails with:

/builds/gcc/gcc-2.97/gcc/gcj -B/builds/gcc/gcc-2.97/i686-pc-linux-gnu/libjava/ -B/builds/gcc/gcc-2.97/gcc/ -C -g -classpath /builds/gcc/gcc-2.97/i686-pc-linux-gnu/libjava:/src/cvs/gcc/libjava -d /builds/gcc/gcc-2.97/i686-pc-linux-gnu/libjava java/lang/Boolean.java
java/lang/Boolean.java:25: Blank static final variable `FALSE' may not have be initialized.
     public static final Boolean FALSE = new Boolean(false);
                                 ^
java/lang/Boolean.java:26: Blank static final variable `TRUE' may not have be initialized.
     public static final Boolean TRUE = new Boolean(true);
                                 ^
2 errors
make[2]: *** [libgcj.jar] Error 1

I configured with:
/cvs/gcc/configure --prefix=/opt/gcc-2.97.test --enable-shared \
         --with-gnu-as --with-gnu-ld --disable-nls 

and then run make bootstrap.
>How-To-Repeat:
Just bootstrap gcc CVS.
>Fix:

>Release-Note:

>Audit-Trail:

Formerly PR gcj/384


From: Bryce McKinlay <bryce@albatross.co.nz>
To: aj@suse.de
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: libgcj/384: Bootstrapping of current GCC CVS version fails in 
 libjava
Date: Wed, 13 Dec 2000 22:07:42 +1300

 aj@suse.de wrote:
 
 > java/lang/Boolean.java:25: Blank static final variable `FALSE' may not have be initialized.
 >      public static final Boolean FALSE = new Boolean(false);
 >                                  ^
 > java/lang/Boolean.java:26: Blank static final variable `TRUE' may not have be initialized.
 >      public static final Boolean TRUE = new Boolean(true);
 >                                  ^
 > 2 errors
 
 This is a known (and extremely annoying) bug. Right now, bootstrapping simply does not produce a working jc1. The workaround is to build gcc/gcj with an older compiler, like egcs 1.1.2, gcc 2.95, or RH's gcc 2.96.
 
 regards
 
   [ bryce ]
 
 
State-Changed-From-To: open->closed
State-Changed-By: bryce
State-Changed-When: Fri Dec 15 18:57:34 2000
State-Changed-Why:
    Alex checked in the fix for this yesterday:
    
    http://gcc.gnu.org/ml/gcc/2000-12/msg00495.html

From: bryce@albatross.co.nz
To: aj@suse.de, java-gnats@sourceware.cygnus.com, tromey@cygnus.com
Cc:  
Subject: Re: gcj/384
Date: 16 Dec 2000 02:57:34 -0000

 Synopsis: Bootstrapping of current GCC CVS version fails in libjava
 
 State-Changed-From-To: open->closed
 State-Changed-By: bryce
 State-Changed-When: Fri Dec 15 18:57:34 2000
 State-Changed-Why:
     Alex checked in the fix for this yesterday:
     
     http://gcc.gnu.org/ml/gcc/2000-12/msg00495.html
 
 http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=384&database=java
>Unformatted:



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]