[yocto] Linux-yocto-rt-4.4.11

Bruce Ashfield bruce.ashfield at gmail.com
Fri Sep 2 10:49:19 PDT 2016


On Fri, Sep 2, 2016 at 10:32 AM, Clark, Mark A <Mark.Clark2 at nov.com> wrote:

> When building for core-image-rt I get the following error: Any insights
>
> meta-yocto-bsp    = "krogoth:7e11efef59c3102948d3eafe5b136c493deee3b5"
>
>
>
> NOTE: Fetching uninative binary shim from http://downloads.yoctoproject.
> org/releases/uninative/1.0.1/x86_64-nativesdk-libc.tar.bz2;sha256sum=
> acf1e44a0ac2e855e81da6426197d36358bf7b4e88e552ef933128498c8910f8
>
> NOTE: Preparing RunQueue
>
> NOTE: Executing SetScene Tasks
>
> NOTE: Executing RunQueue Tasks
>
> ERROR: linux-yocto-rt-4.4.11+gitAUTOINC+6ec93aaa70_bf2fbe7f2c-r0
> do_package_qa: QA Issue: Architecture did not match (3 to 62) on
> work/genericx86-poky-linux/linux-yocto-rt/4.4.11+gitAUTOINC+6ec93aaa70_
> bf2fbe7f2c-r0/packages-split/kernel-vmlinux/boot/vmlinux-4.4.11-rt3-yocto-preempt-rt
> [arch]
>
> ERROR: linux-yocto-rt-4.4.11+gitAUTOINC+6ec93aaa70_bf2fbe7f2c-r0
> do_package_qa: QA run found fatal errors. Please consider fixing them.
>
> ERROR: linux-yocto-rt-4.4.11+gitAUTOINC+6ec93aaa70_bf2fbe7f2c-r0
> do_package_qa: Function failed: do_package_qa
>
> ERROR: Logfile of failure stored in: /home/yocto/poky/build/tmp/
> work/genericx86-poky-linux/linux-yocto-rt/4.4.11+gitAUTOINC+6ec93aaa70_
> bf2fbe7f2c-r0/temp/log.do_package_qa.5886
>
> ERROR: Task 61 (/home/yocto/poky/meta/recipes-kernel/linux/linux-
> yocto-rt_4.4.bb, do_package_qa) failed with exit code '1'
>
>
>

We fixed this on master (but on master, we thought it was due to my recent
kernel tools
changes), but this makes me think it is a delta in the QA checks as well ..
which may
have been backported to kergoth.

Is this a new error ? i.e. it used to work ?

The issue is that x86 defaults to 64bit, and this is a 32 bit build. We had
to force disable
it, to get the kernel to build 32bit.

The commit is here (on git://git.yoctoproject.org/yocto-kernel-cache
yocto-4.4 branch):

commit ff423148afe0b7e48ea8a8c0758391f9b4790912
Author: Bruce Ashfield <bruce.ashfield at windriver.com>
Date:   Mon Jul 11 13:40:13 2016 -0400

    common-pc: enforce 32 bit

    ARCH=x86 defaults to 64 bit on modern kernels. So we need to
    explicitly disable 64bit in common-pc if we want a 32bit build
    (common-pc builds with ARCH=x86, not ARCH=i386)

    Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>

:100644 100644 d6302a63dfaa... 70df605fe41c... M
bsp/common-pc/common-pc-cpu.cfg

And I'd bet that isn't in play on krogoth, since unless my -stable kernels
have come back,
the kernel-cache update wouldn't have either.

Bruce



> My local.conf contains the following 2 lines:
>
>
>
> PREFERRED_PROVIDER_virtual/kernel = “linux-yocto-rt”
>
> COMPATIBLE_MACHINE_genericx86 = “genericx86”
>
>
>
> *Mark Clark*
>
> Embedded Software Engineer
>
> Embedded Software, Cedar Park, TX
>
> [image: Description: Description: Description: Description: National
> Oilwell Varco Logo Color CMYK.jpg]
>
>  Wellbore Technologies – Dynamic Drilling Solutions
>
> Global Software Engineering
>
> Office: (512) 340-5435
>
> Mobile: (512) 736-9396
>
> *“One Team – Infinite Solutions”*
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>


-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160902/abfa270c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 9171 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160902/abfa270c/attachment.png>


More information about the yocto mailing list