From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbQVf-0002tx-8r for qemu-devel@nongnu.org; Mon, 14 Sep 2015 05:57:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbQVe-0003U5-Ef for qemu-devel@nongnu.org; Mon, 14 Sep 2015 05:57:15 -0400 Date: Mon, 14 Sep 2015 11:57:05 +0200 From: Kevin Wolf Message-ID: <20150914095705.GC3550@noname.str.redhat.com> References: <1442000463-22777-1-git-send-email-kwolf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PULL 00/23] Block layer patches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers , Qemu-block , mreitz@redhat.com Am 14.09.2015 um 11:46 hat Peter Maydell geschrieben: > On 11 September 2015 at 20:40, Kevin Wolf wrote: > > The following changes since commit 30c38c90bd3f1bb105ebc069ac1821067c= 980b7c: > > > > scripts/qemu-gdb: Add brief comment describing usage (2015-09-11 17= :14:50 +0100) > > > > are available in the git repository at: > > > > git://repo.or.cz/qemu/kevin.git tags/for-upstream > > > > for you to fetch changes up to 1fcbcc93872953d08cd35830d1169fed191962= 90: > > > > qcow2: Make qcow2_alloc_bytes() more explicit (2015-09-11 20:03:02 = +0200) > > > > ---------------------------------------------------------------- > > Block layer patches > > > > ---------------------------------------------------------------- >=20 > Hi. I'm afraid this fails to build on 32-bit: >=20 > /home/pm215/qemu/block/qcow2-refcount.c: In function =E2=80=98realloc_r= efcount_array=E2=80=99: > /home/pm215/qemu/block/qcow2-refcount.c:1294:16: error: cast to > pointer from integer of different size [-Werror=3Dint-to-pointer-cast] > memset((void *)((uintptr_t)new_ptr + old_byte_size), 0, > ^ > cc1: all warnings being treated as errors > /home/pm215/qemu/rules.mak:57: recipe for target 'block/qcow2-refcount.= o' failed > make: *** [block/qcow2-refcount.o] Error 1 >=20 > (old_byte_size is int64_t, so (uintptr_t)new_ptr + old_byte_size > becomes a 64-bit addition, and then you cast it to a 32-bit > pointer.) Max, I think this is yours. Kevin