https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91833
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Richard Henderson from comment #2) > Hmm. When I built aarch64-elf for newlib, configure automatically > sets inhibit_libc, which avoids the whole issue. I normally use: --with-headers=${TOP}/src/newlib/libc/include Which causes the inhibit_lib not to be set. I wonder if he does the same.