Re: Failed to build with external toolchain

2015-03-24 Thread Warner Losh
On Mar 24, 2015, at 9:18 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Sat, Mar 7, 2015 at 3:48 PM, Dimitry Andric d...@freebsd.org wrote: On 07 Mar 2015, at 21:12, Craig Rodrigues rodr...@freebsd.org wrote: I ran the build again and this time I am getting errors about undefined

Re: Failed to build with external toolchain

2015-03-07 Thread Dimitry Andric
On 07 Mar 2015, at 21:12, Craig Rodrigues rodr...@freebsd.org wrote: I ran the build again and this time I am getting errors about undefined symbol utimensat(): https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/14/console Any ideas? It's linking against the wrong libc,

Re: Failed to build with external toolchain

2015-03-04 Thread Dimitry Andric
On 04 Mar 2015, at 09:48, Craig Rodrigues rodr...@freebsd.org wrote: On Tue, Mar 3, 2015 at 9:17 AM, Dimitry Andric d...@freebsd.org wrote: On 03 Mar 2015, at 09:00, Craig Rodrigues rodr...@freebsd.org wrote: CXXFLAGS+= -D_LIBCPP_HAS_NO_ADVANCED_SFINAE to the make.conf file you use for

Re: Failed to build with external toolchain

2015-03-04 Thread Craig Rodrigues
On Tue, Mar 3, 2015 at 9:17 AM, Dimitry Andric d...@freebsd.org wrote: On 03 Mar 2015, at 09:00, Craig Rodrigues rodr...@freebsd.org wrote: CXXFLAGS+= -D_LIBCPP_HAS_NO_ADVANCED_SFINAE to the make.conf file you use for building. Thanks for the tip. I added that to make.conf, but now I am

Re: Failed to build with external toolchain

2015-03-03 Thread Dimitry Andric
On 03 Mar 2015, at 09:00, Craig Rodrigues rodr...@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: