Skip to content

ldd fails with qemu-aarch64

Host environment

  • Operating system: Ubuntu 20.04/23.04
  • OS/kernel version: multiple
  • Architecture: x86_64
  • QEMU flavor: qemu-aarch64-static
  • QEMU version: multiple tested: 7.0, 7.2
  • QEMU command line:

Emulated/Virtualized environment

  • Operating system: Ubuntu 16.04
  • OS/kernel version: multiple
  • Architecture: aarch64

Description of problem

see the original issue for full details https://github.com/multiarch/qemu-user-static/issues/172

Steps to reproduce

  1. docker run --rm -it arm64v8/ubuntu:16.04 ldd /bin/ls

Also possible on other newer OSs (eg: Ubuntu:18.04) with different compiled binaries.

Additional information

WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
ldd: exited with unknown exit code (139)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information