https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121667

--- Comment #5 from Yi Qingliang <niqingliang2003 at gmail dot com> ---
(In reply to Andrew Pinski from comment #2)
> This is not a bug since you do -W,--exclude-libs,ALL .
> 
> Basically if you link against a library which depends on the shared library
> version of one library; you can't link your main program just against the
> static library with `-W,--exclude-libs,ALL`.
> elf does NOT have multi-namespaces while linking (loading is a different
> story).

for liba.so, --exclude-libs,ALL should hide symbols in libstdc++.a, in other
words, hide it to avoid libb.so link to it, but why liba.so can't link to it?

Reply via email to