Common-pc-cpu.cfg has the “# CONFIG_64BIT is not set” completely removed.’

# CONFIG_64BIT is not set


From: Bruce Ashfield [mailto:bruce.ashfi...@gmail.com]
Sent: Friday, September 02, 2016 12:49 PM
To: Clark, Mark A <mark.cla...@nov.com>
Cc: yocto@yoctoproject.org
Subject: [EXTERNAL] Re: [yocto] Linux-yocto-rt-4.4.11



On Fri, Sep 2, 2016 at 10:32 AM, Clark, Mark A 
<mark.cla...@nov.com<mailto:mark.cla...@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<https://urldefense.proofpoint.com/v2/url?u=http-3A__downloads.yoctoproject.org_releases_uninative_1.0.1_x86-5F64-2Dnativesdk-2Dlibc.tar.bz2-3Bsha256sum-3Dacf1e44a0ac2e855e81da6426197d36358bf7b4e88e552ef933128498c8910f8&d=DQMFaQ&c=oTZJxWjXA97U5efbDJZGEg&r=uNDdMisgO1TeK0HLqspkDVxt_f3Oh6mt6bTm6TDLFdI&m=q3FIpi-36wdwCMxTRpfRClrAEYMkL_twst0DqByf4BE&s=0dz9V63af_hwqGgDorGwrsnS6StLV8dGvYX4cMiagQE&e=>
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<https://urldefense.proofpoint.com/v2/url?u=http-3A__linux-2Dyocto-2Drt-5F4.4.bb&d=DQMFaQ&c=oTZJxWjXA97U5efbDJZGEg&r=uNDdMisgO1TeK0HLqspkDVxt_f3Oh6mt6bTm6TDLFdI&m=q3FIpi-36wdwCMxTRpfRClrAEYMkL_twst0DqByf4BE&s=hGqyTocvfl0aiSP1_O-OK6Z0SOfpw2mstPDNViLo_zQ&e=>,
 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<https://urldefense.proofpoint.com/v2/url?u=http-3A__git.yoctoproject.org_yocto-2Dkernel-2Dcache&d=DQMFaQ&c=oTZJxWjXA97U5efbDJZGEg&r=uNDdMisgO1TeK0HLqspkDVxt_f3Oh6mt6bTm6TDLFdI&m=q3FIpi-36wdwCMxTRpfRClrAEYMkL_twst0DqByf4BE&s=oSobJkqMs6iTwF6TosJ3WIabToWCvoEokuxrRG6FkZA&e=>
 yocto-4.4 branch):

commit ff423148afe0b7e48ea8a8c0758391f9b4790912
Author: Bruce Ashfield 
<bruce.ashfi...@windriver.com<mailto:bruce.ashfi...@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.ashfi...@windriver.com<mailto:bruce.ashfi...@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
[Description: Description: Description: Description: National Oilwell Varco 
Logo Color CMYK.jpg]
 Wellbore Technologies – Dynamic Drilling Solutions
Global Software Engineering
Office: (512) 340-5435<tel:%28512%29%20340-5435>
Mobile: (512) 736-9396<tel:%28512%29%20736-9396>
“One Team – Infinite Solutions”


--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_listinfo_yocto&d=DQMFaQ&c=oTZJxWjXA97U5efbDJZGEg&r=uNDdMisgO1TeK0HLqspkDVxt_f3Oh6mt6bTm6TDLFdI&m=q3FIpi-36wdwCMxTRpfRClrAEYMkL_twst0DqByf4BE&s=bMXmT4IuJf2LnMcJFb9Loho4fAZVWrKYjXlj68QpJX8&e=>



--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at 
its end"
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to