Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Mar 2015 08:12:48 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Craig Rodrigues <rodrigc@FreeBSD.org>
Cc:        "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, freebsd-toolchain@freebsd.org
Subject:   Re: CROSS_TOOLCHAIN=amd64-gcc fails to build after clang 3.6.0 import
Message-ID:  <5F90BE99-E82C-4444-9E4C-5963B40AA3B0@FreeBSD.org>
In-Reply-To: <CAG=rPVe%2BzAuD_wuUC1Hro%2BTup5zWv85J3LHezYD0y=M8U2SRTg@mail.gmail.com>
References:  <CAG=rPVe%2BzAuD_wuUC1Hro%2BTup5zWv85J3LHezYD0y=M8U2SRTg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.27

iEYEARECAAYFAlUPvPkACgkQsF6jCi4glqM44QCggtP/UKqPA8Ab8U42C88CrM9Y
1JAAnjrQ7BSCcnZedVr+rW0GpMWFRqBp
=jUkP
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5F90BE99-E82C-4444-9E4C-5963B40AA3B0>