[yocto] Build core2 (i686) U-Boot for a core-i7 (amd64) image

Khem Raj raj.khem at gmail.com
Mon Jul 17 19:49:51 PDT 2017


On Mon, Jul 17, 2017 at 3:02 PM, Ferry Toth <ftoth at telfort.nl> wrote:
> On edison U-Boot is 32 bit. I'm building a 64 bit kernel + rootfs.
>
> The only recipy that fails is U-Boot with:
> undefined reference to `__normal___udivdi3'
>

this means gcc is generating a helper call which it assumes libgcc will provide
but here the toolchain in multilib env might be not providing it.

One solution is to rewrite the code such that this call is not generated by
gcc. So help the compiler.

> Apparently, when building 32 bit U-Boot outside of yocto on a 64bit
> machine you need to install gcc-6-multilib.
>
> How would I configure poke or change the recipe to do the same?
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list