From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXOFy-0004IB-CE for qemu-devel@nongnu.org; Wed, 10 Aug 2016 03:48:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXOFu-0003x4-6b for qemu-devel@nongnu.org; Wed, 10 Aug 2016 03:48:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXOFu-0003wl-1H for qemu-devel@nongnu.org; Wed, 10 Aug 2016 03:48:50 -0400 Date: Wed, 10 Aug 2016 15:41:46 +0800 From: Fam Zheng Message-ID: <20160810074146.GJ11351@al.usersys.redhat.com> References: <1470387870-30438-1-git-send-email-famz@redhat.com> <1470387870-30438-3-git-send-email-famz@redhat.com> <66317136-7ead-e3ba-ad3b-e295ced14164@redhat.com> <20160810021544.GH11351@al.usersys.redhat.com> <264286456.771001.1470812997473.JavaMail.zimbra@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <264286456.771001.1470812997473.JavaMail.zimbra@redhat.com> Subject: Re: [Qemu-devel] [PULL 2/2] docker: Add "--enable-werror" to configure command line List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Peter Maydell , qemu-devel@nongnu.org On Wed, 08/10 03:09, Paolo Bonzini wrote: > > > On Tue, 08/09 17:21, Paolo Bonzini wrote: > > > On 05/08/2016 11:04, Fam Zheng wrote: > > > > We don't have .git in the docker checkout, add this to enable -Werror > > > > explicitly. > > > > > > > > Signed-off-by: Fam Zheng > > > > Message-id: 1469453510-658-1-git-send-email-famz@redhat.com > > > > --- > > > > tests/docker/common.rc | 1 + > > > > 1 file changed, 1 insertion(+) > > > > > > > > diff --git a/tests/docker/common.rc b/tests/docker/common.rc > > > > index 77069e1..0c6d8d5 100755 > > > > --- a/tests/docker/common.rc > > > > +++ b/tests/docker/common.rc > > > > @@ -24,6 +24,7 @@ requires() > > > > build_qemu() > > > > { > > > > $QEMU_SRC/configure \ > > > > + --enable-werror \ > > > > ${TARGET_LIST:+"--target-list=${TARGET_LIST}"} \ > > > > --prefix="$PWD/install" \ > > > > $EXTRA_CONFIGURE_OPTS \ > > > > > > > > > > centos6 has -Wuninitialized errors. Should this be applied only to > > > Fedora and Ubuntu? > > > > That way I think build_qemu can be made sensible to the env. For now I'm not > > seeing any compiling failure with centos6, even though this patch is already > > merged. Do you mean this is a potential false alarm? > > I don't know... I remember seeing some, but now I don't see any failure. > Perhaps this is because of --enable-debug? Uninitialized variables require > optimization. But CentOS 6 should have _FORTIFY_SOURCE and thus should > enable optimization. I just checked it does have _FORTIFY_SOURCE and -O2. So maybe we can leave this for now and come back fix things when something goes wrong. Fam