[pkg-lua-devel] Bug#1123573: LuaJIT: Add LoongArch64 support with stability fixes and performance optimizations

黄奇齐 huangqiqi at loongson.cn
Thu Dec 18 08:01:08 GMT 2025


Source: luajit
Version: 2.1.0+openresty20250529
Severity: normal
Tags: sid patch
User: debian-loongarch at lists.debian.org
Usertags: loong64





Dear maintainers,



We are pleased to submit a patch introducing LoongArch64 architecture support to Debian. This implementation delivers two key improvements:

    1. Fix debug_frame and eh_frame CFI for vm_ffi_call to reflect changed stack layout of ra, fp, and arg1 registers.
    2. Fix the bug where the value of FTMP0 is overwritten by calling lj_tab_newkey.

It is worth noting that this patch relies on the 2.1.0+openresty20250529 version and supports rebase on top of the riscv64 patch(patches/0003_support_riscv64.patch).

We have rigorously tested this patch on a variety of LoongArch64 hardware configurations and verified its functional consistency with the mainstream architecture.

Please replace patches/0004_support_loong64.patch with the patch in the email attachment. No additional work is required.

Best regards,
Huang Qiqi


More information about the pkg-lua-devel mailing list