Wind River Support Network


LIN8-5000 : failed to enable static build after adding --enable-sdkimage-staticlibs=yes in project

Created: Oct 28, 2016    Updated: Dec 3, 2018
Resolved Date: Oct 31, 2016
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Toolchain


Customer want to do static build with exported sdk, but after adding --enable-sdkimage-staticlibs=yes into project and reexported sdk, the new sdk still can not support static build.


(1) For existing project:
Edit bitbake_build/conf/local.conf, and uncomment (remove leading ) the following line:
#SDKIMAGE_FEATURES_append = " staticdev-pkgs"

make bbs
bitbake $DEFAULT_IMAGE -c clean # so that the sdk is regenerated.
make export-sdk

(2) To fix the installation
Make a backup of the layers/wrlcompat/scripts/configure file, and apply the attached patch in layers/wrlcompat folder

Steps to Reproduce

It can be seen build project with:
configure --enable-board=fsl_ls10xx --enable-kernel=standard --enable-rootfs=glibc_std --enable-reconfig --enable-sdkimage-staticlibs=yes --with-rcpl-version=0010

Then install exported sdk, build a aplication with -static parameter will see some static lib library can not be found

Other Downloads

Live chat