Date: Tue, 31 Mar 2015 10:17:07 -0700 From: Craig Rodrigues <rodrigc@FreeBSD.org> To: Dimitry Andric <dim@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: <CAG=rPVfaoL5SLUY%2BpjAe2FM1EYD_cGF-vy7vOsSu6EUSyJW5yQ@mail.gmail.com> In-Reply-To: <5F90BE99-E82C-4444-9E4C-5963B40AA3B0@FreeBSD.org> References: <CAG=rPVe%2BzAuD_wuUC1Hro%2BTup5zWv85J3LHezYD0y=M8U2SRTg@mail.gmail.com> <5F90BE99-E82C-4444-9E4C-5963B40AA3B0@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 23, 2015 at 12:12 AM, Dimitry Andric <dim@freebsd.org> wrote: > > On 23 Mar 2015, at 01:49, Craig Rodrigues <rodrigc@FreeBSD.org> wrote: > > > > Hi, > > > > I tried to build HEAD with gcc 4.9.1 after the latest clang 3.6.0 import, > > and am getting > > new build failures related to C++ such as: > > > > /builds/FreeBSD_HEAD_external_toolchain_gcc/obj/builds/FreeBSD_HEAD_external_toolchain_gcc/tmp/usr/include/c++/v1/type_traits:881:87: > > error: use of deleted function > > 'clang::Sema::TypoExprState::TypoExprState(const > > clang::Sema::TypoExprState&)' > > > > sizeof(__is_convertible_imp::__test<_T2>(__is_convertible_imp::__source<_T1>())) > > == 1 > > > > See full build logs here: > > https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/21/console > > > > Any ideas what the problem might be? > > 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 > Hi, I just updated my tree to include your latest fixes such as r28064. I'm still getting this: 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_external_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 = clang::StoredDeclsList]' template <class _Tp> char __test(_Tp); ^ *** [DeclBase.o] Error code 1 make[6]: stopped in /builds/FreeBSD_HEAD_external_toolchain_gcc/lib/clang/libclangast Any ideas? See: https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/27/console -- Craig
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVfaoL5SLUY%2BpjAe2FM1EYD_cGF-vy7vOsSu6EUSyJW5yQ>