Bug ID | 1190211 |
---|---|
Summary | qemu fails to build on armv6/7 since update to 6.1 |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | armv7 |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Virtualization:Other |
Assignee | virt-bugs@suse.de |
Reporter | guillaume.gardet@arm.com |
QA Contact | qa-bugs@suse.de |
CC | afaerber@suse.com, dmueller@suse.com |
Found By | --- |
Blocker | --- |
Since the update from 6.0 to 6.1 https://build.opensuse.org/request/show/914458 qemu fails to build on armv6/7. See https://build.opensuse.org/package/live_build_log/openSUSE:Factory:ARM/qemu/standard/armv7l Build error from the log: [ 539s] FAILED: libqemu-aarch64-softmmu.fa.p/tcg_tcg.c.o [ 539s] cc -Ilibqemu-aarch64-softmmu.fa.p -I. -I.. -Itarget/arm -I../target/arm -Itrace -Iqapi -Iui -Iui/shader -I/usr/include/spice-1 -I/usr/include/spice-server -I/usr/include/cacard -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/pixman-1 -fdiagnostics-color=auto -pipe -Wall -Winvalid-pch -Werror -std=gnu11 -O2 -g -isystem /home/abuild/rpmbuild/BUILD/qemu-6.1.0/linux-headers -isystem linux-headers -iquote . -iquote /home/abuild/rpmbuild/BUILD/qemu-6.1.0 -iquote /home/abuild/rpmbuild/BUILD/qemu-6.1.0/include -iquote /home/abuild/rpmbuild/BUILD/qemu-6.1.0/disas/libvixl -iquote /home/abuild/rpmbuild/BUILD/qemu-6.1.0/tcg/arm -pthread -U_FORTIFY_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -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 -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -fPIC -DOPENSSL_LOAD_CONF -isystem../linux-headers -isystemlinux-headers -DNEED_CPU_H '-DCONFIG_TARGET="aarch64-softmmu-config-target.h"' '-DCONFIG_DEVICES="aarch64-softmmu-config-devices.h"' -MD -MQ libqemu-aarch64-softmmu.fa.p/tcg_tcg.c.o -MF libqemu-aarch64-softmmu.fa.p/tcg_tcg.c.o.d -o libqemu-aarch64-softmmu.fa.p/tcg_tcg.c.o -c ../tcg/tcg.c [ 539s] In file included from ../tcg/tcg.c:429: [ 539s] /home/abuild/rpmbuild/BUILD/qemu-6.1.0/tcg/arm/tcg-target.c.inc:2718:42: error: argument 5 of type 'const TCGArg *' {aka 'const unsigned int *'} declared as a pointer [-Werror=array-parameter=] [ 539s] 2718 | const TCGArg *args, const int *const_args) [ 539s] | ~~~~~~~~~~~~~~^~~~ [ 539s] ../tcg/tcg.c:120:41: note: previously declared as an array 'const TCGArg[16]' {aka 'const unsigned int[16]'} [ 539s] 120 | const TCGArg args[TCG_MAX_OP_ARGS], [ 539s] | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ [ 539s] In file included from ../tcg/tcg.c:429: [ 539s] /home/abuild/rpmbuild/BUILD/qemu-6.1.0/tcg/arm/tcg-target.c.inc:2718:59: error: argument 6 of type 'const int *' declared as a pointer [-Werror=array-parameter=] [ 539s] 2718 | const TCGArg *args, const int *const_args) [ 539s] | ~~~~~~~~~~~^~~~~~~~~~ [ 539s] ../tcg/tcg.c:121:38: note: previously declared as an array 'const int[16]' [ 539s] 121 | const int const_args[TCG_MAX_OP_ARGS]); [ 539s] | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 539s] cc1: all warnings being treated as errors