https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107128
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Mike Hommey from comment #7) > Forget my last comment, it came from the use of a sysroot with an older > glibc. I wonder why the sysroot path didn't appear in those messages... Can you file a new bug. Fixincludes should be happening for the sysroot but maybe a setting is wrong. Please include how you configured gcc.