Package Details: binfmt-qemu-static 20210119-1

Git Clone URL: https://aur.archlinux.org/binfmt-qemu-static.git (read-only, click to copy)
Package Base: binfmt-qemu-static
Description: Register qemu-static interpreters for various binary formats
Upstream URL: http://www.freedesktop.org/software/systemd/man/binfmt.d.html
Licenses: GPL
Submitter: net147
Maintainer: crab2313
Last Packager: crab2313
Votes: 26
Popularity: 0.104138
First Submitted: 2013-12-31 06:30
Last Updated: 2021-01-19 04:05

Latest Comments

1 2 Next › Last »

khvalera commented on 2021-01-06 13:01

Line: qemu-ppc64abi32: throws an error!

ogarcia commented on 2020-12-16 07:44

@solstice confirmed!

@Stykers can you update package?

solstice commented on 2020-12-14 11:06

qemu-arch-extra does not include /usr/bin/qemu-ppc64abi32-static anymore.

So systemd-binfmt.service fails to start because of this.

/lib/binfmt.d/qemu-static.conf needs to be modified to remove the line about /usr/bin/qemu-ppc64abi32-static

jpegxguy commented on 2020-11-25 00:35

To anyone reading this: You might be interested in binfmt-qemu-static-all-arch instead.

phire commented on 2020-08-24 07:58

This package claims to support 'any' architecture.

In reality, it essentially bricks any non-x86 machine it's installed on (for example, aarch64, which qemu-user-static-bin provides)

This is because it always installs an qemu-aarch64 binfmt handler, causing every single native executable to fail with: "cannot execute binary file: Exec format error"

gamezelda commented on 2020-03-05 16:35

Like I also posted in binfmt-qemu-static-all-arch, relative to the binaries in qemu-user-static-bin, those architectures files are still missing:

qemu-aarch64_be
qemu-hppa
qemu-microblazeel
qemu-mips64
qemu-mips64el
qemu-mipsn32
qemu-mipsn32el
qemu-nios2
qemu-or1k
qemu-ppc64le
qemu-riscv32
qemu-tilegx
qemu-xtensa
qemu-xtensaeb

It looks like definitions can be found here: https://github.com/qemu/qemu/blob/master/scripts/qemu-binfmt-conf.sh , 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 && ./qemu-binfmt-conf.sh --systemd ALL --exportdir /tmp/qemubinfmts --qemu-path /usr/bin --qemu-suffix -static && for x in /tmp/qemubinfmts/*; do cat "$x" | sed 's/$/CF/'; done

Anonymous comment on 2019-07-31 11:50

Can you add ppc64le to this?

falstaff_ch commented on 2019-01-11 14:03

Can you also add the C and F flag at the end?

C: to determine new process credentials based on program file rather than interpreter file (see setuid); implies O flag. F: to make the kernel open the binary at configuration time instead of lazily at startup time, so that it is available inside other mount namespaces and chroots as well.

SamWhited commented on 2018-11-02 15:07

Please add riscv64:

:qemu-riscv64:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xf3\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-riscv64-static:

(assuming https://wiki.debian.org/RISC-V is up to date)

Strit commented on 2018-10-09 18:13

Won't the interpretors need to be updated when the binaries get updated? I ask, because the binaries where updated in August and I have been having problems since that happened.