This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
java/8138: Compiler chokes with -O3, "fatal error reading class for second time"
- From: adam at xwt dot org
- To: gcc-gnats at gcc dot gnu dot org
- Date: 4 Oct 2002 06:22:37 -0000
- Subject: java/8138: Compiler chokes with -O3, "fatal error reading class for second time"
- Reply-to: adam at xwt dot org
>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: