riscvarchive / riscv-qemu

QEMU with RISC-V (RV64G, RV32G) Emulation Support
385 stars 154 forks source link

riscv-qemu does not compile #100

Closed ForceFaction closed 6 years ago

ForceFaction commented 6 years ago

Hey, the build fails with this (https://pastebin.com/iZvGG9YP) error message. What am i doing wrong ?

bkoppelmann commented 6 years ago

I don't know what these errors mean. However, you're trying to build the aarch64 frontend. Try running configure --target-list=riscv64-softmmu

Cheers, Bastian

ForceFaction commented 6 years ago

Thx, it now builds the riscv64/32-softmmu targets. It only fails when trying to build the riscv-linux-user targets.

EDIT: It is not possible to run qemu-system-riscv32 because it immediatelly exits with a bus error.

I'm using riscv-next branch and gcc 7.3.0. Any advice on how to find out what is causing the problem ?

2nd EDIT: NVM, i had activated jemalloc and disabling it explicitly solved the problem it now runs without problems :D.