[OE-core] Issue of Yocto multilib sdk

Sardan Alexandru Cezar-B41700 B41700 at freescale.com
Fri Aug 2 10:10:27 UTC 2013


> 
> There could be several issues here:
> 1. default library path for 64bit is wrong... You can inspect it by
> looking at SEARCH_DIR in the linker script. Just run:
> 
> $CC -o mytest -Wl,-verbose mytest.c
> 
> Then you can try to set the library path explicitly with -L. See if it
> works.
> 
> 2. you don't have the 64bit libraries and it falls back to looking into
> /lib or /usr/lib which contain the 32bit libraries...
> 
> Do you have any lib64/ usr/lib64/ in your target sysroot?
> 

[Alex Sardan] Yes, it seems that the 64bit libraries are not being 
installed in the sysroot.
What is the right way of adding them? I tried adding libgcc to 
MULTILIB_IMAGE_INSTALL but it doesn't do the trick.

Thanks,
Alex




More information about the Openembedded-core mailing list