Discussion:
Bug#1081850: qemu-arm64: can't run busybox:arm64 on s390x: Invalid note in PT_GNU_PROPERTY
Add Reply
Simon McVittie
2024-09-15 15:10:01 UTC
Reply
Permalink
Package: qemu-user
Version: 1:9.0.2+ds-2+b1
Severity: normal
User: debian-***@lists.debian.org
Usertags: s390x
X-Debbugs-Cc: debian-***@lists.debian.org

The new cross-exe-wrapper package in src:architecture-properties runs
binaries from a foreign architecture, either directly or via qemu-user.
Its autopkgtest uses busybox from each release architecture (specifically
the `busybox true` and `busybox echo` applets) as a smoke-test to see
whether this works as intended.

On s390x, the result indicates that the qemu-arm64 in qemu-user:s390x
74s qemu-arm64: /usr/bin/busybox: Invalid note in PT_GNU_PROPERTY
I don't know whether this is specific to busybox, or whether the qemu-arm64
in qemu-user:s390x doesn't work more generally.

architecture-properties (>= 0.2.2) works around this by skipping its
self-test on architecture pairs where qemu-$arch doesn't run successfully.

smcv
Michael Tokarev
2024-09-27 08:10:01 UTC
Reply
Permalink
Control: forwarded -1 https://gitlab.com/qemu-project/qemu/-/issues/2596

This seems to be a rather trivial upstream issue, revealed by the
toolchain which started adding PT_GNU_PROPERTY elf notes.

/mjt

Loading...