[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [BUG] stable-4.4: xen/tools/blktap2/drivers/block-qcow.c build errors



On Mon, Jun 30, 2014 at 06:59:42PM +0200, Leonardo Taccari wrote:
> [...]
> gcc  -O1 -fno-omit-frame-pointer -marm -g -fno-strict-aliasing -std=gnu99 
> -Wall -Wstrict-prototypes -
> Wdeclaration-after-statement -Wno-unused-but-set-variable 
> -Wno-unused-local-typedefs   -D__XEN_TOOLS_
> _ -MMD -MF .block-qcow.o.d -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
> -D_LARGEFILE64_SOURCE -fno-opti
> mize-sibling-calls  -Werror -g -Wno-unused -fno-strict-aliasing -I../include 
> -I../drivers -I/root/xen
> /tools/blktap2/drivers/../../../tools/libxc 
> -I/root/xen/tools/blktap2/drivers/../../../tools/include 
> -D_GNU_SOURCE -DUSE_NFS_LOCKS  -c -o block-qcow.o block-qcow.c 
> 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-uninit
> ialized]
>    memcpy(tmp_ptr, l1_ptr, 4096);
>    ^
> block-qcow.c:606:7: error: 'tmp_ptr2' may be used uninitialized in this 
> function [-Werror=maybe-unini
> tialized]
>    if (write(s->fd, tmp_ptr2, 4096) != 4096) {
>        ^
> cc1: all warnings being treated as errors
> /root/xen/tools/blktap2/drivers/../../../tools/Rules.mk:89: recipe for target 
> 'block-qcow.o' failed
> make[5]: *** [block-qcow.o] Error 1
> make[5]: Leaving directory '/root/xen/tools/blktap2/drivers'
> /root/xen/tools/blktap2/../../tools/Rules.mk:105: recipe for target 
> 'subdir-install-drivers' failed
> make[4]: *** [subdir-install-drivers] Error 2
> make[4]: Leaving directory '/root/xen/tools/blktap2'
> /root/xen/tools/blktap2/../../tools/Rules.mk:100: recipe for target 
> 'subdirs-install' failed
> make[3]: *** [subdirs-install] Error 2
> make[3]: Leaving directory '/root/xen/tools/blktap2'
> /root/xen/tools/../tools/Rules.mk:105: recipe for target 
> 'subdir-install-blktap2' failed
> make[2]: *** [subdir-install-blktap2] Error 2
> make[2]: Leaving directory '/root/xen/tools'
> /root/xen/tools/../tools/Rules.mk:100: recipe for target 'subdirs-install' 
> failed
> make[1]: *** [subdirs-install] Error 2
> make[1]: Leaving directory '/root/xen/tools'
> Makefile:96: recipe for target 'install-tools' failed
> make: *** [install-tools] Error 2
> [...]
These emails seems related to this problem:

 http://lists.xen.org/archives/html/xen-devel/2014-06/msg02790.html


Ciao,
L.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.