Wind River Support Network

HomeDefectsLIN7-291
Fixed

LIN7-291 : license-flags-blacklist option prevents export of toolchain libs in multilib SDK context

Created: Jul 23, 2014    Updated: Mar 4, 2016
Resolved Date: Jul 23, 2014
Fix Version: 7.0
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

When enabling the option of "--with-license-flags-blacklist=GPLv3,LGPLv3" in a project with both multilib (x32 and x64) verions of the toolchain included, the exported SDK miss some of the toolchain libs.

Steps to Reproduce

1.
wrlinux-x/wrlinux/configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc-core -with-license-flags-blacklist=GPLv3,LGPLv3 --with-rcpl-version=0006

2.
$ make -C build eglibc-sourcery-binary-utils.addpkg
$ make -C build lib32-eglibc-sourcery-binary-utils.addpkg

3.
build the project then run:
$ make; make export-sdk 
:
$ find sysroots -name "crt[1in].o"
sysroots/x86_64-wrs-linux/usr/lib64/crt1.o
sysroots/x86_64-wrs-linux/usr/lib64/crti.o
sysroots/x86_64-wrs-linux/usr/lib64/crtn.o
$ find sysroots -name "syscall*.h"
sysroots/x86_64-wrs-linux/usr/include/sys/syscall.h
sysroots/x86_64-wrs-linux/usr/include/bits/syscall-64.h
sysroots/x86_64-wrs-linux/usr/include/bits/syscall.h
sysroots/x86_64-wrs-linux/usr/include/syscall.h
$ find sysroots -name "libcom_err*"
sysroots/x86_64-wrs-linux/lib/libcom_err.so.2
sysroots/x86_64-wrs-linux/lib/libcom_err.so.2.1
sysroots/x86_64-wrs-linux/lib64/libcom_err.so.2
sysroots/x86_64-wrs-linux/lib64/libcom_err.so.2.1

4.
then build another project w/o -with-license-flags-blacklist=GPLv3,LGPLv3 and you will find all the necessary libs in both /lib and /lib64:
$ find sysroots -name "crt[1in].o"
sysroots/x86_64-wrs-linux/usr/lib/crt1.o
sysroots/x86_64-wrs-linux/usr/lib/crti.o
sysroots/x86_64-wrs-linux/usr/lib/crtn.o
sysroots/x86_64-wrs-linux/usr/lib64/crt1.o
sysroots/x86_64-wrs-linux/usr/lib64/crti.o
sysroots/x86_64-wrs-linux/usr/lib64/crtn.o
$ find sysroots -name "syscall*.h"
sysroots/x86_64-wrs-linux/usr/include/sys/syscall.h
sysroots/x86_64-wrs-linux/usr/include/bits/syscall-64.h
sysroots/x86_64-wrs-linux/usr/include/bits/syscall-32.h
sysroots/x86_64-wrs-linux/usr/include/bits/syscall.h
sysroots/x86_64-wrs-linux/usr/include/syscall.h
$ find sysroots -name "libcom_err*"
sysroots/x86_64-wrs-linux/lib/.debug/libcom_err.so.2.1
sysroots/x86_64-wrs-linux/lib/libcom_err.so
sysroots/x86_64-wrs-linux/lib/libcom_err.so.2
sysroots/x86_64-wrs-linux/lib/libcom_err.so.2.1
sysroots/x86_64-wrs-linux/lib64/.debug/libcom_err.so.2.1
sysroots/x86_64-wrs-linux/lib64/libcom_err.so
sysroots/x86_64-wrs-linux/lib64/libcom_err.so.2
sysroots/x86_64-wrs-linux/lib64/libcom_err.so.2.1

Live chat
Online