[yocto] Questions based on sysroot testing
Zhang, Jessica
jessica.zhang at intel.com
Mon Nov 15 12:05:22 PST 2010
Hi Richard,
As we'll allow dynamic setup sysroot for app developers, I've done some
testing and here are some findings that want to further discuss with you:
1. We talked about using qemu rootfs as target sysroot, some I've tried pass
"--sysroot" to cross gcc and tested against one of our existing testing app,
cvs. The cvs project client.c is using gssapi.h, with the sysroot option,
it'll strictly looking for target include within the sysroot setup, so it
failed at finding "gssapi.h". While our original sysroots under /opt/poky,
even we don't have gssapi.h under our sysroot, but since we're not using
--sysroot option to enforce searching target libraries and include files, it
was able to use the gssapi.h under /usr/include/gssapi. My question here is
which one is the desired behavior, the --sysroot enforcement which means
we/user need to include everything needed in the sysroot, or the current
/opt/poky sysroot behavior that uses the host setting as the 2nd choice...
2. Under our /opt/poky/sysroot, we have target sysroot(e.g.
i586-poky-linux), and host sysroot (i586-pokysdk-linux), for the user
sysroot setup, I don't think we need to copy the host sysroot under the usr
sysroort setup dir, seems for the specific arch, the host sysroot will be
fixed, only the target sysroot may change even for the same target arch
which we'll use target qemu rootfs, is this correct?
Thanks,
Jessica
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20101115/76d9f17e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 8455 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20101115/76d9f17e/attachment.bin>
More information about the yocto
mailing list