[Bug other/1963] collect2 interprets "-oldstyle_liblookup" as "-o ldstyle_liblookup"

jan dot jech at pregis dot cz gcc-bugzilla@gcc.gnu.org
Wed Oct 22 21:22:00 GMT 2003


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



More information about the Gcc-bugs mailing list