https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82641
--- Comment #18 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- (In reply to Arnd Bergmann from comment #14) > It looks like r255468 broke compilation of a couple of files in the Linux > kernel, > which use a top-level statement like > > linux/arch/arm/kvm/hyp/banked-sr.c: > __asm__(".arch_extension virt"); > > linux/arch/arm/kernel/xscale-cp0.c > asm(" .arch armv5te\n"); > So you're changing the targetted architecture behind the compilers back. Ie you're lying to it. Frankly, you deserve to get burnt if you do things like that. Patient: Doctor, if I bang my head against a wall, it hurts. Doctor: Don't do that then!.