diff options
Diffstat (limited to 'gitlab/issues/target_missing/host_ppc/accel_missing/1861.toml')
| -rw-r--r-- | gitlab/issues/target_missing/host_ppc/accel_missing/1861.toml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_ppc/accel_missing/1861.toml b/gitlab/issues/target_missing/host_ppc/accel_missing/1861.toml new file mode 100644 index 00000000..09271ce5 --- /dev/null +++ b/gitlab/issues/target_missing/host_ppc/accel_missing/1861.toml @@ -0,0 +1,37 @@ +id = 1861 +title = "qemu 8.1.0 fails to build with ppc64l and musl libc" +state = "closed" +created_at = "2023-09-04T14:20:01.340Z" +closed_at = "2024-01-11T15:16:23.613Z" +labels = ["host: ppc"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/1861" +host-os = "Alpine Linux - edge (rolling)" +host-arch = "ppc64le" +qemu-version = "8.1.0" +guest-os = "n/a" +guest-arch = "n/a" +description = """qemu 8.1.0 fails to build on alpine linux ppc64le: + +``` +ninja: job failed: gcc -m64 -mlittle-endian -Ilibqemuutil.a.p -I. -I.. -Iqapi -Itrace -Iui/shader -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu11 -O2 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wundef -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wold-style-declaration -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wimplicit-fallthrough=2 -Wmissing-format-attribute -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -isystem /home/ncopa/aports/community/qemu/src/qemu-8.1.0/linux-headers -isystem linux-headers -iquote . -iquote /home/ncopa/aports/community/qemu/src/qemu-8.1.0 -iquote /home/ncopa/aports/community/qemu/src/qemu-8.1.0/include -iquote /home/ncopa/aports/community/qemu/src/qemu-8.1.0/host/include/ppc64 -iquote /home/ncopa/aports/community/qemu/src/qemu-8.1.0/host/include/generic -iquote /home/ncopa/aports/community/qemu/src/qemu-8.1.0/tcg/ppc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fno-common -fwrapv -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -fPIE -pthread -MD -MQ libqemuutil.a.p/util_cpuinfo-ppc.c.o -MF libqemuutil.a.p/util_cpuinfo-ppc.c.o.d -o libqemuutil.a.p/util_cpuinfo-ppc.c.o -c ../util/cpuinfo-ppc.c +../util/cpuinfo-ppc.c: In function 'cpuinfo_init': +../util/cpuinfo-ppc.c:33:18: error: 'PPC_FEATURE2_ARCH_3_1' undeclared (first use in this function); did you mean 'PPC_FEATURE2_ARCH_3_00'? + 33 | if (hwcap2 & PPC_FEATURE2_ARCH_3_1) { + | ^~~~~~~~~~~~~~~~~~~~~ + | PPC_FEATURE2_ARCH_3_00 +../util/cpuinfo-ppc.c:33:18: note: each undeclared identifier is reported only once for each function it appears in +../util/cpuinfo-ppc.c:43:18: error: 'PPC_FEATURE2_HAS_ISEL' undeclared (first use in this function); did you mean 'PPC_FEATURE_HAS_VSX'? + 43 | if (hwcap2 & PPC_FEATURE2_HAS_ISEL) { + | ^~~~~~~~~~~~~~~~~~~~~ + | PPC_FEATURE_HAS_VSX +../util/cpuinfo-ppc.c:56:26: error: 'PPC_FEATURE2_HAS_VEC_CRYPTO' undeclared (first use in this function); did you mean 'PPC_FEATURE2_VEC_CRYPTO'? + 56 | if (hwcap2 & PPC_FEATURE2_HAS_VEC_CRYPTO) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + | PPC_FEATURE2_VEC_CRYPTO +ninja: subcommand failed +make: *** [Makefile:162: run-ninja] Error 1 +```""" +reproduce = """Build qemu 8.1.0 on alpine linux ppc64le.""" +additional = """Likely introduced by 623d7e3551a6fc5693c06ea938c60fe281b52e27 + +Explicit `#include <asm/cputable.h>` fixes the `PPC_FEATURE2_ARCH_3_1` case but not the other two.""" |