Re: [Qemu-devel] qemu-riscv64 seg fault

2018-09-03 Thread Michael Clark
On Mon, Sep 3, 2018 at 8:16 PM, Pranith Kumar wrote: > On Mon, Sep 3, 2018 at 1:07 AM Michael Clark wrote: > > > > 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 translat

Re: [Qemu-devel] qemu-riscv64 seg fault

2018-09-03 Thread Pranith Kumar
On Mon, Sep 3, 2018 at 1:07 AM Michael Clark wrote: > > 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 i

Re: [Qemu-devel] qemu-riscv64 seg fault

2018-09-03 Thread Michael Clark
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, P

Re: [Qemu-devel] qemu-riscv64 seg fault

2018-09-03 Thread Pranith Kumar
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

[Qemu-devel] qemu-riscv64 seg fault

2018-09-03 Thread Pranith Kumar
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 Thanks, -- Pranith