[yocto] override SITEINFO_BITS?

Khem Raj raj.khem at gmail.com
Thu Dec 1 17:35:54 PST 2011


On (01/12/11 18:16), Trevor Woerner wrote:
> Hi,
> 
> First time building Yocto (but have been using OE) on an openSUSE 11.4
> 64-bit host:
> $ bitbake core-image-minimal
> 
> One of the first steps is to build pseudo-native. As it turns out I
> have the glibc-devel-32bit package installed on my machine. This
> appears to confuse meta/classes/siteinfo.bbclass into thinking I'm on
> a 32-bit machine. Pseudo, as a consequence, gets misconfigured and
> fails to build. Removing the glibc-devel-32bit package solves the
> problem.

what errors do u get ? can you post the build configuration that bitbake
dumps at very beginning of your build.

probably its because of 
if [ "${SITEINFO_BITS}" == "64" -a -e "/usr/include/gnu/stubs-32.h" -a
"${PN}" == "pseudo-native" -a "${NO32LIBS}" != "1" ]; then

and when you have glibc-devel-32bit
/usr/include/gnu/stubs-32.h exists and the above check passes somehow

so whats NO32LIBS set to in your local.conf ?
-- 
-Khem



More information about the yocto mailing list