[luatex] portable fmt between 32-bit/64-bit machines

Michal Vlasák lahcim8 at gmail.com
Tue Feb 8 22:06:55 CET 2022


On Tue Feb 8, 2022 at 9:21 PM CET, luigi scarso wrote:
> Il Mar 8 Feb 2022, 20:54 Michal Vlasák <lahcim8 at gmail.com> ha scritto:
> > Sorry, I also didn't test the LuaTeX repository build, it's hard for me
> > to cross compile and run binaries that excersise byte order issues
> > and/or 16/32/64 bit architectures problems.
>
> Ok , thank you very much.
> Maybe we can use qemu  to check the 32/64 issue ?

To be exact, I did test the previous version of the patch on 64 bit
Linux in both ways (32 bit binary loading 64 bit format and vice versa),
but that was a build in a customized repository, so I can't guarantee
that I didn't mess something up.

I tried to cross compile Lua only to mips (32-bit, big endian) , with
the byte swapping patch, but had no luck running it under Qemu, so just
simulated the swaps with patched dumping. But I tried again now, but on
Debian, and it seems to work.

Sending you the luac binary separately, probably too large for the list.
It can be run with qemu-mips.

Michal



More information about the luatex mailing list.