bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/23812] Explicitly mentioned libraries by -lx are not in the DT


From: ccoutant at gmail dot com
Subject: [Bug gold/23812] Explicitly mentioned libraries by -lx are not in the DT_NEEDED list
Date: Tue, 23 Oct 2018 13:57:17 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=23812

--- Comment #1 from Cary Coutant <ccoutant at gmail dot com> ---
> calling “gcc /src/glibc228/input-file.c -fuse-ld=gold -lc -lBrokenLocale
> -lpthread -lcrypt -ldl -lgcc_s -lnsl -lutil -lnss_dns -lnss_compat -lmvec
> -lresolv -lnss_db -lm -lnss_files -lrt -lnss_hesiod -lanl -o
> /src/glibc228/output-file” does not put BrokenLocale in the output of ldd.
> 
> According to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87710 this is not
> a gcc bug.  With clang 6 the problem also appears, as with using ld.bfd or
> adding -Wl,--no-as-needed.

Works for me with -Wl,--no-as-needed. You don't show where in the command line
you placed that option, but it needs to appear before "-lBrokenLocale".

Please show your command line, and add -Wl,-t so we can see the actual files
the linker finds.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]