CROSS_TOOLCHAIN=amd64-gcc fails to build after clang 3.6.0 import
Dimitry Andric
dim at FreeBSD.org
Mon Mar 23 07:13:03 UTC 2015
On 23 Mar 2015, at 01:49, Craig Rodrigues <rodrigc at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-toolchain/attachments/20150323/fda21b5b/attachment.sig>
More information about the freebsd-toolchain
mailing list