On 03 Mar 2015, at 09:00, Craig Rodrigues <[email protected]> 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: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to