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

Andre McCurdy armccurdy at gmail.com
Wed Dec 23 20:49:46 UTC 2015


On Wed, Dec 23, 2015 at 6:53 AM, Burton, Ross <ross.burton at intel.com> wrote:
>
> On 22 December 2015 at 23:38, Andre McCurdy <armccurdy at gmail.com> wrote:
>>
>> Noteworthy changes in release 4.11 (2015-12-21)
>
>
> They forgot to mention "breaks on the yocto autobuilder". :)
>
> |
> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-deb-non-deb/build/build/tmp/work/i586-poky-linux/strace/4.11-r0/strace-4.11/tests/ksysent.c:45:24:
> fatal error: syscallent.h: No such file or directory
> | compilation terminated.
> | make: *** [ksysent.o] Error 1
> | make: Leaving directory
> `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-deb-non-deb/build/build/tmp/work/i586-poky-linux/strace/4.11-r0/build/tests'
> | ERROR: Function failed: do_compile_ptest_base (log file is located at
> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-deb-non-deb/build/build/tmp/work/i586-poky-linux/strace/4.11-r0/temp/log.do_compile_ptest_base.18605)
>
> Did you test with ptests enabled?

Not for x86 :-(

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?


> (full log at
> https://autobuilder.yoctoproject.org/main/builders/nightly-deb-non-deb/builds/235/steps/BuildImages/logs/stdio)
>
> Ross



More information about the Openembedded-core mailing list