java/8138: Compiler chokes with -O3, "fatal error reading class for second time"

adam@xwt.org adam@xwt.org
Thu Oct 3 23:26:00 GMT 2002


>Number:         8138
>Category:       java
>Synopsis:       Compiler chokes with -O3, "fatal error reading class for second time"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 03 23:26:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Adam Megacz
>Release:        unknown-1.0
>Organization:
>Environment:
Linux
>Description:
gnu/gcj/runtime/StringBuffer.java:0: fatal error: reading class gnu.gcj.runtime.StringBuffer for the second time from /usr/local/gcc/share/java/libgcj-3.3.jar
compilation terminated.
>How-To-Repeat:
Try this; the first compile will fail if you used gcc 2.95 to build your compiler.  If you used gcc 3.x, the second will fail.

wget http://www.megacz.com/src.tgz
tar xvzf src.tgz
gcj -fCLASSPATH= -Isrc/ -O3 -c src/org/xwt/HTTP.java -o HTTP.o
gcj -fCLASSPATH= -Isrc/ -O3 -c src/org/xwt/Trap.java -o Trap.o
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-prs mailing list