[yocto] question about SDKMACHINE, SDK_ARCH and BUILD_ARCH

Zhang, Jessica jessica.zhang at intel.com
Thu Jan 13 15:36:27 PST 2011


Hi Richard,
 
As I mentioned in IRC, we've noticed that bitbake behaves differently on
64bit and 32bit machines from SDKMACHINE setup perspective.  It never
enforces SDKMACHINE to be set in local.conf for 64bit users but for 32bit
user, if you leave SDKMACHINE unset, the bitbake sanity test will fail and
prompts user to set the SDKMACHINE to i586.
 
It seems internally we really use SDK_ARCH which derived from BUILD_ARCH
that reflects the poky build machines arch.  And for bitbake sanity check if
it sees SDK_ARCH is i686, it will prompts user to set SDKMACHINE to i586
since there's a known issue for this case can't use the default build
machine arch of i686.
 
Questions are:
1. what  is the known issue for using i686?
2. If we can't resolve the issue for i686, then shouldn't we set the
SDK_ARCH to i586 as default if the BUILD_ARCH is i686, this way, bitbake
will behave consistent for 32bit and 64bit if user leave the SDKMACHINE
unset...
 
Comments?
 
Thanks,
Jessica
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20110113/f4a1ea7e/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/20110113/f4a1ea7e/attachment.bin>


More information about the yocto mailing list