id = 2101 title = "[qemu-user/qemu-x86_64] run x86_64 'ls /' on aarch64 platform get wrong result" state = "opened" created_at = "2024-01-16T09:43:03.607Z" closed_at = "n/a" labels = ["accel: TCG", "host: arm", "linux-user", "target: i386"] url = "https://gitlab.com/qemu-project/qemu/-/issues/2101" host-os = "Fedora-39/Fedora-36/Fedora-29" host-arch = "x86_64" qemu-version = "any" guest-os = "Fedora-39/Fedora-36/Fedora-29" guest-arch = "ARM64/aarch64" description = """``` 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""" 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 = """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 / ```"""