All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: "Daniel P. Berrange" <berrange@redhat.com>
Cc: libvir-list@redhat.com, xen-devel@lists.xensource.com,
	ian.jackson@eu.citrix.com, Peter Krempa <pkrempa@redhat.com>
Subject: Re: [libvirt] [Xen-devel] [libvirt test] 50401: regressions - FAIL
Date: Fri, 17 Apr 2015 10:58:31 +0100	[thread overview]
Message-ID: <1429264711.25195.241.camel@citrix.com> (raw)
In-Reply-To: <20150415131653.GC29970@redhat.com>

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, 
http://lists.xen.org/archives/html/xen-devel/2015-04/msg01900.html
http://lists.xen.org/archives/html/xen-devel/2015-04/msg01968.html

in particular:

http://logs.test-lab.xenproject.org/osstest/logs/50460/build-armhf-libvirt/5.ts-libvirt-build.log:

        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@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.

Ian.

      reply	other threads:[~2015-04-17  9:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-14  2:27 [libvirt test] 50401: regressions - FAIL osstest service user
2015-04-14  9:33 ` [libvirt] [Xen-devel] " Ian Campbell
2015-04-14  9:37   ` Daniel P. Berrange
2015-04-15 10:17     ` [libvirt] " Ian Campbell
2015-04-15 13:16       ` [libvirt] [Xen-devel] " Daniel P. Berrange
2015-04-17  9:58         ` Ian Campbell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1429264711.25195.241.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=berrange@redhat.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=libvir-list@redhat.com \
    --cc=pkrempa@redhat.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.