http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54741
Mikael Pettersson <mikpe at it dot uu.se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikpe at it dot uu.se --- Comment #4 from Mikael Pettersson <mikpe at it dot uu.se> 2012-10-01 11:20:21 UTC --- I suspect that the BSD kernel in question doesn't support AVX, so CPUID reports AVX but not OSXSAVE. That would cause any AVX insn to #UD. If this is the case, then gcc's -march=native is in error for failing to check OSXSAVE.