Public bug reported:

luajit FTBFS on riscv64 with RVA23:

==== Building LuaJIT 2.1 (amalgamation) ====
/usr/bin/make -C src amalg
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
/usr/bin/make all "LJCORE_O=ljamalg.o lj_str_hash.o"
make[4]: Entering directory '/<<PKGBUILDDIR>>/src'
riscv64-linux-gnu-gcc -fPIC -g -O2 -fomit-frame-pointer -Wall  -g -O2 
-Werror=implicit-function-declaration -fno-omit-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -fno-stack-clash-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/luajit-2.1.0+openresty20250117-2build1
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U_FORTIFY_SOURCE  
-DLUA_ROOT=\"/usr\" -DLUA_MULTILIB=\"lib/riscv64-linux-gnu\" 
-DLUA_LJDIR=\"/usr/share/luajit-2.1\" -fno-stack-protector 
-DLUAJIT_UNWIND_EXTERNAL    -c -o lj_init_dyn.o lj_init.c
riscv64-linux-gnu-gcc -g -O2 -fomit-frame-pointer -Wall  -g -O2 
-Werror=implicit-function-declaration -fno-omit-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -fno-stack-clash-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/luajit-2.1.0+openresty20250117-2build1
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U_FORTIFY_SOURCE  
-DLUA_ROOT=\"/usr\" -DLUA_MULTILIB=\"lib/riscv64-linux-gnu\" 
-DLUA_LJDIR=\"/usr/share/luajit-2.1\" -fno-stack-protector 
-DLUAJIT_UNWIND_EXTERNAL    -c -o lj_init.o lj_init.c
gcc -g -O2 -fomit-frame-pointer -Wall  -g -O2 
-Werror=implicit-function-declaration -fno-omit-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -fno-stack-clash-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/luajit-2.1.0+openresty20250117-2build1
 -I. -DLUAJIT_TARGET=LUAJIT_ARCH_riscv64 -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0  
-c -o host/minilua.o host/minilua.c
gcc -g -Wl,-Bsymbolic-functions -Wl,-z,relro   -o host/minilua host/minilua.o 
-lm   
[ -e ../.git ] && git show -s --format=%ct >luajit_relver.txt 2>/dev/null || 
cat ../.relver >luajit_relver.txt 2>/dev/null || :
host/minilua host/genversion.lua
host/minilua ../dynasm/dynasm.lua  -D ENDIAN_LE -D P64 -D JIT -D FFI -D DUALNUM 
-D FPU -D HFABI -D VER= -D RISCV64 -o host/buildvm_arch.h vm_riscv64.dasc
gcc -g -O2 -fomit-frame-pointer -Wall  -g -O2 
-Werror=implicit-function-declaration -fno-omit-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -fno-stack-clash-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/luajit-2.1.0+openresty20250117-2build1
 -I. -DLUAJIT_TARGET=LUAJIT_ARCH_riscv64 -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0  
-c -o host/buildvm.o host/buildvm.c
gcc -g -O2 -fomit-frame-pointer -Wall  -g -O2 
-Werror=implicit-function-declaration -fno-omit-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -fno-stack-clash-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/luajit-2.1.0+openresty20250117-2build1
 -I. -DLUAJIT_TARGET=LUAJIT_ARCH_riscv64 -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0  
-c -o host/buildvm_asm.o host/buildvm_asm.c
gcc -g -O2 -fomit-frame-pointer -Wall  -g -O2 
-Werror=implicit-function-declaration -fno-omit-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -fno-stack-clash-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/luajit-2.1.0+openresty20250117-2build1
 -I. -DLUAJIT_TARGET=LUAJIT_ARCH_riscv64 -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0  
-c -o host/buildvm_peobj.o host/buildvm_peobj.c
gcc -g -O2 -fomit-frame-pointer -Wall  -g -O2 
-Werror=implicit-function-declaration -fno-omit-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -fno-stack-clash-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/luajit-2.1.0+openresty20250117-2build1
 -I. -DLUAJIT_TARGET=LUAJIT_ARCH_riscv64 -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0  
-c -o host/buildvm_lib.o host/buildvm_lib.c
gcc -g -O2 -fomit-frame-pointer -Wall  -g -O2 
-Werror=implicit-function-declaration -fno-omit-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -fno-stack-clash-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/luajit-2.1.0+openresty20250117-2build1
 -I. -DLUAJIT_TARGET=LUAJIT_ARCH_riscv64 -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0  
-c -o host/buildvm_fold.o host/buildvm_fold.c
gcc -g -Wl,-Bsymbolic-functions -Wl,-z,relro   -o host/buildvm host/buildvm.o 
host/buildvm_asm.o host/buildvm_peobj.o host/buildvm_lib.o host/buildvm_fold.o  
 
host/buildvm -m elfasm -o lj_vm.S
riscv64-linux-gnu-gcc -fPIC -O2 -fomit-frame-pointer -Wall  -g -O2 
-Werror=implicit-function-declaration -fno-omit-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -fno-stack-clash-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/luajit-2.1.0+openresty20250117-2build1
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U_FORTIFY_SOURCE  
-DLUA_ROOT=\"/usr\" -DLUA_MULTILIB=\"lib/riscv64-linux-gnu\" 
-DLUA_LJDIR=\"/usr/share/luajit-2.1\" -fno-stack-protector 
-DLUAJIT_UNWIND_EXTERNAL   -c -o lj_vm_dyn.o lj_vm.S
buildvm_riscv.dasc: Assembler messages:
buildvm_riscv.dasc:3: Error: deprecated - extension `c' in .option arch `-c'
make[4]: *** [Makefile:751: lj_vm.o] Error 1

** Affects: luajit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs rva23-ftbfs

** Tags added: ftbfs rva23-ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2121585

Title:
  luajit: FTBFS with RVA23

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/luajit/+bug/2121585/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to