https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68479
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think there is another bug about this that was closed as invalid as you need to use the version script to hide all of libstdc++ symbols.