Thanks. I was just about to log an issue in the riscv-qemu issue tracker on GitHub.
I reproduced it on my side. The fact that it is causes QEMU user to crash in translate.c is interesting. I ran your program with -d in_asm and it appears to crash in thread::join On Mon, Sep 3, 2018 at 7:58 PM, Pranith Kumar <bobby.pr...@gmail.com> wrote: > On second looks, running the benchmark on a RISCV processor is also > giving a seg fault. So may be there is something wrong with the > benchmark... OTOH, x86 version runs fine... hmm > > Please ignore this report, I will try to investigate further. > > Thanks, > On Mon, Sep 3, 2018 at 12:45 AM Pranith Kumar <bobby.pr...@gmail.com> > wrote: > > > > Hi Michael, > > > > qemu-riscv64 seg faults for me on a static binary. You can build the > > binary from here: https://github.com/pranith/quickht > > > > $ STATIC=1 RISCV=1 make > > > > $ qemu-riscv64 ./bench -t 1 -u 1 > > <seg fault> > > > > Thanks, > > -- > > Pranith > > > > -- > Pranith >