[yocto] runqemu-extract-sdk does not provide all required libraries in rootfs

Mihail, StanciuX stanciux.mihail at intel.com
Tue Jan 6 01:23:15 PST 2015


Hi Lachlan,

I just tried this on the “daisy” branch and I can find all the libraries you mention as being missing.
Are you using core-image-sato-sdk as the “base” image?
As far as I know 1.6.2 hasn’t been released yet, so what commit are you using?

Regards,
Mihail

From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of peterengcomau001 at adam.com.au
Sent: Sunday, December 21, 2014 4:54 PM
To: yocto at yoctoproject.org
Subject: [yocto] runqemu-extract-sdk does not provide all required libraries in rootfs


I am using poky 1.6.2. I am using the build chain created using $bitbake meta-ide-support.

If I create a rootfs using ADT I can use Eclipse to test against qemu all OK but this is not the target rootfs so its use is limited
If I create a rootfs using $ bitbake image -c populate_sdk then run the shell script, the rootfs created has all the required libraries, but it does not create a directory called pseudo_state, and qemu fails to work because of this.
If I create a rootfs with runqemu-extract-sdk on the image I created using $ bitabke image, the resulting rootfs has the required pseudo_state directory but is missing crucial libraries.

The missing libraries are
crt1.o, crti.o, ctrn.o, crtbegin.o, crtend.o, crtn.o, libc.so, libc_nonshared.a, libgcc.a, libgcc_s.so, libgcc_s.so.1.

I can import these libraries from the rootfs created by running the populate_sdk script, but I get many errors. The first errors indicate it cannot find stdio.h.

I have attached the config.log file. There are so many errors but some one may be able to infer something from it.

It seems to me that I am missing a setting when I execute 'runqemu-extract-sdk' otherwise all the required libraries would be there and I wouldnt get a compatibility issue with libraries created from a separate process (but same source).

Can anyonee indicate where I should look to understand why runqemu-extract-sdk is not building all of the required libraries , or how I can overcome the problem ?

Thank You
Lachlan



---- Message sent via Adam Internet WebMail - http://www.adam.com.au/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150106/0711100a/attachment.html>


More information about the yocto mailing list