From: Leonardo Taccari <iamleot@gmail.com>
To: xen-devel@lists.xensource.com
Subject: Re: [BUG] stable-4.4: xen/tools/blktap2/drivers/block-qcow.c build errors
Date: Mon, 30 Jun 2014 19:37:39 +0200 [thread overview]
Message-ID: <53b19fc4.ad3fc20a.3f08.0ea3@mx.google.com> (raw)
In-Reply-To: <20140630165941.GA1415@:)>
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.
next parent reply other threads:[~2014-06-30 17:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20140630165941.GA1415@:)>
2014-06-30 17:37 ` Leonardo Taccari [this message]
2014-06-30 16:59 [BUG] stable-4.4: xen/tools/blktap2/drivers/block-qcow.c build errors Leonardo Taccari
2014-07-02 9:02 ` Ian Campbell
2014-07-02 11:49 ` Ian Jackson
2014-07-02 14:19 ` Leonardo Taccari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53b19fc4.ad3fc20a.3f08.0ea3@mx.google.com \
--to=iamleot@gmail.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.