Wind River Support Network

HomeDefectsLIN5-19563
Fixed

LIN5-19563 : WRL5: Project build directory paths referenced in scripts/binaries/etc in target rootfs - libtool

Created: Oct 15, 2014    Updated: Dec 19, 2017
Resolved Date: Nov 3, 2014
Found In Version: 5.0.1.19
Fix Version: 5.0.1.21
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

wrlinux 5.0.1. 
the resulted libtool contains references about paths from the build host

Steps to Reproduce

1. configure and build a wrlinux 5.0.1 project based on: 

configure --enable-board=qemux86-64 --enable-build=production --enable-kernel=cgl --enable-rootfs=glibc_cgl --enable-ccache=no --enable-jobs=10 --enable-parallel-pkgbuilds=16 --enable-reconfig --enable-rm-work=yes --with-template=feature/openssl101e --enable-bootimage=, --without-layer=, --without-template=wr-cgp/cgp/templates/feature/cgp-full/template.conf,wr-cgp/cgp/templates/feature/cgp-full/image.inc,wr-dpdk/templates/default/template.conf,wr-dpdk/templates/default/image.inc --enable-doc-pages=none --with-rcpl-version=0019

2. add libtool: make -C build libtool.addpkg & build project

3. less export/dist/usr/bin/libtool | grep rcpl
LTCC="x86-64-wrswrap-linux-gnu-gcc   -m64 --sysroot=/workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64"
lt_sysroot=/workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64
sys_lib_search_path_spec="/installs/wrlinux501/wrlinux-5/layers/wr-toolchain/4.6a-136/lib/gcc/i686-wrs-linux-gnu/4.6.3/64 /installs/wrlinux501/wrlinux-5/layers/wr-toolchain/4.6a-136/i686-wrs-linux-gnu/lib64 /workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64/lib64 /workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64 /installs/wrlinux501/wrlinux-5/layers/wr-toolchain/4.6a-136/lib/gcc/i686-wrs-linux-gnu/4.6.3 /installs/wrlinux501/wrlinux-5/layers/wr-toolchain/4.6a-136/lib/gcc "
LD="x86-64-wrswrap-linux-gnu-ld --sysroot=/workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64   -m elf_x86_64 -m elf_x86_64"
CC="x86-64-wrswrap-linux-gnu-gcc   -m64 --sysroot=/workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64"
LD="x86-64-wrswrap-linux-gnu-ld --sysroot=/workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64   -m elf_x86_64 -m elf_x86_64"
CC="x86-64-wrswrap-linux-gnu-g++   -m64 --sysroot=/workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64"
compiler_lib_search_dirs="/installs/wrlinux501/wrlinux-5/layers/wr-toolchain/4.6a-136/bin/../lib/gcc/i686-wrs-linux-gnu/4.6.3/64 /installs/wrlinux501/wrlinux-5/layers/wr-toolchain/4.6a-136/bin/../lib/gcc/i686-wrs-linux-gnu/4.6.3/../../../../i686-wrs-linux-gnu/lib/../lib64 /workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64/lib64/../lib64 /workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64/../lib64 /installs/wrlinux501/wrlinux-5/layers/wr-toolchain/4.6a-136/bin/../lib/gcc/i686-wrs-linux-gnu/4.6.3 /installs/wrlinux501/wrlinux-5/layers/wr-toolchain/4.6a-136/bin/../lib/gcc /installs/wrlinux501/wrlinux-5/layers/wr-toolchain/4.6a-136/bin/../lib/gcc/i686-wrs-linux-gnu/4.6.3/../../../../i686-wrs-linux-gnu/lib /workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64/lib64 /workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64"
predep_objects="/workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64/../lib64/crti.o /installs/wrlinux501/wrlinux-5/layers/wr-toolchain/4.6a-136/bin/../lib/gcc/i686-wrs-linux-gnu/4.6.3/64/crtbeginS.o"
postdep_objects="/installs/wrlinux501/wrlinux-5/layers/wr-toolchain/4.6a-136/bin/../lib/gcc/i686-wrs-linux-gnu/4.6.3/64/crtendS.o /workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64/../lib64/crtn.o"
compiler_lib_search_path="-L/installs/wrlinux501/wrlinux-5/layers/wr-toolchain/4.6a-136/bin/../lib/gcc/i686-wrs-linux-gnu/4.6.3/64 -L/installs/wrlinux501/wrlinux-5/layers/wr-toolchain/4.6a-136/bin/../lib/gcc/i686-wrs-linux-gnu/4.6.3/../../../../i686-wrs-linux-gnu/lib/../lib64 -L/workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64/lib64/../lib64 -L/workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64/../lib64 -L/installs/wrlinux501/wrlinux-5/layers/wr-toolchain/4.6a-136/bin/../lib/gcc/i686-wrs-linux-gnu/4.6.3 -L/installs/wrlinux501/wrlinux-5/layers/wr-toolchain/4.6a-136/bin/../lib/gcc -L/installs/wrlinux501/wrlinux-5/layers/wr-toolchain/4.6a-136/bin/../lib/gcc/i686-wrs-linux-gnu/4.6.3/../../../../i686-wrs-linux-gnu/lib -L/workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64/lib64 -L/workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64"
LD="x86-64-wrswrap-linux-gnu-ld --sysroot=/workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64   -m elf_x86_64 -m elf_x86_64"
CC="x86-64-wrswrap-linux-gnu-g77   -m64 --sysroot=/workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64"
LD="x86-64-wrswrap-linux-gnu-ld --sysroot=/workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64   -m elf_x86_64 -m elf_x86_64"
LD="x86-64-wrswrap-linux-gnu-ld --sysroot=/workspace/eri_rcpl19/bitbake_build/tmp/sysroots/qemux86-64   -m elf_x86_64 -m elf_x86_64"


(please note that I have grepped for "rcpl19" as this was only a part of the directory's name. please adjust this accordingly, to your environment)

Other Downloads


Live chat
Online