Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [BUG] host-python-2.7.16 fails to build on aarch64, luajit fails for soft float
@ 2019-06-28 17:07 Petr Cvek
  2019-07-01 10:01 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Cvek @ 2019-06-28 17:07 UTC (permalink / raw)
  To: buildroot

Hello,

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] [BUG] host-python-2.7.16 fails to build on aarch64, luajit fails for soft float
  2019-06-28 17:07 [Buildroot] [BUG] host-python-2.7.16 fails to build on aarch64, luajit fails for soft float Petr Cvek
@ 2019-07-01 10:01 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-07-01 10:01 UTC (permalink / raw)
  To: buildroot

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@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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-01 10:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-28 17:07 [Buildroot] [BUG] host-python-2.7.16 fails to build on aarch64, luajit fails for soft float Petr Cvek
2019-07-01 10:01 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox