Re: [PATCH v2] qemu-binfmt-conf.sh: allow elf EI_ABIVERSION=1 for mips

2022-03-06 Thread Philippe Mathieu-Daudé
(Cc'ing Richard) On 5/3/22 01:18, Philippe Mathieu-Daudé wrote: Cc'ing Laurent: $ ./scripts/get_maintainer.pl -f scripts/qemu-binfmt-conf.sh Laurent Vivier (maintainer:Linux user) qemu-devel@nongnu.org (open list:All patches CC here) On 5/3/22 01:06, Andreas K. Hüttel wrote: With the command

Re: [PATCH v2] qemu-binfmt-conf.sh: allow elf EI_ABIVERSION=1 for mips

2022-03-04 Thread Philippe Mathieu-Daudé
Cc'ing Laurent: $ ./scripts/get_maintainer.pl -f scripts/qemu-binfmt-conf.sh Laurent Vivier (maintainer:Linux user) qemu-devel@nongnu.org (open list:All patches CC here) On 5/3/22 01:06, Andreas K. Hüttel wrote: With the command line flag -mplt and a recent toolchain, ELF binaries generated by

[PATCH v2] qemu-binfmt-conf.sh: allow elf EI_ABIVERSION=1 for mips

2022-03-04 Thread Andreas K . Hüttel
With the command line flag -mplt and a recent toolchain, ELF binaries generated by gcc can obtain EI_ABIVERSION=1, see below, which makes, e.g., gcc three-stage bootstrap in a mips-unknown-linux-gnu qemu-user chroot fail since the binfmt-misc magic does not match anymore. qemu executes these binar