The error can be reproduced outside of Docker: $ /usr/bin/qemu-riscv64 -L chroot -trace "*,file=trace.out" chroot/usr/bin/cmake --system-information Illegal instruction (core dumped) /usr/bin/qemu-riscv64 -L chroot -trace file=trace.out chroot/usr/bin/cmake --system-information
The trace file ends with ... qemu_mutex_locked taken mutex 0x5555565d9ac0 (tcg/region.c:228) qemu_mutex_unlock released mutex 0x5555565d9ac0 (tcg/region.c:230) exec_tb tb:0x7726d1ee9340 pc=0x7726cf50095a riscv_exception 2 (illegal_instruction) on epc 0x7726cf50095a qemu_mutex_lock waiting on mutex 0x5555565da718 (cpu-common.c:352) qemu_mutex_locked taken mutex 0x5555565da718 (cpu-common.c:352) qemu_mutex_unlock released mutex 0x5555565da718 (cpu-common.c:354) user_queue_signal env=0x5555565dd100 signal 4 user_handle_signal env=0x5555565dd100 signal 4 user_dump_core_and_abort env=0x5555565dd100 signal 4 (host 4) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2133188 Title: Illegal instruction in memset under qemu-user for riscv64 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/2133188/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
