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 <f...@redhat.com> > > > > Message-id: 1469453510-658-1-git-send-email-f...@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