Wind River Support Network

HomeDefectsLIN6-8567
Fixed

LIN6-8567 : IA32 Shared libs missing in exported multilib toolchain

Created: Oct 14, 2014    Updated: Dec 3, 2018
Resolved Date: Oct 29, 2014
Found In Version: 6.0.0.12
Fix Version: 6.0.0.14
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

After exporting the generated toolchain in a multilib project (lib32) some essential 32 bits shared libs are missing:
x86_64-wrs-linux/usr/lib/libstdc++.so ,
x86_64-wrs-linux/lib/libgcc_s.so,
...
 The binaries libstdc++.so.6.0.18 and libstdc++.6 are present, but the symbolic link libstdc++.so are missing.

On the other hand the 64-bits version of crt[1in] are missing.
 
the lib64 symlinks are well present.

Steps to Reproduce

1.
configure a project like this:
/net/ala-lpd-test2/data/fast_prod/wrlinuxcgp-60012/lp01_14sp/wrlinux-6/wrlinux/configure --enable-board=intel-x86-64 --enable-rootfs=glibc-core --enable-kernel=standard --enable-build=production --enable-parallel-pkgbuilds=12 --enable-jobs=12 --enable-reconfig --enable-checkout-all-layers --with-layer=meta-selinux,wr-security,cgp --with-template=feature/kvm 

2.
build and run:
$ make export-sdk

3.
unpack the toolchain and check the sysroots folder

RESULTS:

find sysroots/x86_64-wrs-linux/ -name "libgcc*.so*"
sysroots/x86_64-wrs-linux/lib/.debug/libgcc_s.so.1
sysroots/x86_64-wrs-linux/lib/libgcc_s.so
sysroots/x86_64-wrs-linux/lib/libgcc_s.so.1
file sysroots/x86_64-wrs-linux/lib/libgcc_s.so.1
sysroots/x86_64-wrs-linux/lib/libgcc_s.so.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
-> the 64 bits version are missing but they can be found in sysroots/x86_64-wrlinuxsdk-linux/lib/libgcc_s.so.1, is it the wrong location?
with on additional problem the symlink is missing.

$ find sysroots/ -name "crt[1rn]*.o"
sysroots/x86_64-wrs-linux/usr/lib/crtn.o
sysroots/x86_64-wrs-linux/usr/lib/crt1.o
-bash-3.2$ file sysroots/x86_64-wrs-linux/usr/lib/crtn.o
sysroots/x86_64-wrs-linux/usr/lib/crtn.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
-> the 64 bits version are missing

Other Downloads


Live chat
Online