[yocto] Build failures on yocto

Richard Purdie rpurdie at linux.intel.com
Tue Nov 2 04:27:04 PDT 2010


On Tue, 2010-11-02 at 10:03 +0000, Hector Oron wrote:
> > At a guess this is a 64 bit kernel and a 32 bit userspace? What does
> > "uname -a" show?
> 
> Yes, it is 64 bit kernel host running a 32 bit userland.
> Linux enorme 2.6.32-5-amd64 #1 SMP Fri Sep 17 21:50:19 UTC 2010 x86_64 GNU/Linux
> 
> > I suspect if you add
> >
> > BUILD_ARCH = "i686"
> >
> > to your local.conf, the build might work better? If you can confirm that
> > we can probably detect this problem and avoid this failure.
> 
> Build attempted with
> BUILD_ARCH="i686" BB_NUMBER_THREADS="2" PARALLEL_MAKE="-j 2"
> MACHINE=$(BOARD) bitbake $(YOCTO_IMAGE)
> got same result as above.

Only certainly variables can be passed through the environment. Can you
put the line in local.conf please and retry as otherwise it won't have
any effect.

> > Same as the above failure (64 bit kernel and 32 bit userspace)?
> 
> Sure.
> 
> >>   others|*)
> >> cat <<EOF
> >>     - I need to setup "vm.mmap_min_addr = 0" under /etc/sysctl.conf
> >
> > Right, but it detected that?
> 
> If it was not set, scripts warn about it, once you set it up, it goes through.

Ok, good.

Cheers,

Richard




More information about the yocto mailing list