Fixed
Created: Sep 3, 2024
Updated: Sep 22, 2024
Resolved Date: Sep 17, 2024
Found In Version: 10.23.30.11
Fix Version: 10.23.30.13
Severity: Standard
Applicable for: Wind River Linux LTS 23
Component/s: Userspace
After added "rt-tests" and "lib32-rt-tests" on local.conf, "bitbake wrlinux-image-std" was successful.
The target rootfs has only rt-tests(64bit binary). There was no lib32-rt-tests(32bit binary).
1. Build steps
$ ./wrlinux-x/setup.sh --machines intel-x86-64 --dl-layers --templates feature/chrony feature/kdump feature/kexec feature/kernel-dev
$ . ./environment-setup-x86_64-wrlinuxsdk-linux
$ . ./oe-init-build-env build.esdk
local.conf:
---
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
AVAILTUNES += "x86 x86-64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE:virtclass-multilib-lib32 = "x86"
IMAGE_INSTALL:append = " lib32-glibc"
TOOLCHAIN_TARGET_TASK:append = " lib32-glibc"
# libbpf
IMAGE_INSTALL:append = " libbpf"
# Add kdump
IMAGE_INSTALL:append = " kernel-vmlinux"
IMAGE_INSTALL:append = " kernel-dbg"
KERNEL_IMAGETYPES:append = " vmlinux"
IMAGE_EFI_BOOT_FILES:append = " vmlinux"
IMAGE_INSTALL:append = " rt-tests"
IMAGE_INSTALL:append = " lib32-bash lib32-numactl lib32-rt-tests"
---
$ bitbake wrlinux-image-std 2>&1 | tee wrlimg-rt.log
2. Checking rt-tests and lib32-rt-tests binaries
*manifest has rt-tests and lib32-rt-tests:*
$ cat tmp-glibc/deploy/images/intel-x86-64/wrlinux-image-std-intel-x86-64.manifest | grep rt-test
lib32-rt-tests x86 2.5
rt-tests corei7_64 2.5
*Only rt-tests(64bit binary) in target rootfs. There was no lib32-rt-tests(32bit binary).*
$ find tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-std/1.0-r5/rootfs/ | grep cyclictest
tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-std/1.0-r5/rootfs/usr/bin/cyclictest
$
$ file tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-std/1.0-r5/rootfs/usr/bin/cyclictest
tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-std/1.0-r5/rootfs/usr/bin/cyclictest: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), BuildID[sha1]=9b202f4919ad46926f5fdd5b3f54b608ef489b57, for GNU/Linux 3.2.0, stripped