https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113731
--- Comment #10 from Tobias Burnus <burnus at gcc dot gnu.org> --- (In reply to Tamar Christina from comment #9) > (In reply to Matthias Klose from comment #8) > > the proposed patch doesn't fix the amdgcn-amdhsa bootstrap. > > So what is the error with the patch? The output can't be the same as the > function was removed. For what it is worth, Jakub's patch (based on Tamar's patch email ), https://gcc.gnu.org/pipermail/gcc-patches/2024-February/645062.html , works here, i.e. I can build GCC with the current in-tree newlib.