Skip to content

Enable gstream packages and disable luajit

Josef Schlehofer requested to merge disable-luajit-turris1x into v4.0

Luajit is not being compiled for powerpc since OpenWrt 18.06. CPU used in Turris 1.x routers should support FPU, but it might require tweaks and it can be better if we use https://github.com/PPC64/LuaJIT , but let's try in the future.

Build log: https://downloads.openwrt.org/releases/faillogs-18.06/powerpc_8540/packages/luajit/

lj_arch.h:427:2: error: #error "No support for PPC/e500 anymore (use LuaJIT 2.0)"
 #error "No support for PPC/e500 anymore (use LuaJIT 2.0)"
  ^~~~~
lj_arch.h:418:2: error: #error "No support for PowerPC CPUs without double-precision FPU"
 #error "No support for PowerPC CPUs without double-precision FPU"
  ^~~~~

It will be cherry-picked into v4.1 branch. Commit: b09122cc can not be cherry-picked as it is to branches v5.0 and master due to different dependencies. But removing powerpc should be there as well.

Anyway, two reverted commits are being compiled by OpenWrt buildbots and compile tested locally. Suricata with disabled luajit is even run tested. Pakon works.

Merge request reports