Date: Tue, 31 Mar 2015 20:13:32 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Craig Rodrigues <rodrigc@FreeBSD.org> Cc: "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org> Subject: Re: CROSS_TOOLCHAIN=amd64-gcc fails to build after clang 3.6.0 import Message-ID: <C3DE89BD-C00C-4E20-A599-D987FA33A029@FreeBSD.org> In-Reply-To: <CAG=rPVfaoL5SLUY%2BpjAe2FM1EYD_cGF-vy7vOsSu6EUSyJW5yQ@mail.gmail.com> References: <CAG=rPVe%2BzAuD_wuUC1Hro%2BTup5zWv85J3LHezYD0y=M8U2SRTg@mail.gmail.com> <5F90BE99-E82C-4444-9E4C-5963B40AA3B0@FreeBSD.org> <CAG=rPVfaoL5SLUY%2BpjAe2FM1EYD_cGF-vy7vOsSu6EUSyJW5yQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <rodrigc@FreeBSD.org> wrote: >=20 > On Mon, Mar 23, 2015 at 12:12 AM, Dimitry Andric <dim@freebsd.org> = 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 <class _Tp> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C3DE89BD-C00C-4E20-A599-D987FA33A029>