https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105394
--- Comment #2 from Alex Coplan <acoplan at gcc dot gnu.org> --- (In reply to Richard Biener from comment #1) > Hmm, in my cross-arm build I get > > > ./cc1plus -quiet t.c -I include -march=armv8.1-m.main+mve -mfloat-abi=hard > > -O > cc1plus: error: target CPU does not support ARM mode Try adding -mthumb (I think the driver does this automatically).