Wind River Support Network

HomeDefectsLIN5-3214
Fixed

LIN5-3214 : export-sdk fails for a multilib (lib32) project due to invalid path for libmpc.so.2

Created: Nov 15, 2013    Updated: Dec 19, 2017
Resolved Date: Dec 25, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.11
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Kernel

Description

When building a multilib lib32 project it eventually fails with:
" error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
"

Workaround

make bbs
bitbake libmpc-native
bitbake gmp-native
bitbake mpfr-native

Steps to Reproduce

WRL501 RCPL0009

project configured like this:project ::
./wrlinux-5/wrlinux/configure --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 --with-template=feature/intel-support --enable-multilib=lib32  --with-rcpl-version=0009

build the project then run:
$ make export-sdk

it fails with:

DEBUG: Executing shell function do_compile

/work/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-wrlinuxsdk-linux/../../libexec/x86_64-wrlinuxsdk-linux/gcc/x86_64-wrlinuxsdk-linux/4.6.4/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
...
ERROR: Function failed: do_compile (see /work//bitbake_build/tmp/work/x86_64-nativesdk-wrlinuxsdk-linux/toolchain-wrappers-cross-canadian-i586-1.0-r16/temp/do_compile/log.do_compile.4104 for further information)

 




Other Downloads


Live chat
Online