https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112551
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Don't use -Bsymbolic-functions then? You are actively breaking the C++ standard guarantees here. Not to say, don't use static linking, but hey ... or at least fully statically link the application.