https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100140
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- Yes, you are trying to use a new version of glibc instead of the one in /usr but you are not doing that correctly. The GCC build is finding the new headers, but not the new libc.so that matches the headers.