[pkg-lua-devel] Bug#1087838: luajit: Add loongarch64 support for the lastest version

Xiaolin Zhao zhaoxiaolin at loongson.cn
Tue Nov 19 12:38:24 GMT 2024


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

Dear maintainers,

We have submitted a patch based on version 2.1.0+openresty20231117-2, 
see Bug#1067890, and it has been merged into branch 
2.1.0+openresty20240815-1.1.
However, the merged new code cannot successfully build luajit on the 
loong64 platform. After analysis, it was found that the patch about 
loong64 in src/lj_arch.h was mistakenly merged into the if branch of 
RISCV64, resulting in a build error: lj_arch.h:521:2: error: #error "No 
target architecture defined"

In order to better support the loong64 architecture, we have regenerated 
a patch based on version 2.1.0+openresty20240815-1.1, which can be used 
to directly replace 0004_support_loong64.patch without additional work.

Please review the code.

-- 
thanks,
Xiaolin Zhao



More information about the pkg-lua-devel mailing list