[yocto] SDK with enabled multilib conf, missing compilers

Schmitt, Richard Richard.Schmitt at commscope.com
Mon Jan 9 07:59:57 PST 2017


I believe you need to apply a patch that is already in the poky git tree but might not be in the branch you are on.  Try:

git fetch origin
git cherry-pick b6253350fb86d8e54792905342a5892af570d526

Rich

-----Original Message-----
From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Oleksy, Adam (Nokia - PL/Wroclaw)
Sent: Wednesday, January 04, 2017 2:52 AM
To: yocto at yoctoproject.org
Subject: [yocto] SDK with enabled multilib conf, missing compilers

Hi,
I'm int the process of enabling multlib configuration for my distro, by adding following lines to local.conf file:
# Define multilib target
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7athf-neon"

I'm able to produce images, where applications are 32 bits apps, and the system is 64 bits. However, I've faced problems with SDK... Neither 32bit nor 64bit application can be compiled.

I've produced SDK by typink: bitbake
After installing SDK, I get instruction how to source the SDK:
 $ . ~/sdk-multilib/environment-setup-aarch64-poky-linux
 $ . ~/sdk-multilib/environment-setup-armv7ahf-vfp-neon-pokymllib32-linux-gnueabi

When I source environment-setup-armv7ahf-vfp-neon-pokymllib32-linux-gnueabi file, then the environment is set up, e.g.:
$ echo $CC
arm-pokymllib32-linux-gnueabi-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon --sysroot=~/sdk-multilib/sysroots/aarch64-poky-linux

however, arm-pokymllib32-linux-gnueabi-gcc compiler does not exists in the SDK:
$ find /home/oleksy/workspace/sdk-multilib/ -name arm-pokymllib32-linux-gnueabi-gcc | wc -l
0

It exists in directory structure, where SDK was built:
./tmp/sysroots/x86_64-linux/usr/bin/arm-pokymllib32-linux-gnueabi/arm-pokymllib32-linux-gnueabi-gcc

So, it seems that this compiler is built but not included into SDK installer. The question is: how to force putting this compiler into SDK?
I'm using poky jethro (I now there is newer version, but I have to use this) with meta-xilinx (https://github.com/Xilinx/meta-xilinx).

.....................
Best Regards,
Adam Oleksy

Nokia Solutions and Networks Sp. z o.o.
-- 
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list