This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/1963] collect2 interprets "-oldstyle_liblookup" as "-o ldstyle_liblookup"
- From: "jan dot jech at pregis dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2003 21:17:31 -0000
- Subject: [Bug other/1963] collect2 interprets "-oldstyle_liblookup" as "-o ldstyle_liblookup"
- References: <20010213082600.1963.anonymous@sourceware.cygnus.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1963
------- Additional Comments From jan dot jech at pregis dot cz 2003-10-22 21:17 -------
Gcc 3.3.2 on Tru64 5.1A (alphaev56-dec-osf5.1) with patched collect2.c according
bug 5762.
Compiling Samba 3.0 with Active Directory support (need Kerberos) finish without
support of AD (configure doesn't recognize Kerberos)
Reason: gcc with options "-Wl,-oldstyle_liblookup" collect2 still interprets the
option as specifying the output file.
For example one message from log file:
configure:23198: checking for krb5_encrypt_data in -lk5crypto
configure:23229: gcc -o conftest -L/usr/local/BerkeleyDB.4.1/lib
-L/usr/local/ssl/lib -L/usr/local/include conftest.c -lk5crypto
-Wl,-oldstyle_liblookup -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lsecurity
-lresolv >&5
collect2: ldstyle_liblookup: cannot open as COFF file collect2:
Jan Jech