[yocto] SDK with enabled multilib conf, missing compilers

Oleksy, Adam (Nokia - PL/Wroclaw) adam.oleksy at nokia.com
Wed Jan 4 00:52:22 PST 2017


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.



More information about the yocto mailing list