All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Shriram Rajagopalan <rshriram@cs.ubc.ca>,
	"Keir (Xen.org)" <keir@xen.org>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: Re: [xen-unstable test] 12828: regressions - FAIL
Date: Thu, 10 May 2012 15:26:10 +0200	[thread overview]
Message-ID: <20120510132610.GA5002@aepfle.de> (raw)
In-Reply-To: <1336655758.7098.121.camel@zakaz.uk.xensource.com>

On Thu, May 10, Ian Campbell wrote:

> On Thu, 2012-05-10 at 14:01 +0100, Ian Campbell wrote:
> > On Thu, 2012-05-10 at 12:58 +0100, xen.org wrote:
> > > flight 12828 xen-unstable real [real]
> > > http://www.chiark.greenend.org.uk/~xensrcts/logs/12828/
> > > 
> > > Regressions :-(
> > > 
> > > Tests which did not succeed and are blocking,
> > > including tests which could not be run:
> > >  build-i386                    4 xen-build                 fail REGR. vs. 12827
> > 
> > gcc  -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement   -D__XEN_TOOLS__ -MMD -MF .img2qcow.o.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -Werror -g -Wno-unused -fno-strict-aliasing -I../include -I../drivers -I/home/osstest/build.12828.build-amd64/xen-unstable/tools/blktap2/drivers/../../../tools/libxc -I/home/osstest/build.12828.build-amd64/xen-unstable/tools/blktap2/drivers/../../../tools/include -D_GNU_SOURCE -DUSE_NFS_LOCKS -fPIC  -c -o img2qcow.o img2qcow.c 
> > gcc  -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement   -D__XEN_TOOLS__ -MMD -MF .qcow2raw.o.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -Werror -g -Wno-unused -fno-strict-aliasing -I../include -I../drivers -I/home/osstest/build.12828.build-amd64/xen-unstable/tools/blktap2/drivers/../../../tools/libxc -I/home/osstest/build.12828.build-amd64/xen-unstable/tools/blktap2/drivers/../../../tools/include -D_GNU_SOURCE -DUSE_NFS_LOCKS -fPIC  -c -o qcow2raw.o qcow2raw.c 
> > cc1: warnings being treated as errors
> > block-remus.c: In function 'ramdisk_flush':
> > block-remus.c:508: error: 'buf' may be used uninitialized in this function
> > make[5]: *** [block-remus.o] Error 1
> > make[5]: *** Waiting for unfinished jobs....
> > 
> > I presume this is 25289:27d63b9f111a "blktap2: Do not build with -O0" or
> > one of the followup patches?
> > 
> > Ah:
> > 
> > > version targeted for testing:
> > >  xen                  27d63b9f111a
> > 
> > So before all the fixups -- I suppose this will pass on the next run.
> 
> Keir says this isn't one he has fixed. I can't repro it either (and I
> run Squeeze, just like the build system) but by inspection this ought to
> solve it.

Looks like a compiler issue, since merge_requests() seems to correctly
return a non-null value when it does not touch the passed pointer to
buf. So your simple change looks like a correct workaround.


In general I think Makefiles should rather not mess with -W* and -O*
options like this, and use only the global flags if possible.


Olaf

  reply	other threads:[~2012-05-10 13:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-10 11:58 [xen-unstable test] 12828: regressions - FAIL xen.org
2012-05-10 13:01 ` Ian Campbell
2012-05-10 13:15   ` Ian Campbell
2012-05-10 13:26     ` Olaf Hering [this message]
2012-05-10 13:28   ` Ian Jackson
2012-05-10 13:31     ` Ian Campbell
2012-05-10 13:32       ` Ian Jackson
2012-05-10 13:36         ` Ian Campbell
2012-05-10 13:26 ` Ian Jackson

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=20120510132610.GA5002@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=keir@xen.org \
    --cc=rshriram@cs.ubc.ca \
    --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.