issues building qemu-xen (8.0.4) with musl 1.2.5 and gcc 14
Hi list!
Trying to apply patches to our xen aport I found issues building tools/qemu-xen (qemu 8.0.4) with musl 1.2.5 and gcc 14 for the alpinelinux rolling release branch "edge".
The insignificantly different build for our latest stable release, 3.20-stable with musl 1.2.5 but gcc 13.2.1_git20240309, seems to work fine.
I also tried a rebuild of our separate qemu aport, at version 9.0.2, in edge, as that had had no rebuild since the gcc upgrade, and it went fine.
Please see my build attempts and CI pipeline outputs in our gitlab,
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/70515
Patching tools/qemu-xen/hw/vfio/pci.c with #include <libgen.h> made builds succeed for aarch64 & armv7 but x86_64 ran into other issues.
Issue referenced in above MR,
https://gitlab.alpinelinux.org/alpine/aports/-/issues/16106
musl change referenced in above issue,
https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
The latest qemu releases are 8.2.6 and 9.0.2, both released 240716,
https://www.qemu.org/download/
cheers
Signature · 1 line
omni