<div dir="ltr"><div class="gmail_extra">CCing Robert as he wrote the patch that introduced the ARCH assignment.</div><div class="gmail_extra"><br><div class="gmail_quote">On 23 December 2015 at 20:49, Andre McCurdy <span dir="ltr">&lt;<a href="mailto:armccurdy@gmail.com" target="_blank">armccurdy@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":18h" class="a3s" style="overflow:hidden">Error is due to do_compile_ptest() forcing ARCH=&quot;${TARGET_ARCH}&quot;. The<br>
tests Makefile uses ARCH to setup include paths but there isn&#39;t a<br>
direct mapping between OE&#39;s arch values and the ones expected by<br>
strace. In this case ARCH should be &quot;i386&quot; in order to find the header<br>
file correctly, not &quot;i586&quot;.<br>
<br>
Removing ARCH=&quot;${TARGET_ARCH}&quot; from do_compile_ptest() and letting<br>
strace auto detect fixes the build failure.<br>
<br>
Forcing ARCH was introduced here:<br>
<br>
  <a href="http://git.openembedded.org/openembedded-core/commit/?id=af76eb0405352d66dfd00d7f856f401d892855e1" rel="noreferrer" target="_blank">http://git.openembedded.org/openembedded-core/commit/?id=af76eb0405352d66dfd00d7f856f401d892855e1</a><br>
<br>
But I&#39;m not 100% clear what the original problem was though, so I&#39;m<br>
not sure about just undoing that change without some more<br>
investigation. Any thoughts?</div></blockquote></div><br>I guess if it autodetects correctly now then the workaround isn&#39;t required.  Robert, what do you think?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>