Re: illegal instruction (CPU mismatch)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2016.09.16 at 12:40 +0000, Mahmood Naderan wrote:
> 
> 
> >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?!

Well, if you simply want to avoid the issue, just compile without
-march=amdfam10 (this really assumes that all machines are of the same
type) or use -mtune=amdfam10 instead.

Details on how to remotely debug Open MP jobs are off topic on this list.

-- 
Markus



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux