https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83834
--- Comment #12 from nsz at gcc dot gnu.org ---
(In reply to Jonathan Wakely from comment #10)
> This should fix it:
>
> --- a/libstdc++-v3/config/abi/pre/gnu.ver
> +++ b/libstdc++-v3/config/abi/pre/gnu.ver
> @@ -58,9 +58,7 @@ GLIBCXX_3.4 {
> # std::basic_stringbuf
> # std::basic_stringstream;
> std::basic_[t-z]*;
> - std::ba[t-z]*;
> - std::b[b-z]*;
> - std::c[a-g]*;
> + std::cerr;
> # std::char_traits;
> # std::c[i-z]*;
> std::c[i-n]*;
>
the patch looks good, please apply it.
i guess it should be backported too, so new binutils
keeps linking libstdc++ as expected.
> IMHO it's a bad idea to have such greedy patterns in the base GLIBCXX_3.4
> version anyway, because we never want them to match new symbols, only the
> ones that already exist in GLIBCXX_3.4
then this file could be cleaned up further.