Wind River Support Network

HomeDefectsLIN6-9340
Fixed

LIN6-9340 : toolchain-wrappers do not support multilib

Created: Jan 28, 2015    Updated: Dec 3, 2018
Resolved Date: Apr 7, 2015
Found In Version: 6.0,6.0.0.16
Fix Version: 6.0.0.18
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Toolchain

Description

When using the --with-template=feature/toolchain-wrappers old LDAT-style wrappers are created for use with the SDK. If multilib is also enabled then wrappers should exist for both the 64- and 32-bit toolchain, but this does not happen, only the primary (64-bit) wrappers are created.

Steps to Reproduce

$ configure --enable-board=intel-x86-64 \
        --enable-rootfs=glibc_std --enable-kernel=preempt_rt \
        --with-template=feature/toolchain-wrappers

Edit local.conf to add:
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

$ make export-sdk

Install the SDK.

Check SDK for wrappers and you see the following:

$  find . -name '*-gcc' -exec ls -l {} \;
lrwxrwxrwx 1 user user 17 Jan 27 16:13
./sysroots/x86_64-wrlinuxsdk-linux/usr/bin/x86_64-wrs-linux/x86_64-wrswrap-linux-gnu-gcc
-> x86-64-tc-wrapper
lrwxrwxrwx 1 user user 42 Jan 27 16:13
./sysroots/x86_64-wrlinuxsdk-linux/usr/bin/x86_64-wrs-linux/i686-wrs-linux-gnu-gcc
-> ../../toolchain/bin/i686-wrs-linux-gnu-gcc
lrwxrwxrwx 1 user user 22 Jan 27 16:13
./sysroots/x86_64-wrlinuxsdk-linux/usr/bin/x86_64-wrs-linux/x86_64-wrs-linux-gcc
-> i686-wrs-linux-gnu-gcc
lrwxrwxrwx 1 user user 22 Jan 27 16:13
./sysroots/x86_64-wrlinuxsdk-linux/usr/bin/i586-wrsmllib32-linux/i586-wrsmllib32-linux-gcc
-> i686-wrs-linux-gnu-gcc
lrwxrwxrwx 1 user user 42 Jan 27 16:13
./sysroots/x86_64-wrlinuxsdk-linux/usr/bin/i586-wrsmllib32-linux/i686-wrs-linux-gnu-gcc
-> ../../toolchain/bin/i686-wrs-linux-gnu-gcc
-rwxr-xr-x 1 user user 698416 Dec 25 05:53
./sysroots/x86_64-wrlinuxsdk-linux/usr/toolchain/bin/i686-wrs-linux-gnu-gcc

No wrappers for the 32-bit toolchain.

Other Downloads


Live chat
Online