https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108630
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- The uses of .symver in src/c++98/compatibility.cc are hard to change, so this isn't going to be fixed any time soon. I suggest simply not using LTO for libstdc++.