Bug 13990 - LuaJIT does not support riscv64
Summary: LuaJIT does not support riscv64
Status: NEW
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: unspecified Unspecified
: - Unknown - Crash
Assignee: Michael Tremer
QA Contact: Arne.F
URL:
Keywords:
Depends on:
Blocks: KRESD
  Show dependency treegraph
 
Reported: 2026-05-26 16:44 UTC by Michael Tremer
Modified: 2026-05-26 16:44 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ]