[Buildroot] [BUG] host-python-2.7.16 fails to build on aarch64, luajit fails for soft float

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Jul 1 10:01:13 UTC 2019

Hello Petr,

Thanks for your bug report. See below for some comments. Adding
François Perrad in Cc about the LuaJIT bump.

On Fri, 28 Jun 2019 19:07:40 +0200
Petr Cvek <petrcvekcz at gmail.com> wrote:

> Trying to build an MIPS system on debian/sid/aarch64 machine fails to build python2 for the host. It seems the current used python has a bundled version of libffi, which doesn't yet support aarch64.
> A temporary solution is to hardcopy libffi-3.3-rc0 into python source tree:
> output/build/host-python-2.7.16/Modules/_ctypes/libffi

For the target python, we're building libffi separately. I guess we
should do the same for host-python, i.e use host-libffi instead of the
bundled libffi.

Could you have a look at implementing this ?

> Alse luajit for the target fails to build for MIPS -msoft-float. This seems to be fixed in 2.1.0-beta3.

There is a patch at http://patchwork.ozlabs.org/patch/1095710/ that
bumps to 2.1.0-beta3, but only for AArch64. I'm not sure what we should
do about this.

Best regards,

Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering

More information about the buildroot mailing list