On Debian Testing, x86_64.
I cannot get Xen compiled. I've carefully followed the wiki here:
... especially WRT dependencies, but no change.
gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99
-Wall -Wstrict-prototypes -Wdeclaration-after-statement
-Wno-unused-but-set-variable -Wno-unused-local-typedefs -or -g
-Wno-unused -fno-strict-aliasing -I../include -I../drivers
-I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../../../tools/libxc
-I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../.
gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99
-Wall -Wstrict-prototypes -Wdeclaration-after-statement
-Wno-unused-but-set-variable -Wno-unused-local-typedefs -or -g
-Wno-unused -fno-strict-aliasing -I../include -I../drivers
-I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../../../tools/libxc
-I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../.
gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99
-Wall -Wstrict-prototypes -Wdeclaration-after-statement
-Wno-unused-but-set-variable -Wno-unused-local-typedefs -ror -g
-Wno-unused -fno-strict-aliasing -I../include -I../drivers
-I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../../../tools/libxc
-I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../
block-qcow.c: In function ‘get_cluster_offset’:
block-qcow.c:431:3: error: ‘tmp_ptr’ may be used uninitialized in this
function [-Werror=maybe-uninitialized]
memcpy(tmp_ptr, l1_ptr, 4096);
^
block-qcow.c:606:7: error: ‘tmp_ptr2’ may be used uninitialized in this
function [-Werror=maybe-uninitialized]
if (write(s->fd, tmp_ptr2, 4096) != 4096) {
^
cc1: all warnings being treated as errors
/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../../../tools/Rules.mk:89:
recipe for target 'block-qcow.o' failed
make[6]: *** [block-qcow.o] Error 1
make[6]: Leaving directory
'/usr/local/src/xen-4.4.0/tools/blktap2/drivers'
/usr/local/src/xen-4.4.0/tools/blktap2/../../tools/Rules.mk:105: recipe
for target 'subdir-install-drivers' failed
make[5]: *** [subdir-install-drivers] Error 2
make[5]: Leaving directory '/usr/local/src/xen-4.4.0/tools/blktap2'
/usr/local/src/xen-4.4.0/tools/blktap2/../../tools/Rules.mk:100: recipe
for target 'subdirs-install' failed
make[4]: *** [subdirs-install] Error 2
make[4]: Leaving directory '/usr/local/src/xen-4.4.0/tools/blktap2'
/usr/local/src/xen-4.4.0/tools/../tools/Rules.mk:105: recipe for target
'subdir-install-blktap2' failed
make[3]: *** [subdir-install-blktap2] Error 2
make[3]: Leaving directory '/usr/local/src/xen-4.4.0/tools'
/usr/local/src/xen-4.4.0/tools/../tools/Rules.mk:100: recipe for target
'subdirs-install' failed
make[2]: *** [subdirs-install] Error 2
make[2]: Leaving directory '/usr/local/src/xen-4.4.0/tools'
Makefile:96: recipe for target 'install-tools' failed
make[1]: *** [install-tools] Error 2
make[1]: Leaving directory '/usr/local/src/xen-4.4.0'
Makefile:144: recipe for target 'world' failed
make: *** [world] Error 2
--