blob: ff27eb8d6067efc2142cf0853ac370444c64012d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
instruction: 0.524
runtime: 0.304
syscall: 0.172
linux-user qemu-x86_64 can't exec a binary on aarch64 or Loongarch.
Description of problem:
on master branch, we build an simply hello.c with x86_cross gcc.
then. run './build/qemu-x86_64 hello', no output.
Steps to reproduce:
1. build an hello.c with x86_64 cross. use --static.
2. build qemu-x86_64 on aarch64 or LoongArch host.
3. run './build/qemu-x86_64 hello'
Additional information:
[strace.txt](/uploads/5362e0e9b04ad9a582470faf4a9fcedb/strace.txt)
[hello](/uploads/12d9277fa4e853286414f575010a37ac/hello)
The following commit causes this problem.
commit 86f04735ac2088d5c069c3d1712212ec7428c562
Author: Helge Deller <deller@gmx.de>
Date: Sun Dec 25 09:23:19 2022 +0100
linux-user: Fix brk() to release pages
|