qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 6/6] linux-user: Fix qemu-arm to run static armhf binaries


From: Michael Tokarev
Subject: Re: [PATCH 6/6] linux-user: Fix qemu-arm to run static armhf binaries
Date: Tue, 18 Jul 2023 07:19:13 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

18.07.2023 00:35, Helge Deller wrote:
qemu-user crashes immediately when running static binaries on the armhf
architecture. The problem is the memory layout where the executable is
loaded before the interpreter library, in which case the reserved brk
region clashes with the interpreter code and is released before qemu
tries to start the program.

Fix it by ncreasing the brk value to the highest brk value of
interpreter or executable.

Nitpick: increasing, not ncreasing.

/mjt



reply via email to

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