https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121484
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- For future reference, you can fix the old build of GCC 15.1.0 to match the updated glibc by using the mkheaders script installed as part of that old build. See https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Fixed-Headers.html