Wind River Support Network

HomeDefectsLIN6-6918
Fixed

LIN6-6918 : crash fails to install correctly in multilib environment

Created: Mar 11, 2014    Updated: Dec 3, 2018
Resolved Date: Apr 17, 2014
Previous ID: LIN5-18243
Found In Version: 6.0
Fix Version: 6.0.0.6
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

When adding multilib support for crash (both (x32 and x64) it eventually at the installation stage with:
do_install/run.do_install.3479: line 113: 
[: /../bitbake_build/tmp/work/haswell64-wrs-linux/../haswell-wrsmllib32-linux/lib32-crash-6.1.4-r3.1/package/usr/bin/.debug: binary operator expected
cp: target `../bitbake_build/tmp/work/haswell64-wrs-linux/crash-6.1.4-r3.1/image/usr/bin/crash-lib32' is not a directory

Steps to Reproduce

--enable-board=intel-xeon-core-haswell 
--enable-rootfs=glibc_std_sato
 --enable-kernel=preempt-rt 
--enable-build=production --with-layer=wr-intel-support,meta-selinux,wr-security,cgp,/ae/wrl50_tools/layers/atlas_std_packages --with-template=feature/intel-support 
 --with-rcpl-version=0011


run :
$make -C build crash.addpkg;
$ make -C build lib32-addpkg;
$ make fs

crash_6.1.4.bb is performing the following sentence:
mlib_dir=`dirname ${WORKDIR}`/../*/${CRASH_MLIB}-`basename ${WORKDIR}`
in multilib config that directory has actually 2 files: the one for 64 bit and the other for 32.
Sentence should be more accurate and pick only one file. otherwise we got an error when using mlib_dir to perform copy.

Other Downloads


Live chat
Online