summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_i386/host_arm/accel_TCG/2101
blob: e92dfe93040e2fff1eaeda9f95456e728a099642 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[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 /
```