public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/22283] New: Fail to build libjava under zh_TW.UTF-8 locale.
@ 2005-07-03  5:18 jserv at kaffe dot org
  2005-07-03  5:20 ` [Bug libgcj/22283] " jserv at kaffe dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jserv at kaffe dot org @ 2005-07-03  5:18 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/22283] Fail to build libjava under zh_TW.UTF-8 locale.
  2005-07-03  5:18 [Bug libgcj/22283] New: Fail to build libjava under zh_TW.UTF-8 locale jserv at kaffe dot org
@ 2005-07-03  5:20 ` jserv at kaffe dot org
  2005-07-03 11:40 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jserv at kaffe dot org @ 2005-07-03  5:20 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From jserv at kaffe dot org  2005-07-03 05:19 -------
Created an attachment (id=9196)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9196&action=view)
Fix the incorrect input filenames in the Makefile of libjava


-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/22283] Fail to build libjava under zh_TW.UTF-8 locale.
  2005-07-03  5:18 [Bug libgcj/22283] New: Fail to build libjava under zh_TW.UTF-8 locale jserv at kaffe dot org
  2005-07-03  5:20 ` [Bug libgcj/22283] " jserv at kaffe dot org
@ 2005-07-03 11:40 ` pinskia at gcc dot gnu dot org
  2005-07-05  9:59 ` jserv at kaffe dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-03 11:40 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-03 11:40 -------
IIRC This is a libtool bug.

-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/22283] Fail to build libjava under zh_TW.UTF-8 locale.
  2005-07-03  5:18 [Bug libgcj/22283] New: Fail to build libjava under zh_TW.UTF-8 locale jserv at kaffe dot org
  2005-07-03  5:20 ` [Bug libgcj/22283] " jserv at kaffe dot org
  2005-07-03 11:40 ` pinskia at gcc dot gnu dot org
@ 2005-07-05  9:59 ` jserv at kaffe dot org
  2005-07-05 13:26 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jserv at kaffe dot org @ 2005-07-05  9:59 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From jserv at kaffe dot org  2005-07-05 09:59 -------
So that, is there any chance to fix the issue, even via specific workaround? I 
have to change locale settings (zh_TW.UTF-8 --> C) when I rebuild GCJ.

-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/22283] Fail to build libjava under zh_TW.UTF-8 locale.
  2005-07-03  5:18 [Bug libgcj/22283] New: Fail to build libjava under zh_TW.UTF-8 locale jserv at kaffe dot org
                   ` (2 preceding siblings ...)
  2005-07-05  9:59 ` jserv at kaffe dot org
@ 2005-07-05 13:26 ` pinskia at gcc dot gnu dot org
  2005-07-05 15:10 ` pinskia at gcc dot gnu dot org
  2005-07-18 20:59 ` tromey at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-05 13:26 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-05 13:26 -------
Here is reference to the problem back in 2002:
http://gcc.gnu.org/ml/gcc/2002-11/msg00896.html

I thought I had saw another mail in the last year about this but I cannot find it any more.

-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/22283] Fail to build libjava under zh_TW.UTF-8 locale.
  2005-07-03  5:18 [Bug libgcj/22283] New: Fail to build libjava under zh_TW.UTF-8 locale jserv at kaffe dot org
                   ` (3 preceding siblings ...)
  2005-07-05 13:26 ` pinskia at gcc dot gnu dot org
@ 2005-07-05 15:10 ` pinskia at gcc dot gnu dot org
  2005-07-18 20:59 ` tromey at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-05 15:10 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-05 15:10 -------
This is a dup of bug 21058.  The problem is not in libgcj but in libtool.  We semi worked around it in 
4.0.0 by sorting but that does not always work as shown here.

*** This bug has been marked as a duplicate of 21058 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/22283] Fail to build libjava under zh_TW.UTF-8 locale.
  2005-07-03  5:18 [Bug libgcj/22283] New: Fail to build libjava under zh_TW.UTF-8 locale jserv at kaffe dot org
                   ` (4 preceding siblings ...)
  2005-07-05 15:10 ` pinskia at gcc dot gnu dot org
@ 2005-07-18 20:59 ` tromey at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-07-18 20:59 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From tromey at gcc dot gnu dot org  2005-07-18 20:59 -------
Does this also fail with 4.0.x?
If so perhaps we need "LANG=C sort" there.
On the trunk I fixed this in a different way.


-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-07-18 20:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-03  5:18 [Bug libgcj/22283] New: Fail to build libjava under zh_TW.UTF-8 locale jserv at kaffe dot org
2005-07-03  5:20 ` [Bug libgcj/22283] " jserv at kaffe dot org
2005-07-03 11:40 ` pinskia at gcc dot gnu dot org
2005-07-05  9:59 ` jserv at kaffe dot org
2005-07-05 13:26 ` pinskia at gcc dot gnu dot org
2005-07-05 15:10 ` pinskia at gcc dot gnu dot org
2005-07-18 20:59 ` tromey at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).