Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe isa.c problem
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.odrivers/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
Quoted 7 lines · Pasi Kärkkäinen
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 17x86_64host (gcc 4.7.0):make tools:
Quoted 13 lines
..
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.odrivers/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
Quoted 22 lines · Pasi Kärkkäinen
Quoted 7 lines · Pasi Kärkkäinen
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 17x86_64host (gcc 4.7.0):make tools:
Quoted 13 lines
..
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.odrivers/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'
Quoted 4 lines
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.odrivers/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
Quoted 39 lines · Pasi Kärkkäinen
Quoted 22 lines · Pasi Kärkkäinen
Quoted 7 lines · Pasi Kärkkäinen
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 17x86_64host (gcc 4.7.0):make tools:
Quoted 13 lines
..
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.odrivers/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'Quoted 4 lines
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.odrivers/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'
Quoted 2 lines
And patch from Olaf here: http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001280.html
And the third build problem:
[BUILD] bin/qib7322.odrivers/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
Re: Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe build problems with gcc 4.7
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
Quoted 64 lines · Pasi Kärkkäinen
Quoted 39 lines · Pasi Kärkkäinen
Quoted 22 lines · Pasi Kärkkäinen
Quoted 7 lines · Pasi Kärkkäinen
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 17x86_64host (gcc 4.7.0):make tools:
Quoted 13 lines
..
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.odrivers/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'Quoted 4 lines
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.odrivers/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'Quoted 2 lines
And patch from Olaf here: http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001280.html
And the third build problem:
[BUILD]
bin/qib7322.odrivers/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
[email protected]
http://lists.xen.org/xen-devel
Re: Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe build problems with gcc 4.7
Quoted 8 lines · Pasi Kärkkäinen
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
[email protected]
http://lists.xen.org/xen-devel
Re: Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe build problems with gcc 4.7
In reply to Pasi KärkkäinenQuoted 8 lines · Pasi Kärkkäinen
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
Quoted 86 lines
-- Pasi
Quoted 70 lines · Pasi Kärkkäinen
Quoted 48 lines · Pasi Kärkkäinen
Quoted 27 lines · Pasi Kärkkäinen
Quoted 8 lines · Pasi Kärkkäinen
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 17x86_64host (gcc 4.7.0):make tools:
Quoted 17 lines
..
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.odrivers/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'Quoted 5 lines
Ok the patch from Olaf is here:
http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001279.htmlShould we apply that patch to xen-unstable for Xen 4.2 ?
And then there's the next build problem:
[BUILD]
bin/myri10ge.odrivers/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'Quoted 3 lines
And patch from Olaf here:
http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001280.htmlAnd the third build problem:
[BUILD]
bin/qib7322.odrivers/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/1216Quoted 7 lines
-- Pasi
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Re: Xen 4.2.0-rc2: make tools fails on Fedora 17, ipxe build problems with gcc 4.7
Quoted 7 lines · Keir Fraser
Quoted 5 lines · Pasi Kärkkäinen
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:
Quoted 8 lines
Quoted 3 lines
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/1216I've checked these into etherboot/patches/ in xen-unstable.hg.
-- Keir
Thanks!
-- Pasi
Quoted 88 lines
Quoted 86 lines
-- Pasi
Quoted 70 lines · Pasi Kärkkäinen
Quoted 48 lines · Pasi Kärkkäinen
Quoted 27 lines · Pasi Kärkkäinen
Quoted 8 lines · Pasi Kärkkäinen
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 17x86_64host (gcc 4.7.0):make tools:
Quoted 17 lines
..
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.odrivers/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'Quoted 5 lines
Ok the patch from Olaf is here:
http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001279.htmlShould we apply that patch to xen-unstable for Xen 4.2 ?
And then there's the next build problem:
[BUILD]
bin/myri10ge.odrivers/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'Quoted 3 lines
And patch from Olaf here:
http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001280.htmlAnd the third build problem:
[BUILD]
bin/qib7322.odrivers/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/1216Quoted 7 lines
-- Pasi
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 22 lines · Pasi Kärkkäinen
Quoted 7 lines · Pasi Kärkkäinen
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 17x86_64host (gcc 4.7.0):make tools:
Quoted 13 lines
..
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.odrivers/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'
Quoted 3 lines
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
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel