[libvirt] [Xen-devel] [libvirt test] 50401: regressions - FAIL

Ian Campbell ian.campbell at citrix.com
Fri Apr 17 09:58:31 UTC 2015

On Wed, 2015-04-15 at 14:16 +0100, Daniel P. Berrange wrote:
> Yeah, there is nothing Xen specific about the problem - it is entirely
> down to the build toolchain & compiler options.

FYI our bisector has now tripped over another related problem, 

in particular:


        qemu/qemu_domain.c: In function 'qemuDomainSupportsBlockJobs':
        qemu/qemu_domain.c:3067:11: error: declaration of 'sync' shadows a global 
        declaration [-Werror=shadow]
        cc1: all warnings being treated as errors
Essentially another instance of the same class of issue, in this case
arising from:

  commit 1eccac1d2da7bbe97e1df25fd0ddac6e71b0794a
  Author: Peter Krempa <pkrempa at redhat.com>
  Date:   Tue Mar 31 17:29:35 2015 +0200
      qemu: domain: Add helper to check block job support

Given the code in autoconf to enable essentially all warnings I'm a bit
surprised -Wshadow isn't being enabled for everyone -- I thought it was
quite a long standing warning.

I'm also not sure why we are having a sudden rash of these now.

But perhaps it is worth adding Wshadow to the set of excluded options
until either it is more widely supported or the libvirt code base has
been audited? I can send such a patch if you think that's desirable.


More information about the libvir-list mailing list