From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNxjl-00074O-VO for qemu-devel@nongnu.org; Tue, 26 Jan 2016 02:08:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNxji-0001NG-PH for qemu-devel@nongnu.org; Tue, 26 Jan 2016 02:08:25 -0500 Content-Type: text/plain; charset=cp932 Mime-Version: 1.0 (1.0) From: Alexander Graf In-Reply-To: <20160126053747.GA16692@voom.fritz.box> Date: Tue, 26 Jan 2016 08:08:15 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <0680BF2B-8AC3-4950-BFAB-12F7E39EFF05@suse.de> References: <1453684527-23564-1-git-send-email-david@gibson.dropbear.id.au> <20160125111936.GI32205@voom.redhat.com> <20160125140038.GK32205@voom.redhat.com> <20160126053747.GA16692@voom.fritz.box> 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: David Gibson Cc: Laurent Vivier , Peter Maydell , Thomas Huth , Mark Cave-Ayland , QEMU Developers , "qemu-ppc@nongnu.org" , "bharata@linux.vnet.ibm.com" , Greg Kurz > Am 26.01.2016 um 06:37 schrieb David Gibson := >=20 >> 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 :(. >>>>=20 >>>> Oops -- what's the failure there? >>>>=20 >>>> (I do know of a vixl compile failure with older gcc you might be runnin= g >>>> into; if that's it try configuring with --cxx=3Dnone. I should send a p= atch >>>> to fix that.) >>>=20 >>> Doesn't look like it. Might be something to do with a specific glib >>> version though: >>>=20 >>> $ make -k >>> CC qga/commands-posix.o >>> qga/commands-posix.c: In function =81eqmp_guest_file_write=81f: >>> qga/commands-posix.c:529:39: error: passing argument 3 of =81eqbase64_de= code=81f from incompatible pointer type [-Werror=3Dincompatible-pointer-type= s] >>> 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 =81esize_= t * {aka unsigned int *}=81f but argument is of type =81egsize * {aka long u= nsigned int *}=81f >>> 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. >=20 > There are different versions of the *headers*!? Wtf? >=20 >> 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. >=20 > Good grief. And this would be why I don't generally test 32-bit > builds... Just set up a 32bit vm and maybe configure it to automatically test your git= branch? ;) Alex