Bug 22338 - Mingw: ar case insensitive, libgcj members missing
Summary: Mingw: ar case insensitive, libgcj members missing
Status: RESOLVED DUPLICATE of bug 20654
Alias: None
Product: gcc
Classification: Unclassified
Component: libgcj (show other bugs)
Version: 4.0.1
: P2 critical
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-07 07:35 UTC by klaus.kusche
Modified: 2005-07-23 22:49 UTC (History)
2 users (show)

See Also:
Host: i586-pc-mingw32
Target: i586-pc-mingw32
Build: i586-pc-interix3
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description klaus.kusche 2005-07-07 07:35:47 UTC
When making libjava on Interix for mingw, compiling jv-convert.exe fails when 
linking with thousands of undefined references.

Closer analysis shows that these are caused by three members missing from 
libgcj.a:
exception.o, gnu/java/security/OID.o and 
gnu/java/net/protocol/http/HTTPURLConnection.o

Trying to add them to libgcj.a by hand with "ar ru" also fails.
The reason is that libgcj.a already contains three members whose names differ 
by case only:
java/lang/Exception.o, org/ietf/jgss/Oid.o and java/net/HttpURLConnection.o

Obviously, on mingw ar handles archive member names case-insensitivly, not 
allowing two members to differ by case only (a natural behaviour on windows).

Could the names be made unique?
Comment 1 Danny Smith 2005-07-07 07:56:11 UTC
Duplicate of PR 20654

libtool patch at:
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02804.html

Danny
Comment 2 Andrew Pinski 2005-07-07 13:25:43 UTC

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