Wind River Support Network

HomeDefectsLIN6-8488
Fixed

LIN6-8488 : wrlinux 6 - /etc/ld.so.cache is empty for 64bit targets

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

Description

There is still a problem on PowerPC 64bit with big endian (using fsl-t4xxx bsp with 64bit tune).

This is caused by a problem in ldconfig-native package, as it does not parse the ELF headers correctly in the 64 bit case.
For some header fields that are 64 bits wide it only reads 32 bits. This works in the little-endian case, but for big-endian we get size 0 and does not include the libraries to the cache.

With the attached patch (fix_64bit_elf_parsing.patch) it works with both endianess.

Workaround

please refer to the attached patch

Steps to Reproduce

configure --with-layer=wr-freescale_qoriq_dpaa --enable-build=production --enable-rootfs=glibc_std --enable-kernel=standard --enable-board=fsl_t4xxx --enable-reconfig --enable-parallel-pkgbuilds=7 --enable-jobs=32 --enable-unsupported-config=yes --with-rcpl-version=0011

make bbs
bitbake lib64-wrlinux-image-glibc-std

Other Downloads


Live chat
Online