java/4360: libjava fails to compile on i686-pc-linux-gnu (AttributedString)
georg.wild@gmx.de
georg.wild@gmx.de
Wed Sep 19 06:06:00 GMT 2001
>Number: 4360
>Category: java
>Synopsis: libjava fails to compile on i686-pc-linux-gnu (AttributedString)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 19 06:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: georg.wild@gmx.de
>Release: todays cvs version and many before
>Organization:
>Environment:
Linux Iserver 2.2.19 #4 Sun Jun 10 10:14:49 CEST 2001 i686
latest versions of main libraries such as glibc 2.2.4
>Description:
I often install the latest version of the cvs snapshot. Since a few (I think months) libjava fails to build.
....
gcj -B/root/gcc/libjava/ --encoding=UTF-8 -C -g -classpath /root/gcc/libjava:. -d /root/gcc/libjava java/text/AttributedString.java
/root/gcc/libjava/java/text/AttributedString.java:45: Class `java.text.AttributedString' already defined in java/text/AttributedString.java:45.
public class AttributedString
^
/root/gcc/libjava/java/text/AttributedString.java:59: confused by earlier errors, bailing out
make: *** [libgcj.jar] Error 1
......
I tried to fix, but my limited java knowledge caused this to fail. I think the error is not in AttrbutedString.java, but in the compiler itself. (When I first got this error I think the source of AttributedString was not changed!)
>How-To-Repeat:
Compile latest gcc snapshot.
>Fix:
Don't compile libjava!?
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list