Received: from eggs.gnu.org ([2001:4830:134:3::10]:44718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcbLA-0004DJ-3W for qemu-devel@nongnu.org; Mon, 30 Mar 2015 11:11:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcbL6-0004tN-TV for qemu-devel@nongnu.org; Mon, 30 Mar 2015 11:11:00 -0400 Received: from mail-wg0-x22d.google.com ([2a00:1450:400c:c00::22d]:35291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcbL6-0004tJ-MV for qemu-devel@nongnu.org; Mon, 30 Mar 2015 11:10:56 -0400 Received: by wgdm6 with SMTP id m6so178750981wgd.2 for ; Mon, 30 Mar 2015 08:10:56 -0700 (PDT) Date: Mon, 30 Mar 2015 16:10:51 +0100 From: Stefan Hajnoczi Message-ID: <20150330151051.GO25181@stefanha-thinkpad.redhat.com> References: <1427324259-1481-1-git-send-email-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jozmn01XJZjDjM3N" Content-Disposition: inline In-Reply-To: <1427324259-1481-1-git-send-email-jsnow@redhat.com> Subject: Re: [Qemu-devel] [PATCH v5 0/4] configure: clang 3.5.0 build fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org, stefanha@redhat.com --jozmn01XJZjDjM3N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 25, 2015 at 06:57:35PM -0400, John Snow wrote: > QEMU does not compile cleanly under clang 3.5.0. These patches eliminate= the > avalanche of warnings and make the build usable. >=20 > The result is that you *should* be able to use clang 3.5.0 *with* ccache = and > -Werror and produce all targets. >=20 > Regrettably, this is v5 because I overlooked deleting "--keep-tmpc" in the > previous version. Sorry mom, I let the homestead down. We'll be eating di= rt > this winter. I can always go to the city for work, please don't cry. >=20 > v4: > - Enable ccache workaround for configurations without -Werror, > to suppress warnings as well. > - Removed optimization from cc_has_warning_flag() > - Renamed ccache variable to ccache_cpp2 >=20 > John Snow (3): > configure: factor out supported flag check > configure: silence glib unknown attribute __alloc_size__ > configure: Add workaround for ccache and clang >=20 > Stefan Hajnoczi (1): > configure: handle clang -nopie argument warning >=20 > configure | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++-------= ------ > 1 file changed, 65 insertions(+), 16 deletions(-) Reviewed-by: Stefan Hajnoczi --jozmn01XJZjDjM3N Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVGWd7AAoJEJykq7OBq3PIrUEIAIBXibPwbHaf3/HArku206ow vl2u7MUAO5Kr63Ftx60SSujfpx+MfXlDMLDfXIl6bhFw3BIoHhAkg7yvQT5nYMha ZegJmCSCNp+eX8eBT6MD/LuIiByB84zGEsfVJK/8ZfyUTrfbexyToNB8jw0/gI76 Qk+NsHl73hT0gFByWlgAW2OQeaVDZX3e8X6xLtd65hoREKuP44iuTwgA12E3FNrF ObRSNNM+YSMIS6DSr1PTYvFx1G4aAMBWmNVHC9FwUEAaWZ6jEkVgLi3DB+gaxKAt L1iQRjXhpb5t1GoaSXFZw76g3fN3OFs9oPJuDHKkIndwjVa4yMA6ljr8K1Wf1RE= =0KFl -----END PGP SIGNATURE----- --jozmn01XJZjDjM3N--