[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: precompiled code from calls.lua broken on big endian systems
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 16 Aug 2023 15:41:02 -0300
> the calls test fails in Lua 5.4 on big endian platforms (ppc64, s390x),
> please see https://bugzilla.redhat.com/show_bug.cgi?id=2226537 for the
> original report. I suppose it is because the precompiled code added in
> https://github.com/lua/lua/commit/ab859fe59b464a038a45552921cb2b23892343af
> is from a little endian system (eg. x86) and is platform specific, thus
> it won't load correctly on a big endian system. Is there a way how to
> fix it?
For us, it is not worth the effort to make that test portable.
(Endianess is not its only problem.) We added an "if not _port then"
around it to make that clear.
-- Roberto