https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121667
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
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).