On Mon, 10 Aug 2020 19:06:38 +0200
Paolo Bonzini <pbonz...@redhat.com> wrote:

> This version is substantially less "draft-like", and the diffstat
> is actually quite large with Thursday's draft.
> 
> The changes are as follows:
> - updated oss-fuzz build script
> - various cases fixed that broke depending on present/absent dependencies
> - all build scripts handle --python correctly
> - git submodules properly updated before running meson
> - no warnings from Meson master (will be 0.56.0), one from upcoming 0.55.1
> - installation matches current build system
> - fixes for virtio-vga broken merge
> - includes updated s390-ccw patch from Thomas
> - less noisy "make check"
> - tested with GitLab CI, BSD VM builds and various Docker builds
> - input-keymap files properly regenerated
> 
> Of our supported build platforms, only Mac OS and non-x86 hosts are
> still untested.  But I guess this might finally count as a v1.
> 
> This is available from https://gitlab.com/bonzini/qemu.git branch
> meson-poc-next.

Trying this branch, configure is already unhappy on Fedora 31:

funcs: do_compiler do_cc compile_object main
lines: 92 124 2341 0
cc -m64 -mcx16 -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 
-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 -Wno-missing-include-dirs 
-Wno-shift-negative-value -Wno-psabi -Wno-missing-braces -c -o 
config-temp/qemu-conf.o config-temp/qemu-conf.c
cc1: warning: ‘-Wformat-y2k’ ignored without ‘-Wformat’ [-Wformat-y2k]
cc1: warning: ‘-Wformat-security’ ignored without ‘-Wformat’ [-Wformat-security]
cc -Werror -m64 -mcx16 -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 
-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 -Wno-missing-include-dirs 
-Wno-shift-negative-value -Wno-psabi -Wno-missing-braces -c -o 
config-temp/qemu-conf.o config-temp/qemu-conf.c
cc1: error: ‘-Wformat-y2k’ ignored without ‘-Wformat’ [-Werror=format-y2k]
cc1: error: ‘-Wformat-security’ ignored without ‘-Wformat’ 
[-Werror=format-security]
cc1: all warnings being treated as errors

gcc --version says
gcc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2)

If I disable -Werror, the build succeeds.


Reply via email to