Bug 13990

Summary: LuaJIT does not support riscv64
Product: IPFire Reporter: Michael Tremer <michael.tremer>
Component: ---Assignee: Michael Tremer <michael.tremer>
Status: NEW --- QA Contact: Arne.F <arne.fitzenreiter>
Severity: Crash    
Priority: - Unknown -    
Version: 2   
Hardware: unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 13972    

Description Michael Tremer 2026-05-26 16:44:51 UTC
There does not seem to be a version of LuaJIT that supports riscv64 at the moment which means that we won't be able to run Knot Resolver on this architecture.

We need to find an alternative and even a regular Lua interpreter would be an option if at all supported by Knot.

> luajit (2.1.0-beta3)                                                    [        5 ][ FAIL ]
> 
>    lj_arch.h:69:2: error: #error "No support for this architecture (yet)"
>    69 | #error "No support for this architecture (yet)"
>    |  ^~~~~
>    lj_arch.h:439:2: error: #error "No target architecture defined"
>    439 | #error "No target architecture defined"
>    |  ^~~~~
>    lj_arch.h:69:2: error: #error "No support for this architecture (yet)"
>    69 | #error "No support for this architecture (yet)"
>    |  ^~~~~
>    lj_arch.h:439:2: error: #error "No target architecture defined"
>    439 | #error "No target architecture defined"
>    |  ^~~~~
>    lj_arch.h:69:2: error: #error "No support for this architecture (yet)"
>    69 | #error "No support for this architecture (yet)"
>    |  ^~~~~
>    lj_arch.h:439:2: error: #error "No target architecture defined"
>    439 | #error "No target architecture defined"
>    |  ^~~~~
>    lj_arch.h:69:2: error: #error "No support for this architecture (yet)"
>    69 | #error "No support for this architecture (yet)"
>    |  ^~~~~
>    lj_arch.h:439:2: error: #error "No target architecture defined"
>    439 | #error "No target architecture defined"
>    |  ^~~~~
>    Makefile:271: *** Unsupported target architecture.  Stop.
>    make[2]: Leaving directory '/usr/src/luajit-2.0-a04480e/src'
>    make[1]: *** [Makefile:163: amalg] Error 2
>    make[1]: Leaving directory '/usr/src/luajit-2.0-a04480e'
>    make: *** [luajit:77: /usr/src/log/luajit-2.1.0-beta3] Error 2
>    make: Leaving directory '/usr/src/lfs'
> 
> ERROR: Building luajit                                                  [ FAIL ]