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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to