21.07.2023 11:30, Xinhui Yang wrote:
Package: qemu-user-static
Version: 1:8.0.3+dfsg-2
QEMU 8.0 brings support for NaN2008 ELF executables[1] for userland
emulation. A modification on binfmt side is required to adapt this
change.
[1]:
https://gitlab.com/qemu/qemu/-/commit/450cb7ec2c5fda51b9650ca25e59ac9deeb60d1b
Thank you for the patch and the efforts!
It's difficult to diff hex numbers.
Can you please check of this change:
https://salsa.debian.org/qemu-team/qemu/-/commit/2b2a0014644d4f0a7dc6641cf321e47e91634333
works for you?
it is based on a upstream change to binfmt registration which I forgot to
include.
But I'm not certain I get it all right, - there might be some cut-n-paste
mistake.
I *think* it includes your change plus a bit more.
(I need to think about switching to using upstream qemu-binfmt-register.sh
(which is based on debian/binfmt-install but with furhter enhancements)).
Thanks!
/mjt