Received: from eggs.gnu.org ([2001:4830:134:3::10]:59810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btfTO-0006yI-AA for qemu-devel@nongnu.org; Mon, 10 Oct 2016 14:38:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btfTM-0004IK-EI for qemu-devel@nongnu.org; Mon, 10 Oct 2016 14:38:49 -0400 References: <1476110306-23754-1-git-send-email-eblake@redhat.com> From: Eric Blake Message-ID: <768804d4-1447-7189-5321-8fd1025d6a2d@redhat.com> Date: Mon, 10 Oct 2016 13:38:40 -0500 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="JvsNWBuwvFjQMEdehbofFpOOGVArJnsaF" Subject: Re: [Qemu-devel] [PATCH v2] build: Work around SIZE_MAX bug in OSX headers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers , Qemu-block , Kevin Wolf , Markus Armbruster , Ashijeet Acharya This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --JvsNWBuwvFjQMEdehbofFpOOGVArJnsaF From: Eric Blake To: Peter Maydell Cc: QEMU Developers , Qemu-block , Kevin Wolf , Markus Armbruster , Ashijeet Acharya Message-ID: <768804d4-1447-7189-5321-8fd1025d6a2d@redhat.com> Subject: Re: [PATCH v2] build: Work around SIZE_MAX bug in OSX headers References: <1476110306-23754-1-git-send-email-eblake@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/10/2016 10:12 AM, Peter Maydell wrote: >> v2: rewrite into a configure check (not sure if directly adding a >> -D to QEMU_CFLAGS is the best, so advice welcome) >=20 > Writing into config-host.mak would be preferable I think. >=20 Okay, attempted in v4. >> I lack easy access to a Mac box, so this is untested as to whether >> it actually solves the issue... >=20 > I ran a test with one of the cast workarounds locally removed, > and this patch does allow the %zu version to build OK on OSX. Thanks. But v3 leaves off Tested-by, because I still need to make sure my configure magic worked correctly :) --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --JvsNWBuwvFjQMEdehbofFpOOGVArJnsaF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJX++AwAAoJEKeha0olJ0Nqh2gH/jwqPofJcGKujibI9wNSKCB2 oZtZOND0v896dEckHg4AEDRGkzIJ4hzATKS0e5OjHjGbhlXcvsExKm1wlTvnsq+1 eVCGhpF3LdX/1AVY25k/vf5XIVGCOdp/rRslpn9EHh6qMTCf8Ioa0B31Nxza9FLm fZ/H+k67S0mNWaRdbrGaO4U9L+6ULYH6ZeDM5KAH09IcODLEyvMRKECNTASpPz81 uAxTYVRX7bg/3Zi+UdF/U0SLOqaYVKnF3fjc4/ZT3c5o4Oy/zQTTPE6PhRr1Gjaz usiHHLuatg6CcVtNxJ/Tdhr4h93JgScyN423z4FRpxELjvdQoccVCRJ6QxzzI+g= =e+Vh -----END PGP SIGNATURE----- --JvsNWBuwvFjQMEdehbofFpOOGVArJnsaF--