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

--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Martin Storsjö from comment #2)
> (In reply to Jakub Jelinek from comment #1)
> > Is mingw really using GNU symbol versioning?  That ought to be an ELF only
> > thing and this is guarded with #ifdef _GLIBCXX_SYMVER_GNU.
> 
> It's not actually using GNU symbol versioning (indeed, that's an ELF
> concept), but for some reason, a x86_64-w64-mingw32 build of libstdc++ do
> end up with "#define _GLIBCXX_SYMVER_GNU 1".

FWIW, this came up recently in PR123908. For mingw32-w64 the linker script
doesn't do any symbol versioning, but it *does* affect symbol visibility.
Symbols not exported from the script are not included in libstdc++.dll.a

Reply via email to