Comment 5 for bug 1544649

Revision history for this message
Breno Leitão (breno-leitao) wrote :

Hi Steve,

Correct, the ppc64el patches in 2.1 does not apply on version 2.0 due to a missing layer called LJ_GC64.

In fact, luajit version 2.0 only supports 32 bits architectures, and has an exception for amd64, that is heavily based on the MAP_32BIT mmap flag. The MAP_32BIT flag is only supported in the x86 world.

In luajit version 2.1 there is a more broad support for 64 bits architecture.

That said, I understand that it would be very hard (and risky) to backport ppc64el support into luajit version 2.0. Moving to version 2.1 would be a better idea, IMO.

Other than that, we tested this patch on powerpc and it works fine also.