* Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe isa.c problem @ 2012-08-13 20:39 Pasi Kärkkäinen 2012-08-13 21:35 ` Pasi Kärkkäinen 0 siblings, 1 reply; 9+ messages in thread From: Pasi Kärkkäinen @ 2012-08-13 20:39 UTC (permalink / raw) To: xen-devel Hello, I just grabbed http://bits.xensource.com/oss-xen/release/4.2.0-rc2/xen-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/etherboot' make -C ipxe/src bin/rtl8139.rom make[7]: Entering directory `/root/xen/xen-4.2.0-rc2/tools/firmware/etherboot/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 bounds [-Werror=array-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/etherboot/ipxe/src' make[6]: *** [ipxe/src/bin/rtl8139.rom] Error 2 make[6]: Leaving directory `/root/xen/xen-4.2.0-rc2/tools/firmware/etherboot' make[5]: *** [subdir-all-etherboot] Error 2 make[5]: Leaving directory `/root/xen/xen-4.2.0-rc2/tools/firmware' make[4]: *** [subdirs-all] Error 2 make[4]: Leaving directory `/root/xen/xen-4.2.0-rc2/tools/firmware' make[3]: *** [all] Error 2 make[3]: Leaving directory `/root/xen/xen-4.2.0-rc2/tools/firmware' make[2]: *** [subdir-install-firmware] Error 2 make[2]: Leaving directory `/root/xen/xen-4.2.0-rc2/tools' make[1]: *** [subdirs-install] Error 2 make[1]: Leaving directory `/root/xen/xen-4.2.0-rc2/tools' make: *** [install-tools] Error 2 Did someone already notice/fix this issue? -- Pasi ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe isa.c problem 2012-08-13 20:39 Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe isa.c problem Pasi Kärkkäinen @ 2012-08-13 21:35 ` Pasi Kärkkäinen 2012-08-13 21:39 ` Pasi Kärkkäinen 2012-08-13 22:18 ` Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe isa.c problem M A Young 0 siblings, 2 replies; 9+ messages in thread From: Pasi Kärkkäinen @ 2012-08-13 21:35 UTC (permalink / raw) To: xen-devel; +Cc: olaf On Mon, Aug 13, 2012 at 11:39:50PM +0300, Pasi Kärkkäinen wrote: > Hello, > > I just grabbed http://bits.xensource.com/oss-xen/release/4.2.0-rc2/xen-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/etherboot' > make -C ipxe/src bin/rtl8139.rom > make[7]: Entering directory `/root/xen/xen-4.2.0-rc2/tools/firmware/etherboot/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 bounds [-Werror=array-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/etherboot/ipxe/src' > Ok the patch from Olaf is here: http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001279.html Should we apply that patch to xen-unstable for Xen 4.2 ? -- Pasi ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe isa.c problem 2012-08-13 21:35 ` Pasi Kärkkäinen @ 2012-08-13 21:39 ` Pasi Kärkkäinen 2012-08-13 21:44 ` Pasi Kärkkäinen 2012-08-13 22:18 ` Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe isa.c problem M A Young 1 sibling, 1 reply; 9+ messages in thread From: Pasi Kärkkäinen @ 2012-08-13 21:39 UTC (permalink / raw) To: xen-devel; +Cc: olaf On Tue, Aug 14, 2012 at 12:35:58AM +0300, Pasi Kärkkäinen wrote: > On Mon, Aug 13, 2012 at 11:39:50PM +0300, Pasi Kärkkäinen wrote: > > Hello, > > > > I just grabbed http://bits.xensource.com/oss-xen/release/4.2.0-rc2/xen-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/etherboot' > > make -C ipxe/src bin/rtl8139.rom > > make[7]: Entering directory `/root/xen/xen-4.2.0-rc2/tools/firmware/etherboot/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 bounds [-Werror=array-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/etherboot/ipxe/src' > > > > Ok the patch from Olaf is here: http://lists.ipxe.org/pipermail/ipxe-devel/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 will break strict-aliasing rules [-Werror=strict-aliasing] drivers/net/myri10ge.c:310:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-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/etherboot/ipxe/src' And patch from Olaf here: http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001280.html -- Pasi ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe isa.c problem 2012-08-13 21:39 ` Pasi Kärkkäinen @ 2012-08-13 21:44 ` Pasi Kärkkäinen 2012-08-13 22:07 ` Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe build problems with gcc 4.7 Pasi Kärkkäinen 0 siblings, 1 reply; 9+ messages in thread From: Pasi Kärkkäinen @ 2012-08-13 21:44 UTC (permalink / raw) To: xen-devel; +Cc: olaf On Tue, Aug 14, 2012 at 12:39:03AM +0300, Pasi Kärkkäinen wrote: > On Tue, Aug 14, 2012 at 12:35:58AM +0300, Pasi Kärkkäinen wrote: > > On Mon, Aug 13, 2012 at 11:39:50PM +0300, Pasi Kärkkäinen wrote: > > > Hello, > > > > > > I just grabbed http://bits.xensource.com/oss-xen/release/4.2.0-rc2/xen-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/etherboot' > > > make -C ipxe/src bin/rtl8139.rom > > > make[7]: Entering directory `/root/xen/xen-4.2.0-rc2/tools/firmware/etherboot/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 bounds [-Werror=array-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/etherboot/ipxe/src' > > > > > > > Ok the patch from Olaf is here: http://lists.ipxe.org/pipermail/ipxe-devel/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 will break strict-aliasing rules [-Werror=strict-aliasing] > drivers/net/myri10ge.c:310:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-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/etherboot/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 uninitialized in this function [-Werror=maybe-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/etherboot/ipxe/src' And patch from Christian Hesse here: http://permalink.gmane.org/gmane.network.ipxe.devel/1216 -- Pasi ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe build problems with gcc 4.7 2012-08-13 21:44 ` Pasi Kärkkäinen @ 2012-08-13 22:07 ` Pasi Kärkkäinen 2012-08-14 14:36 ` Olaf Hering 2012-08-15 8:42 ` Keir Fraser 0 siblings, 2 replies; 9+ messages in thread From: Pasi Kärkkäinen @ 2012-08-13 22:07 UTC (permalink / raw) To: xen-devel; +Cc: olaf, Ian Jackson, Ian Campbell Hello again, So to be able to build Xen 4.2.0-rc2 on Fedora 17 with gcc 4.7 I had to apply these three patches to ipxe: http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001279.html http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001280.html http://permalink.gmane.org/gmane.network.ipxe.devel/1216 -- Pasi On Tue, Aug 14, 2012 at 12:44:49AM +0300, Pasi Kärkkäinen wrote: > On Tue, Aug 14, 2012 at 12:39:03AM +0300, Pasi Kärkkäinen wrote: > > On Tue, Aug 14, 2012 at 12:35:58AM +0300, Pasi Kärkkäinen wrote: > > > On Mon, Aug 13, 2012 at 11:39:50PM +0300, Pasi Kärkkäinen wrote: > > > > Hello, > > > > > > > > I just grabbed http://bits.xensource.com/oss-xen/release/4.2.0-rc2/xen-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/etherboot' > > > > make -C ipxe/src bin/rtl8139.rom > > > > make[7]: Entering directory `/root/xen/xen-4.2.0-rc2/tools/firmware/etherboot/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 bounds [-Werror=array-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/etherboot/ipxe/src' > > > > > > > > > > Ok the patch from Olaf is here: http://lists.ipxe.org/pipermail/ipxe-devel/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 will break strict-aliasing rules [-Werror=strict-aliasing] > > drivers/net/myri10ge.c:310:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-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/etherboot/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 uninitialized in this function [-Werror=maybe-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/etherboot/ipxe/src' > > > And patch from Christian Hesse here: http://permalink.gmane.org/gmane.network.ipxe.devel/1216 > > > -- Pasi > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe build problems with gcc 4.7 2012-08-13 22:07 ` Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe build problems with gcc 4.7 Pasi Kärkkäinen @ 2012-08-14 14:36 ` Olaf Hering 2012-08-15 8:42 ` Keir Fraser 1 sibling, 0 replies; 9+ messages in thread From: Olaf Hering @ 2012-08-14 14:36 UTC (permalink / raw) To: Pasi Kärkkäinen; +Cc: Ian Jackson, Ian Campbell, xen-devel On Tue, Aug 14, Pasi Kärkkäinen wrote: > Hello again, > > So to be able to build Xen 4.2.0-rc2 on Fedora 17 with gcc 4.7 > I had to apply these three patches to ipxe: > > http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001279.html > http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001280.html > http://permalink.gmane.org/gmane.network.ipxe.devel/1216 Sorry, I just realized that my xen-unstable rpm package still contains a patches.tar.gz which is extracted in tools/firmware/etherboot. So I did not notice the build errors in plain xen-unstable. Olaf _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe build problems with gcc 4.7 2012-08-13 22:07 ` Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe build problems with gcc 4.7 Pasi Kärkkäinen 2012-08-14 14:36 ` Olaf Hering @ 2012-08-15 8:42 ` Keir Fraser 2012-08-15 10:18 ` Pasi Kärkkäinen 1 sibling, 1 reply; 9+ messages in thread From: Keir Fraser @ 2012-08-15 8:42 UTC (permalink / raw) To: Pasi Kärkkäinen, xen-devel; +Cc: olaf, Ian Jackson, Ian Campbell On 13/08/2012 23:07, "Pasi Kärkkäinen" <pasik@iki.fi> wrote: > Hello again, > > So to be able to build Xen 4.2.0-rc2 on Fedora 17 with gcc 4.7 > I had to apply these three patches to ipxe: > > http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001279.html > http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001280.html > http://permalink.gmane.org/gmane.network.ipxe.devel/1216 I've checked these into etherboot/patches/ in xen-unstable.hg. -- Keir > -- Pasi > > > On Tue, Aug 14, 2012 at 12:44:49AM +0300, Pasi Kärkkäinen wrote: >> On Tue, Aug 14, 2012 at 12:39:03AM +0300, Pasi Kärkkäinen wrote: >>> On Tue, Aug 14, 2012 at 12:35:58AM +0300, Pasi Kärkkäinen wrote: >>>> On Mon, Aug 13, 2012 at 11:39:50PM +0300, Pasi Kärkkäinen wrote: >>>>> Hello, >>>>> >>>>> I just grabbed >>>>> http://bits.xensource.com/oss-xen/release/4.2.0-rc2/xen-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/etherboot' >>>>> make -C ipxe/src bin/rtl8139.rom >>>>> make[7]: Entering directory >>>>> `/root/xen/xen-4.2.0-rc2/tools/firmware/etherboot/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 bounds >>>>> [-Werror=array-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/etherboot/ipxe/src' >>>>> >>>> >>>> Ok the patch from Olaf is here: >>>> http://lists.ipxe.org/pipermail/ipxe-devel/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 will >>> break strict-aliasing rules [-Werror=strict-aliasing] >>> drivers/net/myri10ge.c:310:2: error: dereferencing type-punned pointer will >>> break strict-aliasing rules [-Werror=strict-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/etherboot/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 >> uninitialized in this function [-Werror=maybe-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/etherboot/ipxe/src' >> >> >> And patch from Christian Hesse here: >> http://permalink.gmane.org/gmane.network.ipxe.devel/1216 >> >> >> -- Pasi >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xen.org >> http://lists.xen.org/xen-devel > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe build problems with gcc 4.7 2012-08-15 8:42 ` Keir Fraser @ 2012-08-15 10:18 ` Pasi Kärkkäinen 0 siblings, 0 replies; 9+ messages in thread From: Pasi Kärkkäinen @ 2012-08-15 10:18 UTC (permalink / raw) To: Keir Fraser; +Cc: olaf, Ian Jackson, Ian Campbell, xen-devel On Wed, Aug 15, 2012 at 09:42:08AM +0100, Keir Fraser wrote: > On 13/08/2012 23:07, "Pasi Kärkkäinen" <pasik@iki.fi> wrote: > > > Hello again, > > > > So to be able to build Xen 4.2.0-rc2 on Fedora 17 with gcc 4.7 > > I had to apply these three patches to ipxe: > > > > http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001279.html > > http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001280.html > > http://permalink.gmane.org/gmane.network.ipxe.devel/1216 > > I've checked these into etherboot/patches/ in xen-unstable.hg. > > -- Keir > Thanks! -- Pasi > > -- Pasi > > > > > > On Tue, Aug 14, 2012 at 12:44:49AM +0300, Pasi Kärkkäinen wrote: > >> On Tue, Aug 14, 2012 at 12:39:03AM +0300, Pasi Kärkkäinen wrote: > >>> On Tue, Aug 14, 2012 at 12:35:58AM +0300, Pasi Kärkkäinen wrote: > >>>> On Mon, Aug 13, 2012 at 11:39:50PM +0300, Pasi Kärkkäinen wrote: > >>>>> Hello, > >>>>> > >>>>> I just grabbed > >>>>> http://bits.xensource.com/oss-xen/release/4.2.0-rc2/xen-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/etherboot' > >>>>> make -C ipxe/src bin/rtl8139.rom > >>>>> make[7]: Entering directory > >>>>> `/root/xen/xen-4.2.0-rc2/tools/firmware/etherboot/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 bounds > >>>>> [-Werror=array-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/etherboot/ipxe/src' > >>>>> > >>>> > >>>> Ok the patch from Olaf is here: > >>>> http://lists.ipxe.org/pipermail/ipxe-devel/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 will > >>> break strict-aliasing rules [-Werror=strict-aliasing] > >>> drivers/net/myri10ge.c:310:2: error: dereferencing type-punned pointer will > >>> break strict-aliasing rules [-Werror=strict-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/etherboot/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 > >> uninitialized in this function [-Werror=maybe-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/etherboot/ipxe/src' > >> > >> > >> And patch from Christian Hesse here: > >> http://permalink.gmane.org/gmane.network.ipxe.devel/1216 > >> > >> > >> -- Pasi > >> > >> > >> _______________________________________________ > >> Xen-devel mailing list > >> Xen-devel@lists.xen.org > >> http://lists.xen.org/xen-devel > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xen.org > > http://lists.xen.org/xen-devel > > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe isa.c problem 2012-08-13 21:35 ` Pasi Kärkkäinen 2012-08-13 21:39 ` Pasi Kärkkäinen @ 2012-08-13 22:18 ` M A Young 1 sibling, 0 replies; 9+ messages in thread From: M A Young @ 2012-08-13 22:18 UTC (permalink / raw) To: Pasi Kärkkäinen; +Cc: olaf, xen-devel [-- Attachment #1: Type: TEXT/PLAIN, Size: 1332 bytes --] On Mon, 13 Aug 2012, Pasi Kärkkäinen wrote: > On Mon, Aug 13, 2012 at 11:39:50PM +0300, Pasi Kärkkäinen wrote: >> Hello, >> >> I just grabbed http://bits.xensource.com/oss-xen/release/4.2.0-rc2/xen-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/etherboot' >> make -C ipxe/src bin/rtl8139.rom >> make[7]: Entering directory `/root/xen/xen-4.2.0-rc2/tools/firmware/etherboot/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 bounds [-Werror=array-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/etherboot/ipxe/src' >> > > Ok the patch from Olaf is here: http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001279.html > > Should we apply that patch to xen-unstable for Xen 4.2 ? It may simply be that xen needs to check out the ipxe tree at a later point. For Fedora an alternate approach is not to build ipxe at all, and take them instead from the ipxe-roms-qemu package. Michael Young [-- Attachment #2: Type: text/plain, Size: 126 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2012-08-15 10:18 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-08-13 20:39 Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe isa.c problem Pasi Kärkkäinen 2012-08-13 21:35 ` Pasi Kärkkäinen 2012-08-13 21:39 ` Pasi Kärkkäinen 2012-08-13 21:44 ` Pasi Kärkkäinen 2012-08-13 22:07 ` Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe build problems with gcc 4.7 Pasi Kärkkäinen 2012-08-14 14:36 ` Olaf Hering 2012-08-15 8:42 ` Keir Fraser 2012-08-15 10:18 ` Pasi Kärkkäinen 2012-08-13 22:18 ` Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe isa.c problem M A Young
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).