From owner-freebsd-testing@FreeBSD.ORG Tue Mar 31 18:13:55 2015 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D5C091C; Tue, 31 Mar 2015 18:13:55 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 27479D6C; Tue, 31 Mar 2015 18:13:54 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::e062:65ef:5878:a9d3] (unknown [IPv6:2001:7b8:3a7:0:e062:65ef:5878:a9d3]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 6064F5C2E; Tue, 31 Mar 2015 20:13:45 +0200 (CEST) Subject: Re: CROSS_TOOLCHAIN=amd64-gcc fails to build after clang 3.6.0 import Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_4F11C213-DF08-46ED-B591-D011577B147C"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b6 From: Dimitry Andric In-Reply-To: Date: Tue, 31 Mar 2015 20:13:32 +0200 Message-Id: References: <5F90BE99-E82C-4444-9E4C-5963B40AA3B0@FreeBSD.org> To: Craig Rodrigues X-Mailer: Apple Mail (2.2070.6) Cc: "freebsd-testing@freebsd.org" , FreeBSD Toolchain X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2015 18:13:55 -0000 --Apple-Mail=_4F11C213-DF08-46ED-B591-D011577B147C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On 31 Mar 2015, at 19:17, Craig Rodrigues wrote: >=20 > On Mon, Mar 23, 2015 at 12:12 AM, Dimitry Andric = wrote: ... > > Yes, this is a bug in libc++, when compiling it with newer versions = of > > gcc. I reported this upstream some time ago: = https://llvm.org/PR22771 > > > > Still haven't had enough time to test Eric Fiselier's patch for it. = I > > hope I see the bottom of my TODO list anytime soon... > > > > -Dimitry > > >=20 > Hi, >=20 > I just updated my tree to include your latest fixes such as r28064. >=20 > I'm still getting this: >=20 > from = /builds/FreeBSD_HEAD_external_toolchain_gcc/lib/clang/libclangast/../../..= /contrib/llvm/tools/clang/lib/AST/DeclBase.cpp:14: > = /builds/FreeBSD_HEAD_external_toolchain_gcc/obj/builds/FreeBSD_HEAD_extern= al_toolchain_gcc/tmp/usr/include/c++/v1/type_traits:845:28: error: = initializing argument 1 of 'char = std::__1::__is_convertible_imp::__test(_Tp) [with _Tp =3D = clang::StoredDeclsList]' > template char __test(_Tp); > ^ > *** [DeclBase.o] Error code 1 >=20 > make[6]: stopped in = /builds/FreeBSD_HEAD_external_toolchain_gcc/lib/clang/libclangast >=20 > Any ideas? Yes, see your log: Started by user rodrigc Building remotely on jenkins10a.freebsd.org (FreeBSD-10) in workspace = /builds/FreeBSD_HEAD_external_toolchain_gcc Updating svn://svn.freebsd.org/base/head at revision = '2015-03-31T00:49:32.815 +0000' [...] G contrib/libc++/include/type_traits U contrib/libarchive/libarchive/archive_read_disk_posix.c At revision 280872 [...] but then: + patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: contrib/libc++/include/type_traits |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |--- contrib/libc++/include/type_traits (revision 280762) |+++ contrib/libc++/include/type_traits (working copy) -------------------------- Patching file contrib/libc++/include/type_traits using Plan A... Reversed (or previously applied) patch detected! Assume -R? [y] Hunk #1 succeeded at 842. Hunk #2 succeeded at 877. Hmm... Ignoring the trailing garbage. done E.g., it undoes the change to type_traits that was merged in the = subversion update. -Dimitry --Apple-Mail=_4F11C213-DF08-46ED-B591-D011577B147C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.27 iEYEARECAAYFAlUa49cACgkQsF6jCi4glqOY0QCcCwb1SxmlXjV1WmLLXzRZCGcX gWUAoNuMWe/0rLL2X2wzDIMMh+dq/3Eo =YR6C -----END PGP SIGNATURE----- --Apple-Mail=_4F11C213-DF08-46ED-B591-D011577B147C--