[Bug libgcj/22283] New: Fail to build libjava under zh_TW.UTF-8 locale.

jserv at kaffe dot org gcc-bugzilla@gcc.gnu.org
Sun Jul 3 05:19:00 GMT 2005


I use zh_TW.UTF-8 as the default encoding in my machine, and I found that I
failed to build libjava. The error messsages are as following:
(LC_ALL=zh_TW.UTF-8 make)

make[2]: Entering directory `/home/jserv/build-gcj/i686-pc-linux-gnu/libjava'
/bin/sh ./libtool --mode=compile /home/jserv/build-gcj/./gcc/gcj \
        -B/home/jserv/build-gcj/./gcc/ \
                ...
        `find gnu/java/awt/peer/gtk -name '*.class' -print`
                ...
gnu/java/awt/peer/gtk/GtkComponentPeer$1$PrepareImage.class -fPIC -o
.libs/gtk-awt-peer.o
gnu/java/awt/peer/gtk/GtkWindowPeer.java:0: fatal error: can't open
gnu/java/awt/peer/gtk/GtkComponentPeer-B/home/jserv/build-gcj/./gcc/.class: No
such file or directory
compilation terminated.

It seems that "gnu/java/awt/peer/gtk/GtkComponentPeer$1$PrepareImage.class "
confuses gcj, so that I did a workaround to fix the issue (attached).

-- 
           Summary: Fail to build libjava under zh_TW.UTF-8 locale.
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jserv at kaffe dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22283



More information about the Gcc-bugs mailing list