https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65464
--- Comment #10 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- And even with !IA32_EMULATION the kernel build uses -m16 a few times on x86_64. Please note that we're talking about -ffreestanding target here.