https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- I think they're exported correctly with both versions: $ nm -D --defined-only src/.libs/libstdc++.so.6.0.31 | grep '_ZSt[345]c' 000000000025d7a0 B _ZSt3cin@@GLIBCXX_3.4 000000000025d7a0 B _ZSt3cin@@GLIBCXX_3.4.31 000000000025d560 B _ZSt4cerr@@GLIBCXX_3.4 000000000025d560 B _ZSt4cerr@@GLIBCXX_3.4.31 000000000025d440 B _ZSt4clog@@GLIBCXX_3.4 000000000025d440 B _ZSt4clog@@GLIBCXX_3.4.31 000000000025d680 B _ZSt4cout@@GLIBCXX_3.4.31 000000000025d680 B _ZSt4cout@@GLIBCXX_3.4 But Florian's right, they're in the .a too.