[OE-core] [PATCH] strace: update 4.10 -> 4.11

Burton, Ross ross.burton at intel.com
Wed Dec 23 21:26:22 UTC 2015


CCing Robert as he wrote the patch that introduced the ARCH assignment.

On 23 December 2015 at 20:49, Andre McCurdy <armccurdy at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151223/fb3dc6f4/attachment-0002.html>


More information about the Openembedded-core mailing list