https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108186
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Does this comparison failure happen if you set LANG environment variable to C before doing a bootstrap? If it please let us know which your environment variables so we can figure out which sort is the issue.