]> git.proxmox.com Git - mirror_qemu.git/commit - scripts/qemu-binfmt-conf.sh
qemu-binfmt-conf.sh: ignore the OS/ABI field
authorLaurent Vivier <laurent@vivier.eu>
Tue, 5 Jun 2018 19:47:25 +0000 (21:47 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 11 Jun 2018 12:42:01 +0000 (14:42 +0200)
commitdaf238dcd54fc80c0a83e289574ed5bb66eaa125
tree78a9af9092a1ea82d3e377e70e94709b45b25c33
parent206d1b9c38daed50fcc08d2e743e649fbb82d60b
qemu-binfmt-conf.sh: ignore the OS/ABI field

Most of the binaries have a value of "UNIX - System V" for the OS/ABI.

But cc1 has a value of "UNIX - GNU", and if we don't update the binfmt
mask to ignore the OS/ABI field, gcc fails to execute it:

gcc: error trying to exec '/usr/lib/gcc/m68k-linux-gnu/7/cc1': execv: Exec format error

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20180605194725.8585-1-laurent@vivier.eu>
scripts/qemu-binfmt-conf.sh