https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86007
--- Comment #4 from Ștefan Talpalaru <stefantalpalaru at yahoo dot com> --- Mystery solved: half the CPU cores report LWP as disabled, the other half as enabled. Both at boot, as seen with "grep -E '(core id|lwp)' /proc/cpuinfo" and afterwards, using the CPUID instruction: "cpuid | grep 'lightweight profiling support'". So, depending on which CPU core GCC runs on, "-march=native" will enable or not "-mlwp".