Package Details: binfmt-qemu-static-all-arch 20200413-1

Git Clone URL: (read-only, click to copy)
Package Base: binfmt-qemu-static-all-arch
Description: Register qemu-static interpreters for various binary formats - all archetectures, intelligently removing the current archetecture
Upstream URL:
Licenses: GPL
Conflicts: binfmt-qemu-static
Provides: binfmt-qemu-static
Submitter: lilmike
Maintainer: lilmike
Last Packager: lilmike
Votes: 3
Popularity: 0.009477
First Submitted: 2019-08-13 17:31
Last Updated: 2020-04-13 20:05

Dependencies (1)

Required by (5)

Sources (1)

Latest Comments

crab2313 commented on 2021-01-19 04:03


Hello, should we merge binfmt-qemu-static-all-arch into binfmt-qemu-static?

gamezelda commented on 2020-03-05 16:29

Relative to the binaries in qemu-user-static-bin, those architectures files are still missing:


It looks like definitions can be found here: , except I didn't found qemu-nios2 and qemu-tilegx, but the rest should be there.

EDIT: I could generate a list of formats like this, however it looks like some of the existing binfmts have masks that are a bit different?! However this comes from the official qemu distribution so I guess it can be trusted?

rm -rf /tmp/qemubinfmts && mkdir -p /tmp/qemubinfmts && ./ --systemd ALL --exportdir /tmp/qemubinfmts --qemu-path /usr/bin --qemu-suffix -static && for x in /tmp/qemubinfmts/*; do cat "$x" | sed 's/$/CF/'; done

jpegxguy commented on 2020-02-27 07:58

Thanks for taking the time to patch it. I do think that only line 18 needs the fallthrough ;&. All the others should have ;;.

for example, as it is the arm cases fallthrough and the x86_64 entries get removed

jpegxguy commented on 2020-02-21 00:51

I came to say this, but @robxu9 has already said it. I had it happen on a board of mine and it took me a bit to find out the cause.

You should change ;; in line 18 to ;& or something.

robxu9 commented on 2020-02-04 21:04

In PKGBUILD, your case statement doesn't work for aarch64; it causes the qemu-arm entries to be removed from qemu-static.conf, but doesn't wipe out the qemu-aarch64 entry. (statements do not fallthrough)

This can cause an aarch64 system to brick.

aeden commented on 2019-12-04 20:20

qemu-static.conf is missing some entries for different architectures (e.g. mips64el).