In QEMU, some processes seem to freeze/deadlock in their futex handling which is causing the whole build process to block.
Changing the emulated CPU seems to work around these problems.
Signed-off-by: Michael Tremer michael.tremer@ipfire.org --- make.sh | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/make.sh b/make.sh index 522fe8401..1fb14c9ea 100755 --- a/make.sh +++ b/make.sh @@ -793,6 +793,11 @@ qemu_environ() { arm*) QEMU_CPU="${QEMU_CPU:-cortex-a9}"
+ env="${env} QEMU_CPU=${QEMU_CPU}" + ;; + riscv64) + QEMU_CPU="${QEMU_CPU:-sifive-u54}" + env="${env} QEMU_CPU=${QEMU_CPU}" ;; esac