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]
Other format: [Raw text]

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


>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:


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