From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe isa.c problem Date: Tue, 14 Aug 2012 00:44:49 +0300 Message-ID: <20120813214449.GT19851@reaktio.net> References: <20120813203950.GQ19851@reaktio.net> <20120813213558.GR19851@reaktio.net> <20120813213903.GS19851@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20120813213903.GS19851@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: olaf@aepfle.de List-Id: xen-devel@lists.xenproject.org On Tue, Aug 14, 2012 at 12:39:03AM +0300, Pasi K=E4rkk=E4inen wrote: > On Tue, Aug 14, 2012 at 12:35:58AM +0300, Pasi K=E4rkk=E4inen wrote: > > On Mon, Aug 13, 2012 at 11:39:50PM +0300, Pasi K=E4rkk=E4inen wrote: > > > Hello, > > > = > > > I just grabbed http://bits.xensource.com/oss-xen/release/4.2.0-rc2/xe= n-4.2.0-rc2.tar.gz > > > and tried to build it on Fedora 17 x86_64 host (gcc 4.7.0): > > > = > > > make tools: > > > = > > > .. > > > make[5]: Entering directory `/root/xen/xen-4.2.0-rc2/tools/firmware' > > > make -C etherboot all > > > make[6]: Entering directory `/root/xen/xen-4.2.0-rc2/tools/firmware/e= therboot' > > > make -C ipxe/src bin/rtl8139.rom > > > make[7]: Entering directory `/root/xen/xen-4.2.0-rc2/tools/firmware/e= therboot/ipxe/src' > > > [BUILD] bin/isa.o > > > drivers/bus/isa.c: In function 'isabus_probe': > > > drivers/bus/isa.c:112:18: error: array subscript is above array bound= s [-Werror=3Darray-bounds] > > > cc1: all warnings being treated as errors > > > make[7]: *** [bin/isa.o] Error 1 > > > make[7]: Leaving directory `/root/xen/xen-4.2.0-rc2/tools/firmware/et= herboot/ipxe/src' > > > > > = > > Ok the patch from Olaf is here: http://lists.ipxe.org/pipermail/ipxe-de= vel/2012-March/001279.html > > = > > Should we apply that patch to xen-unstable for Xen 4.2 ? = > > = > = > And then there's the next build problem: > = > [BUILD] bin/myri10ge.o > drivers/net/myri10ge.c: In function 'myri10ge_command': > drivers/net/myri10ge.c:308:3: error: dereferencing type-punned pointer wi= ll break strict-aliasing rules [-Werror=3Dstrict-aliasing] > drivers/net/myri10ge.c:310:2: error: dereferencing type-punned pointer wi= ll break strict-aliasing rules [-Werror=3Dstrict-aliasing] > cc1: all warnings being treated as errors > make[7]: *** [bin/myri10ge.o] Error 1 > make[7]: Leaving directory `/root/xen/xen-4.2.0-rc2/tools/firmware/etherb= oot/ipxe/src' > = > = > And patch from Olaf here: http://lists.ipxe.org/pipermail/ipxe-devel/2012= -March/001280.html > = And the third build problem: [BUILD] bin/qib7322.o drivers/infiniband/qib7322.c: In function 'qib7322_probe': drivers/infiniband/qib7322.c:2141:28: error: 'old_value' may be used uninit= ialized in this function [-Werror=3Dmaybe-uninitialized] drivers/infiniband/qib7322.c:2123:11: note: 'old_value' was declared here cc1: all warnings being treated as errors make[7]: *** [bin/qib7322.o] Error 1 make[7]: Leaving directory `/root/xen/xen-4.2.0-rc2/tools/firmware/etherboo= t/ipxe/src' And patch from Christian Hesse here: http://permalink.gmane.org/gmane.netwo= rk.ipxe.devel/1216 -- Pasi