[yocto] Fail to build core-image-minimal when MACHINE=genericx86-64

Khem Raj raj.khem at gmail.com
Sun Nov 3 12:37:25 PST 2013


On Thu, Oct 31, 2013 at 3:48 PM, Markus Svilans <msvilans at aeonyx.ca> wrote:
> With the help of a friend, have confirmed that 'core-image-minimal' cannot
> be built with Ubuntu 13.10 64-bit when MACHINE=genericx86-64. Attempted the
> build on a different machine in a different city, same results (failure to
> build).
>
> Confirmed that 'core-image-minimal' can be successfully built under an lxc
> and a chroot running Debian Wheezy, on Ubuntu 13.10 64-bit, with
> MACHINE=genericx86-64.
>
> Filed bug 5440 on Yocto Bugzilla.
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=5440
>

accidentally I was able to reproduce it. So it seems that syslinux
depends on compiler supporting 32bit+64bit mix
and it has probes to enquire the compiler for supporting the above.
Now if you have standard install of ubuntu you
do not have gcc-multilib installed and hence the problem.

So, I would say the fix is to install gcc-multilib package on
debian-like systems and something similar for other distros

sudo apt-get install gcc-multilib

and then clean build syslinux-native should get you going



More information about the yocto mailing list