CCing Robert as he wrote the patch that introduced the ARCH assignment.
On 23 December 2015 at 20:49, Andre McCurdy <[email protected]> wrote:
> Error is due to do_compile_ptest() forcing ARCH="${TARGET_ARCH}". The
> tests Makefile uses ARCH to setup include paths but there isn't a
> direct mapping between OE's arch values and the ones expected by
> strace. In this case ARCH should be "i386" in order to find the header
> file correctly, not "i586".
>
> Removing ARCH="${TARGET_ARCH}" from do_compile_ptest() and letting
> strace auto detect fixes the build failure.
>
> Forcing ARCH was introduced here:
>
>
> http://git.openembedded.org/openembedded-core/commit/?id=af76eb0405352d66dfd00d7f856f401d892855e1
>
> But I'm not 100% clear what the original problem was though, so I'm
> not sure about just undoing that change without some more
> investigation. Any thoughts?
>
I guess if it autodetects correctly now then the workaround isn't
required. Robert, what do you think?
Ross
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core