<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"><<a href="mailto:armccurdy@gmail.com" target="_blank">armccurdy@gmail.com</a>></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="${TARGET_ARCH}". The<br>
tests Makefile uses ARCH to setup include paths but there isn't a<br>
direct mapping between OE's arch values and the ones expected by<br>
strace. In this case ARCH should be "i386" in order to find the header<br>
file correctly, not "i586".<br>
<br>
Removing ARCH="${TARGET_ARCH}" 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'm not 100% clear what the original problem was though, so I'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't required. Robert, what do you think?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>