blob: eefe4805720c407805cd19273970418e59056b3a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
[qemu-user/qemu-x86_64] run x86_64 'ls /' on aarch64 platform get wrong result
Description of problem:
```
qemu-x86_64 -L /tmp/ls-x86_64/root-x86_64-ls /tmp/ls-x86_64/root-x86_64-ls/bin/ls -l /
```
get wrong result
Steps to reproduce:
1. copy /usr/bin/ls and the so library files it depends on from x86_64 platform to aarch64 platform
2. qemu-x86_64 -L /path/to/x86_64/lib/root/dir /path/to/ls / -l
Additional information:
Actual test script:
```
# host
curl -Ls https://github.com/tcler/kiss-vm-ns/raw/master/utils/archive-ld-program.sh | sudo bash /dev/stdin ls
scp ls.x86_64.ash root@jiyin-fedora-39_aarch64:
ssh root@jiyin-fedora-39_aarch64 ./ls.x86_64.ash -l /
```
|