Date: Tue, 3 Mar 2015 18:17:55 +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: Failed to build with external toolchain Message-ID: <A1580F95-4882-46F3-96C2-3D3D1D493706@FreeBSD.org> In-Reply-To: <CAG=rPVfP4=BuL8DOuy9FNDcN51zshfBfeuFONiAAONWON6n3kA@mail.gmail.com> References: <CAG=rPVfP4=BuL8DOuy9FNDcN51zshfBfeuFONiAAONWON6n3kA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On 03 Mar 2015, at 09:00, Craig Rodrigues <rodrigc@FreeBSD.org> wrote: > > Based on this mail: > > https://lists.freebsd.org/pipermail/freebsd-current/2014-November/053577.html > > I created this script to build HEAD with amd64-gcc: > https://github.com/freebsd/freebsd-ci/blob/master/scripts/build/cross-build.sh > > However, when I ran the script, I got this error: > > https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/6/console > > Any ideas what the problem might be? Hi Craig, This is a bad interaction between gcc 4.9.1 and one of libc++'s headers. I am not yet sure whether it is a problem in libc++ or in gcc, so I have asked upstream to take a look at it [1]. Meanwhile, as a quick hack/workaround, you can define _LIBCPP_HAS_NO_ADVANCED_SFINAE in CXXFLAGS to attempt to make the build continue. E.g., add: CXXFLAGS+= -D_LIBCPP_HAS_NO_ADVANCED_SFINAE to the make.conf file you use for building. -Dimitry [1] http://llvm.org/PR22771 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.26 iEYEARECAAYFAlT17McACgkQsF6jCi4glqPIGwCaAp5uem3RS810PzROIdT2M8qV j7oAnRQOK4oQG/B6xqp2k8euzmOiWLf4 =mSuT -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A1580F95-4882-46F3-96C2-3D3D1D493706>
