From mboxrd@z Thu Jan 1 00:00:00 1970 From: georg.wild@gmx.de To: gcc-gnats@gcc.gnu.org Subject: java/4360: libjava fails to compile on i686-pc-linux-gnu (AttributedString) Date: Wed, 19 Sep 2001 06:06:00 -0000 Message-id: <20010919130253.15824.qmail@sourceware.cygnus.com> X-SW-Source: 2001-09/msg00402.html List-Id: >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: