qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linux-user cannot allocate stack memory on riscv64 host due to non-z


From: Richard Henderson
Subject: Re: linux-user cannot allocate stack memory on riscv64 host due to non-zero guest_base
Date: Mon, 1 Jul 2024 09:05:13 -0700
User-agent: Mozilla Thunderbird

Hi Andreas,

Thanks for the test binary.

Now I need to know about your qemu version and build configuration.

Your test binary still works for me.  My configuration:

Debian GNU/Linux trixie/sid
gcc version 13.2.0 (Debian 13.2.0-25)

commit 60b4f3aff4e39be04f5d73c65a7e8ef838475c9f (HEAD, tag: v9.0.1, 
origin/stable-9.0)

../src/configure --static --disable-system --disable-tools --disable-docs

qemu-riscv64: ELF 64-bit LSB executable, UCB RISC-V, RVC, double-float ABI, version 1 (SYSV), statically linked, BuildID[sha1]=86144e2f215344440f3e21b65b2cf2b8cb33c67f, for GNU/Linux 4.15.0, with debug_info, not stripped

  LOAD           0x0000000000000000 0x0000000000010000 0x0000000000010000
                 0x000000000035feae 0x000000000035feae  R E    0x1000
  LOAD           0x0000000000360708 0x0000000000370708 0x0000000000370708
                 0x0000000000070ebc 0x00000000000833f0  RW     0x1000

So the end of .bss is at 0x3f3af8.

With -d page, I get

Locating guest address space @ 0x3f4000

which is uncomfortably close to the end of .bss, but seems to work.


r~




reply via email to

[Prev in Thread] Current Thread [Next in Thread]