Skip to content

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

@devizer

Description

@devizer

/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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions