Re: [Bug 1895080] [NEW] pgb_reserved_va: Assertion `addr == test' failed

2020-09-11 Thread Alex Bennée
Hansni Bu <1895...@bugs.launchpad.net> writes: >> > No, it's not set by CentOS-7.5. >> > Does it mean that we just cannot run the ELF in such a case? I've tried >> > many times, the assert always fails. Maybe, we can blame CentOS-7.5. >> >> The trouble is without MAP_FIXED_NOREPLACE we are at

Re: [Bug 1895080] [NEW] pgb_reserved_va: Assertion `addr == test' failed

2020-09-11 Thread Hansni Bu
> > No, it's not set by CentOS-7.5. > > Does it mean that we just cannot run the ELF in such a case? I've tried > > many times, the assert always fails. Maybe, we can blame CentOS-7.5. > > The trouble is without MAP_FIXED_NOREPLACE we are at the mercy of the > host kernel to allow the address

Re: [Bug 1895080] [NEW] pgb_reserved_va: Assertion `addr == test' failed

2020-09-11 Thread Alex Bennée
Hansni Bu <1895...@bugs.launchpad.net> writes: > No, it's not set by CentOS-7.5. > Does it mean that we just cannot run the ELF in such a case? I've tried > many times, the assert always fails. Maybe, we can blame CentOS-7.5. The trouble is without MAP_FIXED_NOREPLACE we are at the mercy of

Re: [Bug 1895080] [NEW] pgb_reserved_va: Assertion `addr == test' failed

2020-09-11 Thread Hansni Bu
No, it's not set by CentOS-7.5. Does it mean that we just cannot run the ELF in such a case? I've tried many times, the assert always fails. Maybe, we can blame CentOS-7.5. BTW: with the option "-p 65536", the case runs successfully. On Fri, Sep 11, 2020 at 5:50 PM Alex Bennée

Re: [Bug 1895080] [NEW] pgb_reserved_va: Assertion `addr == test' failed

2020-09-11 Thread Alex Bennée
Alex Bennée writes: > Laurent Vivier writes: > >>> Then trying qemu-riscv32 with a simple ELF, I get: >>> linux-user/elfload.c:2341: pgb_reserved_va: Assertion `addr == test' failed. >>> >>> strace shows that: >>> mmap(0x1000, 4294963200, PROT_NONE, >>>

Re: [Bug 1895080] [NEW] pgb_reserved_va: Assertion `addr == test' failed

2020-09-11 Thread Alex Bennée
Laurent Vivier writes: > Le 10/09/2020 à 07:21, Launchpad Bug Tracker a écrit : >> This problem occurs on CentOS-7.5 (64-bit) with qemu-5.1.0, qemu head >> (commit 9435a8b3dd35f1f926f1b9127e8a906217a5518a) for riscv32-linux- >> user. > > I tried to build qemu-5.1 on CentOS-7.5.1 but as python

Re: [Bug 1895080] [NEW] pgb_reserved_va: Assertion `addr == test' failed

2020-09-11 Thread Hansni Bu
> This problem occurs on CentOS-7.5 (64-bit) with qemu-5.1.0, qemu head > > (commit 9435a8b3dd35f1f926f1b9127e8a906217a5518a) for riscv32-linux- > > user. > > I tried to build qemu-5.1 on CentOS-7.5.1 but as python 3.5 is not > available, I gave up. > Thank you for your effort. I installed

Re: [Bug 1895080] [NEW] pgb_reserved_va: Assertion `addr == test' failed

2020-09-10 Thread Laurent Vivier
Le 10/09/2020 à 07:21, Launchpad Bug Tracker a écrit : > This problem occurs on CentOS-7.5 (64-bit) with qemu-5.1.0, qemu head > (commit 9435a8b3dd35f1f926f1b9127e8a906217a5518a) for riscv32-linux- > user. I tried to build qemu-5.1 on CentOS-7.5.1 but as python 3.5 is not available, I gave up. >

[Bug 1895080] [NEW] pgb_reserved_va: Assertion `addr == test' failed

2020-09-09 Thread Hansni Bu
Public bug reported: This problem occurs on CentOS-7.5 (64-bit) with qemu-5.1.0, qemu head (commit 9435a8b3dd35f1f926f1b9127e8a906217a5518a) for riscv32-linux- user. Firstly, compile fails: Compiling C object libqemu-riscv32-linux-user.fa.p/linux-user_strace.c.o