summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-06-17 13:13:08 -0700
committerPeter Maydell <peter.maydell@linaro.org>2020-06-18 10:26:02 +0100
commitbac8d222a19f4a30d0a17980bd932f23a6af77bb (patch)
tree78e450d69bcb322413b329bbf389180ce8948fe4 /hw/net/virtio-net.c
parentaabab96797a7d61989c25a7ca2b094591bbc74f9 (diff)
downloadfocaccia-qemu-bac8d222a19f4a30d0a17980bd932f23a6af77bb.tar.gz
focaccia-qemu-bac8d222a19f4a30d0a17980bd932f23a6af77bb.zip
configure: Add -Wno-psabi
On aarch64, gcc 9.3 is generating

qemu/exec.c: In function ‘address_space_translate_iommu’:
qemu/exec.c:431:28: note: parameter passing for argument of type \
  ‘MemTxAttrs’ {aka ‘struct MemTxAttrs’} changed in GCC 9.1

and many other repetitions.  This structure, and the functions
amongst which it is passed, are not part of a QEMU public API.
Therefore we do not care how the compiler passes the argument,
so long as the compiler is self-consistent.

The only portion of QEMU which does have a public api, and so
must have a stable abi, is "qemu/plugin.h".  We test this by
forcing -Wpsabi in tests/plugin/Makefile.

Buglink: https://bugs.launchpad.net/qemu/+bug/1881552
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200617201309.1640952-6-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions