Thanks Ross,

I came to that conclusion too, and changes to the asterisk build system was 
really always the most likely source of the problem.  On the plus side, I have 
learned a lot more about machine/processor configuration in the bsp layers 
pursuing that dead end.


I went back through the asterisk change notes and at some point in the past 
they decided to use -march=native as a means to produce the best optimised 
code, while still retaining the option to disable this.


There are some more notes from last summer about changing how this is 
configured, and it certainly defaults to enabled since then.  BUILD_NATIVE is 
an option in their 'menuselect' so I need to configure that, as the clean 
solution, rather than just patching their makeopts.


Regards,

Chris

________________________________
From: Burton, Ross <[email protected]>
Sent: 16 January 2017 15:40
To: Chris Trobridge
Cc: Leon Woestenberg; Yocto List
Subject: Re: [yocto] Illegal Instruction Generate for Intel Atom


On 16 January 2017 at 14:47, Chris Trobridge 
<[email protected]<mailto:[email protected]>> wrote:

Managed to get the actual compiler lines and the initial args are "-m32 
-march=i586" but there is "-march=native" appended to the end of the line.

Looks like asterisk itself is adding -march=native, so you'll need to dig 
through it's makefiles and work out how to disable it (or just delete them).

Ross
-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to