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

--Apple-Mail=_01478318-A03E-4546-90F2-CAF8BC69E45E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 23 Mar 2015, at 01:49, Craig Rodrigues <rodrigc@FreeBSD.org> wrote:
>=20
> Hi,
>=20
> 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:
>=20
> =
/builds/FreeBSD_HEAD_external_toolchain_gcc/obj/builds/FreeBSD_HEAD_extern=
al_toolchain_gcc/tmp/usr/include/c++/v1/type_traits:881:87:
> error: use of deleted function
> 'clang::Sema::TypoExprState::TypoExprState(const
> clang::Sema::TypoExprState&)'
>=20
> =
sizeof(__is_convertible_imp::__test<_T2>(__is_convertible_imp::__source<_T=
1>()))
>     =3D=3D 1
>=20
> See full build logs here:
> =
https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/21/con=
sole
>=20
> 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


--Apple-Mail=_01478318-A03E-4546-90F2-CAF8BC69E45E
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

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

--Apple-Mail=_01478318-A03E-4546-90F2-CAF8BC69E45E--



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