public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/20654] New: exception.o is not included in libgcj.a due to case-insensitivity
@ 2005-03-27 18:14 aaronavay62 at aaronwl dot com
  2005-03-27 18:34 ` [Bug java/20654] " aaronavay62 at aaronwl dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2005-03-27 18:14 UTC (permalink / raw)
  To: java-prs

binutils ar was recently changed to exclude path when comparing object 
filenames, to agree with POSIX.  This combines with Windows' case-insensitive 
filesystem to cause java/lang/Exception.o to replace exception.o in the 
following command while creating libgcj.a.

ar rc .libs/libgcj0_convenience.a prims.o jni.o exception.o ... 
java/lang/Exception.o ...

This causes bootstrap to fail when linking jv-convert.

make[4]: Entering directory `/aaronwl/cs/env/mingw-
head/20050325/build/gcc/i686-pc-mingw32/libjava'
/bin/sh ./libtool --tag=GCJ --mode=link /aaronwl/cs/env/mingw-
head/20050325/build/gcc/./gcc/gcj -B/aaronwl/cs/env/mingw-
head/20050325/build/gcc/./gcc/ -B/aaronwl/cs/env/mingw-head/20050325/i686-pc-
mingw32/bin/ -B/aaronwl/cs/env/mingw-head/20050325/i686-pc-mingw32/lib/ -
isystem /aaronwl/cs/env/mingw-head/20050325/i686-pc-mingw32/include -
isystem /aaronwl/cs/env/mingw-head/20050325/i686-pc-mingw32/sys-include -
L/aaronwl/cs/env/mingw-head/20050325/build/gcc/i686-pc-mingw32/libjava -ffloat-
store -fno-omit-frame-pointer -g -O2  -o jv-convert.exe --
main=gnu.gcj.convert.Convert -rpath /aaronwl/cs/env/mingw-head/20050325/lib -
shared-libgcc   -L/aaronwl/cs/env/mingw-head/20050325/build/gcc/i686-pc-
mingw32/libjava/.libs libgcj.la 
/aaronwl/cs/env/mingw-head/20050325/build/gcc/./gcc/gcj -
B/aaronwl/cs/env/mingw-head/20050325/build/gcc/./gcc/ -B/aaronwl/cs/env/mingw-
head/20050325/i686-pc-mingw32/bin/ -B/aaronwl/cs/env/mingw-head/20050325/i686-
pc-mingw32/lib/ -isystem /aaronwl/cs/env/mingw-head/20050325/i686-pc-
mingw32/include -isystem /aaronwl/cs/env/mingw-head/20050325/i686-pc-
mingw32/sys-include -ffloat-store -fno-omit-frame-pointer -g -O2 -o jv-
convert.exe --main=gnu.gcj.convert.Convert -shared-libgcc  -
L/aaronwl/cs/env/mingw-head/20050325/build/gcc/i686-pc-mingw32/libjava -
L/aaronwl/cs/env/mingw-head/20050325/build/gcc/i686-pc-
mingw32/libjava/.libs ./.libs/libgcj.a -L/aaronwl/cs/env/mingw-
head/20050325/build/gcc/i686-pc-mingw32/libstdc++-v3/src -
L/aaronwl/cs/env/mingw-head/20050325/build/gcc/i686-pc-mingw32/libstdc++-
v3/src/.libs -L/aaronwl/cs/env/mingw-head/20050325/build/gcc/./gcc -
L/aaronwl/cs/env/mingw-head/20050325/i686-pc-mingw32/bin -
L/aaronwl/cs/env/mingw-head/20050325/i686-pc-mingw32/lib -
L/aaronwl/cs/env/mingw-head/20050325/lib/../i686-pc-mingw32/lib -
L/aaronwl/cs/env/mingw-head/20050325/lib -L/mingw/lib -lmingw32 -lgcc -
lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -
lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -Wl,--rpath -
Wl,/aaronwl/cs/env/mingw-head/20050325/lib
./.libs/libgcj.a(prims.o): In function `Z17_Jv_ThrowNoMemoryv':
/aaronwl/cs/compilers/gcc/src/cvs/head/gcc/libjava/prims.cc:369: undefined 
reference to `_Jv_Throw'
./.libs/libgcj.a(prims.o): In function `Jv_Malloc':
/aaronwl/cs/compilers/gcc/src/cvs/head/gcc/libjava/prims.cc:1276: undefined 
reference to `_Jv_Throw'
...

Since, depending on how you look at it, 'ar' is doing the right thing, I think 
the easiest way to fix this to rename exception.cc to exceptions.cc.

-- 
           Summary: exception.o is not included in libgcj.a due to case-
                    insensitivity
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aaronavay62 at aaronwl dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
GCC target triplet: i?86-pc-mingw32


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


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

* [Bug java/20654] exception.o is not included in libgcj.a due to case-insensitivity
  2005-03-27 18:14 [Bug java/20654] New: exception.o is not included in libgcj.a due to case-insensitivity aaronavay62 at aaronwl dot com
@ 2005-03-27 18:34 ` aaronavay62 at aaronwl dot com
  2005-03-27 21:15 ` [Bug libgcj/20654] " pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2005-03-27 18:34 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-27 13:01:38
               date|                            |


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


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

* [Bug libgcj/20654] exception.o is not included in libgcj.a due to case-insensitivity
  2005-03-27 18:14 [Bug java/20654] New: exception.o is not included in libgcj.a due to case-insensitivity aaronavay62 at aaronwl dot com
  2005-03-27 18:34 ` [Bug java/20654] " aaronavay62 at aaronwl dot com
@ 2005-03-27 21:15 ` pinskia at gcc dot gnu dot org
  2005-03-28 12:42 ` aaronavay62 at aaronwl dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-27 21:15 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-27 16:21 -------
This is why POSIX ar is bad.  Oh well.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|java                        |libgcj


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


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

* [Bug libgcj/20654] exception.o is not included in libgcj.a due to case-insensitivity
  2005-03-27 18:14 [Bug java/20654] New: exception.o is not included in libgcj.a due to case-insensitivity aaronavay62 at aaronwl dot com
  2005-03-27 18:34 ` [Bug java/20654] " aaronavay62 at aaronwl dot com
  2005-03-27 21:15 ` [Bug libgcj/20654] " pinskia at gcc dot gnu dot org
@ 2005-03-28 12:42 ` aaronavay62 at aaronwl dot com
  2005-03-28 21:57 ` aaronavay62 at aaronwl dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2005-03-28 12:42 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From aaronavay62 at aaronwl dot com  2005-03-28 06:09 -------
This also happens with gnu/java/security/OID.o and org/ietf/jgss/Oid.o, again 
causing build to break in jv-collect.  These files are less easily renamed, 
though.  I don't know how to fix this.


-- 


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


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

* [Bug libgcj/20654] exception.o is not included in libgcj.a due to case-insensitivity
  2005-03-27 18:14 [Bug java/20654] New: exception.o is not included in libgcj.a due to case-insensitivity aaronavay62 at aaronwl dot com
                   ` (2 preceding siblings ...)
  2005-03-28 12:42 ` aaronavay62 at aaronwl dot com
@ 2005-03-28 21:57 ` aaronavay62 at aaronwl dot com
  2005-03-28 22:24 ` dannysmith at users dot sourceforge dot net
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2005-03-28 21:57 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From aaronavay62 at aaronwl dot com  2005-03-28 07:40 -------
I just checked against "Microsoft (R) Library Manager Version 7.10.3052" and 
binutils's case-insensitivity replacement semantics are consistant with 
Microsoft's implementation.  LIB also has the same path-preserving semantics 
of the previous non-POSIX ar.

I think a better way to fix this would be to check if the P to ar is 
availible, and use it, if it is.


-- 


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


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

* [Bug libgcj/20654] exception.o is not included in libgcj.a due to case-insensitivity
  2005-03-27 18:14 [Bug java/20654] New: exception.o is not included in libgcj.a due to case-insensitivity aaronavay62 at aaronwl dot com
                   ` (3 preceding siblings ...)
  2005-03-28 21:57 ` aaronavay62 at aaronwl dot com
@ 2005-03-28 22:24 ` dannysmith at users dot sourceforge dot net
  2005-03-29 11:36 ` aaronavay62 at aaronwl dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2005-03-28 22:24 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From dannysmith at users dot sourceforge dot net  2005-03-28 08:38 -------
See also PR20160 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20160

-- 


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


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

* [Bug libgcj/20654] exception.o is not included in libgcj.a due to case-insensitivity
  2005-03-27 18:14 [Bug java/20654] New: exception.o is not included in libgcj.a due to case-insensitivity aaronavay62 at aaronwl dot com
                   ` (4 preceding siblings ...)
  2005-03-28 22:24 ` dannysmith at users dot sourceforge dot net
@ 2005-03-29 11:36 ` aaronavay62 at aaronwl dot com
  2005-03-30 23:43 ` aaronavay62 at aaronwl dot com
  2005-07-07 13:25 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2005-03-29 11:36 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From aaronavay62 at aaronwl dot com  2005-03-28 12:42 -------
Thanks Danny.  So there is already machinery to fix this; it just needs to be
adapted to be case-insensitive.  I'm working on a patch.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |aaronavay62 at aaronwl dot
                   |dot org                     |com
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-03-27 13:01:38         |2005-03-28 12:42:10
               date|                            |


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


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

* [Bug libgcj/20654] exception.o is not included in libgcj.a due to case-insensitivity
  2005-03-27 18:14 [Bug java/20654] New: exception.o is not included in libgcj.a due to case-insensitivity aaronavay62 at aaronwl dot com
                   ` (5 preceding siblings ...)
  2005-03-29 11:36 ` aaronavay62 at aaronwl dot com
@ 2005-03-30 23:43 ` aaronavay62 at aaronwl dot com
  2005-07-07 13:25 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2005-03-30 23:43 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From aaronavay62 at aaronwl dot com  2005-03-30 21:10 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02804.html>.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
   Last reconfirmed|2005-03-28 12:42:10         |2005-03-30 21:10:28
               date|                            |


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


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

* [Bug libgcj/20654] exception.o is not included in libgcj.a due to case-insensitivity
  2005-03-27 18:14 [Bug java/20654] New: exception.o is not included in libgcj.a due to case-insensitivity aaronavay62 at aaronwl dot com
                   ` (6 preceding siblings ...)
  2005-03-30 23:43 ` aaronavay62 at aaronwl dot com
@ 2005-07-07 13:25 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-07 13:25 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-07 13:25 -------
*** Bug 22338 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |klaus dot kusche at inode
                   |                            |dot at


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


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

end of thread, other threads:[~2005-07-07 13:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-27 18:14 [Bug java/20654] New: exception.o is not included in libgcj.a due to case-insensitivity aaronavay62 at aaronwl dot com
2005-03-27 18:34 ` [Bug java/20654] " aaronavay62 at aaronwl dot com
2005-03-27 21:15 ` [Bug libgcj/20654] " pinskia at gcc dot gnu dot org
2005-03-28 12:42 ` aaronavay62 at aaronwl dot com
2005-03-28 21:57 ` aaronavay62 at aaronwl dot com
2005-03-28 22:24 ` dannysmith at users dot sourceforge dot net
2005-03-29 11:36 ` aaronavay62 at aaronwl dot com
2005-03-30 23:43 ` aaronavay62 at aaronwl dot com
2005-07-07 13:25 ` pinskia 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).