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

Darren Hart dvhart at linux.intel.com
Thu Nov 7 10:49:22 PST 2013


On Sun, 2013-11-03 at 19:43 -0500, Markus Svilans wrote:
> Hi Khem,
> 
> Per your suggestion, I installed gcc-multilib and was able to build 
> syslinux and core-image-minimal. Wonderful!
> 
> Thank you for having a look at this problem and finding the fix.
> 
> May I suggest that the Ubuntu/Debian section in Yocto Quick Start 
> documentation 
> (https://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html) 
> be updated with this new information? Should I file a bug report to help 
> this happen?
> 

Right, this is a known bug with Debian hosts:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=5054

I didn't know about gcc-multilib though, thanks for calling that out.
Yes this should be added to the qs guide.

Scott can you add gcc-multilib to the package prereqs on the qs guide
for Ubuntu/Debian?

--
Darren

> Best regards,
> Markus
> 
> 
> 
> On 11/03/2013 03:37 PM, Khem Raj wrote:
> > 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
> 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel





More information about the yocto mailing list