<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/lua/luajit2/patches/030-PPC-Fix-ipairs-on-soft-float-targets.patch, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-08-15T09:29:16Z</updated>
<entry>
<title>luajit2: fix build and runtime on powerpc</title>
<updated>2026-08-15T09:29:16Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-15T09:21:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=a6b248d6b808710c325f1295773baf7b242123b7'/>
<id>urn:sha1:a6b248d6b808710c325f1295773baf7b242123b7</id>
<content type='text'>
luajit2 currently fails to link for powerpc: lj_vm.o emits PLT calls
that force BSS-PLT, which the inline-PLT relocations emitted by GCC 12
and newer do not support. Add the same GOT-based fix that
lang/lua/luajit has carried as 060-ppc-musl.patch since 2019.

With that in place the package builds, but ipairs() and pairs() turn
out to be broken on 32-bit big-endian soft-float targets. Both are
regressions in luajit2's PPC64 patch and do not affect upstream
LuaJIT. To be submitted to openresty/luajit2 as well.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
</feed>
