Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing aarch64 to x86_64 image? How to register /usr/bin/qemu-x86_64-static on arm64 host? #204

Open
devizer opened this issue Nov 7, 2024 · 1 comment

Comments

@devizer
Copy link

devizer commented Nov 7, 2024

/kind question

Intro: RPI 5 is a pretty fast board. Its performance is similar to Xeon Haswell with the same CPU frequency.
But aarch64-to-x86_64 emulation image is missing (multiarch/qemu-user-static:aarch64-x86_64)

root@rpi5 ~ $ docker run --rm --privileged multiarch/qemu-user-static:aarch64-x86_64 --reset
Unable to find image 'multiarch/qemu-user-static:aarch64-x86_64' locally
docker: Error response from daemon: manifest for multiarch/qemu-user-static:aarch64-x86_64 not found: manifest unknown: manifest unknown.
See 'docker run --help'.
root@rpi5 ~ $

However, the corresponding user static emulator exists.
For example:

root@rpi5 ~ $ apt-cache policy qemu-user-static
qemu-user-static:
  Installed: 1:7.2+dfsg-7+deb12u7
  Candidate: 1:7.2+dfsg-7+deb12u7
  Version table:
 *** 1:7.2+dfsg-7+deb12u7 500
        500 http://deb.debian.org/debian bookworm/main arm64 Packages
        100 /var/lib/dpkg/status

root@rpi5 ~ $ /usr/bin/qemu-x86_64-static --version
qemu-x86_64 version 7.2.13 (Debian 1:7.2+dfsg-7+deb12u7)
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers

root@rpi5 ~ $ uname -a
Linux rpi5 6.1.0-rpi7-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux
root@rpi5 ~ $

How to register /usr/bin/qemu-x86_64-static on arm64 host?
I can copy /usr/bin/qemu-x86_64-static to docker container myself.

@martin-g
Copy link

martin-g commented Nov 8, 2024

See #174 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants