Wind River Support Network

HomeDefectsLIN5-19021
Fixed

LIN5-19021 : CLONE - license-flags-blacklist option prevents export of toolchain libs in multilib SDK context

Created: Jul 4, 2014    Updated: Dec 19, 2017
Resolved Date: Jul 7, 2014
Previous ID: LIN6-7870
Found In Version: 5.0.1.15
Fix Version: 5.0.1.17
Severity: Standard
Applicable for: Wind River Linux 5
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

Other Downloads


Live chat
Online