[yocto] Fail to build core-image-minimal when MACHINE=genericx86-64
Markus Svilans
msvilans at aeonyx.ca
Sun Nov 3 16:43:26 PST 2013
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?
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
More information about the yocto
mailing list