This is the (statically linked) binary resulting from the source; with it the problem can be demonstrated "standalone", without any other rv32 libraries or a complete chroot, just running the binary with qemu-riscv32.
Generated with
(riscv-ilp32 chroot) farino /tmp # gcc -static -o wait-test-short -g wait-test-short.c
This is the (statically linked) binary resulting from the source; with it the problem can be demonstrated "standalone", without any other rv32 libraries or a complete chroot, just running the binary with qemu-riscv32.
Generated with
(riscv-ilp32 chroot) farino /tmp # gcc -static -o wait-test-short -g wait-test-short.c