https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102630
--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- If the warning is keeping Glibc from building with GCC 12 then applying the patch until this is resolved (hopefully still in stage 1, or in stage 3) seems like a reasonable workaround. It wouldn't be the first time it had to be done. I just haven't had to work on this yet.