Wind River Support Network

HomeDefectsLIN8-5000
Fixed

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: 8.0.0.10
Fix Version: 8.0.0.11
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Toolchain

Description

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.

Workaround

(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.
exit
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
Online