illegal instruction (CPU mismatch)

Mahmood Naderan nt_mahmood@yahoo.com
Fri Sep 16 12:40:00 GMT 2016



>Try adding -mno-bmi to your CFLAGS and CXXFLAGS to clear the BMI/BMI2 issue.

>I don't know about the other cpu flags. GCC is good about taking a cpu
>feature, like ADX, and using -madx and -mno-adx. An exception is
>RDRAND, whits omits the A for some reason; you use -mrdrnd.

>Jeff


Using -mno-adx returns 



checking for linker flag to name executables... configure: error: Could not determine flag to name executables


Using -mrdrnd -mno-bmi returns the "illegal instruction" much sooner than before.


This is a very bad issue. I really want to know what is the instruction?!


Regards,
Mahmood



More information about the Gcc-help mailing list