Wind River Support Network

HomeDefectsLIN8-3225
Fixed

LIN8-3225 : wrl8 : External modules fail to build when kernel is reused from sstate

Created: Apr 11, 2016    Updated: Dec 3, 2018
Resolved Date: May 11, 2017
Found In Version: 8.0.0.4,8.0.0.16
Fix Version: 8.0.0.18
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Kernel

Description

rm_work needs to exclude all kernel recipes
* otherwise kernel is rebuilt every single time and often it fails when
  building external modules

logs and fix patch in attachment

the fix: http://git.openembedded.org/openembedded-core/commit/meta/classes/rm_work.bbclass?id=9d23daf03ece06185224f869e9b7f73789689c2d

Steps to Reproduce

configure --with-board=qemux86-64 --enable-rootfs=glibc-small --enable-jobs=10 --enable-parallel-pkgbuilds=16 --enable-reconfig --enable-rm-work=yes --enable-prserver=no --with-init=sysvinit --with-package=hello-mod --with-layer=oe-core/meta-skeleton --with-rcpl-version=auto

make bbs

run a simple bash script that does:

for i in linux-windriver kernel-devsrc hello-mod
do
    echo "cleansstate $i"
    bitbake -c cleansstate $i >> log.$i 2>&1
    ls tmp/work-shared/qemux86-64/kernel-build-artifacts
    echo "build $i"
    bitbake $i >> log.$i 2>&1
    ls tmp/work-shared/qemux86-64/kernel-build-artifacts
done 

Other Downloads


Live chat
Online