https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83462
--- Comment #3 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #1) > Does arm-none-eabi imply -ffreestanding or something similar? The testcase > certainly completely fails with -ffreestanding on x86_64-linux. No. But it's normally used in conjunction with a library like newlib rather than glibc.