From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNwWV-0007kl-MR for qemu-devel@nongnu.org; Tue, 26 Jan 2016 00:50:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNwWR-0004v4-EQ for qemu-devel@nongnu.org; Tue, 26 Jan 2016 00:50:39 -0500 Date: Tue, 26 Jan 2016 16:37:47 +1100 From: David Gibson Message-ID: <20160126053747.GA16692@voom.fritz.box> References: <1453684527-23564-1-git-send-email-david@gibson.dropbear.id.au> <20160125111936.GI32205@voom.redhat.com> <20160125140038.GK32205@voom.redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PULL 00/28] ppc-for-2.6 queue 20160125 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Laurent Vivier , Thomas Huth , Mark Cave-Ayland , Alexander Graf , QEMU Developers , "qemu-ppc@nongnu.org" , "bharata@linux.vnet.ibm.com" , Greg Kurz --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 25, 2016 at 02:38:15PM +0000, Peter Maydell wrote: > On 25 January 2016 at 14:00, David Gibson w= rote: > > On Mon, Jan 25, 2016 at 11:59:22AM +0000, Peter Maydell wrote: > >> On 25 January 2016 at 11:19, David Gibson wrote: > >> > I think I've fixed it, but it's a bit hard to tell since for me > >> > origin/master also fails to compile on 32-bit :(. > >> > >> Oops -- what's the failure there? > >> > >> (I do know of a vixl compile failure with older gcc you might be runni= ng > >> into; if that's it try configuring with --cxx=3Dnone. I should send a = patch > >> to fix that.) > > > > Doesn't look like it. Might be something to do with a specific glib > > version though: > > > > $ make -k > > CC qga/commands-posix.o > > qga/commands-posix.c: In function =E2=80=98qmp_guest_file_write=E2=80= =99: > > qga/commands-posix.c:529:39: error: passing argument 3 of =E2=80=98qbas= e64_decode=E2=80=99 from incompatible pointer type [-Werror=3Dincompatible-= pointer-types] > > buf =3D qbase64_decode(buf_b64, -1, &buf_len, errp); > > ^ > > In file included from qga/commands-posix.c:32:0: > > /home/dwg/src/qemu/include/qemu/base64.h:52:10: note: expected =E2=80= =98size_t * {aka unsigned int *}=E2=80=99 but argument is of type =E2=80=98= gsize * {aka long unsigned int *}=E2=80=99 > > uint8_t *qbase64_decode(const char *input, > > ^ > > cc1: all warnings being treated as errors > > /home/dwg/src/qemu/rules.mak:57: recipe for target 'qga/commands-posix.= o' failed > > make: *** [qga/commands-posix.o] Error 1 > > CC util/base64.o >=20 > Ah, that's your compile environment being wrong -- you're trying to > build QEMU 32-bit but using the 64-bit glib headers. There are different versions of the *headers*!? Wtf? > Daniel sent a patch which diagnoses this at the configure stage > http://patchwork.ozlabs.org/patch/544254/ > but it looks like it didn't get applied... >=20 > Try setting PKG_CONFIG_LIBDIR and perhaps other things. Good grief. And this would be why I don't generally test 32-bit builds... --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWpwYrAAoJEGw4ysog2bOSDzUP/jREUOK2AIdkxjTRH8bZdD3f ql1BdZaHCzxtxyjpIvL5VCfABos26tUvCNtIAxeBb26fifGXy4t9cqyEfswtPGZo FLtxiHos93Rwf1RSeck/PUT4jzE5uB7SVE6qPmGLYZ82g//vEgmaMnhV/0DWFYb3 gY2kdKHadQ/nasD6nH/R+MTSum/ntbYi47Cj244jeEATZY8HOZjZyp+2yQFUmd/e yzw9XvgIpx4iiAxnMWiMQUsMpA8IdZ1Im16xH4qnRUsDcn40zufH4KudVmxfTOHb B4fbUg3Km94mDKvVeLp3D1tmTYO4wG8KOY198NmSid0K6UwgB6lQ84Y602Y3tZMz GR86aLZqPlKE+9glij9Jx/8+04wKgY5sGxFJKOlTtGOQV1jnyIXavaDnwP8rSyP6 b0G7PioNkojVC/8l+vf4r4CT9bRCzfklUS0ZndHvD0vJf9TS3QeI9VxcPTHbkTYp Ou5V0jRLq+Klh2djnjRprYRmBEDCxFisB7LKUMm7xktGxh121Bl6/auAWVi9bWsI wibwlUNbTgBbhV5Paq3W23iZYgPmh4eT/WJQF1DJle99C59saio8ivOwdWuLjeqg 06PwSE7V5t9MSmEp//T1wK05R3ASjB1jAMp01eYZ/V9dbN8P38O5r7Cah7rn3sRo s2m0s9Gk+BhC+wB9asEk =34eU -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE--