The attached patch disables usage of LLVM JIT on riscv64, which was causing the error I reported in comment #3.
I obtained this patch from the following Debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004039
This patch, combined with the previous one, seems to work well on the Sipeed Lichee RV board. I have tested this with ubuntu-frame and a custom-built mesa-core20 snap containing the drivers built using these patches.
The attached patch disables usage of LLVM JIT on riscv64, which was causing the error I reported in comment #3.
I obtained this patch from the following Debian bug report: https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 1004039
This patch, combined with the previous one, seems to work well on the Sipeed Lichee RV board. I have tested this with ubuntu-frame and a custom-built mesa-core20 snap containing the drivers built using these patches.