https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120905
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Solaris 10 support was removed in gcc 9 also. https://gcc.gnu.org/gcc-9/changes.html Solaris 10 is years old and no longer supported so there is nothing to be done here.