[yocto] override SITEINFO_BITS?

Trevor Woerner twoerner at gmail.com
Thu Dec 1 15:16:06 PST 2011


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.

Is there a way to override or define SITEINFO_BITS (maybe in a site
config file) or on the cmdline?

$gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.5/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.5
--enable-ssp --disable-libssp --disable-plugin
--with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux'
--disable-libgcj --disable-libmudflap --with-slibdir=/lib64
--with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --program-suffix=-4.5
--enable-linux-futex --without-system-libunwind --enable-gold
--with-plugin-ld=/usr/bin/gold --with-arch-32=i586 --with-tune=generic
--build=x86_64-suse-linux
Thread model: posix
gcc version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux)

Could this (x86_64-suse-linux) be confusing siteinfo.bbclass?

Best regards,
    Trevor



More information about the yocto mailing list