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?

-- 
           Summary: Mingw: ar case insensitive, libgcj members missing
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: klaus dot kusche at inode dot at
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
 GCC build triplet: i586-pc-interix3
  GCC host triplet: i586-pc-mingw32
GCC target triplet: i586-pc-mingw32


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

Reply via email to