https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103407
--- Comment #10 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot
Uni-Bielefeld.DE> ---
> --- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
> Oh dear, yes, wrong patch. I'll attach the right one in a few hours.
I've now managed to test it on both Solaris 11.3 and 11.4. However, it
didn't work on 11.4 and in hindsight it's clear why not:
_GLIBCXX_HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT is always 0 on
Solaris, as explained in this snippet from acinclude.m4:
# The Solaris 2 runtime linker doesn't support the GNU extension of
# binding the same symbol to different versions