https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66018
--- Comment #7 from Christophe Lyon <clyon at gcc dot gnu.org> --- Setting LDFLAGS_FOR_TARGET=-specs=rdimon.specs works for me for aarch64-none-elf. Is it expected that we have to use such settings for the build to succeed?