[Bug c++/118716] GCC(11.2) generating newer symbol for std::string::compare while linking against older runtime(libstdc++ : 6.0.13)
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 3 16:15:18 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118716
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Again the bug in libstdc++ was not fixed until gcc 4.6.3. And you have been
lucky to have it work before hand.
You could modify the old libstdc++ header to include always_inline on that
symbol and that workaround the issue but that is not supported.
More information about the Gcc-bugs
mailing list