Re: Failed to build with external toolchain

2015-03-26 Thread Craig Rodrigues
On Thu, Mar 26, 2015 at 11:47 AM, Warner Losh wrote: > > > On Mar 26, 2015, at 2:12 AM, Craig Rodrigues > wrote: > > OK. I have a bit of egg on my face... > > The test is for X_COMPILER_TYPE, so COMPILER_VERSION isn't relevant. It's > always outside the tree. > So your original patch is correct.

Re: Failed to build with external toolchain

2015-03-26 Thread Warner Losh
> On Mar 26, 2015, at 2:12 AM, Craig Rodrigues wrote: > > > > On Tue, Mar 24, 2015 at 8:39 PM, Warner Losh wrote: > > > No. The in-tree gcc doesn’t grok —sysroot. > > We assume that version gcc 4.2.1 is special and our in-tree compiler > elsewhere, > so please add a check for that and jus

Re: Failed to build with external toolchain

2015-03-26 Thread Craig Rodrigues
On Tue, Mar 24, 2015 at 8:39 PM, Warner Losh wrote: > > > No. The in-tree gcc doesn't grok --sysroot. > > We assume that version gcc 4.2.1 is special and our in-tree compiler > elsewhere, > so please add a check for that and just go ahead and duplicate those two > lines. > > Eg > > +.else if ${CO

Re: Failed to build with external toolchain

2015-03-24 Thread Warner Losh
> On Mar 24, 2015, at 9:18 PM, Craig Rodrigues wrote: > > On Sat, Mar 7, 2015 at 3:48 PM, Dimitry Andric wrote: > >> On 07 Mar 2015, at 21:12, Craig Rodrigues wrote: >>> I ran the build again and this time I am getting errors about undefined >>> symbol utimensat(): >>> >>> >> https://jenkin

Re: Failed to build with external toolchain

2015-03-24 Thread Craig Rodrigues
On Sat, Mar 7, 2015 at 3:48 PM, Dimitry Andric wrote: > On 07 Mar 2015, at 21:12, Craig Rodrigues 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 >

Re: Failed to build with external toolchain

2015-03-10 Thread Craig Rodrigues
On Sat, Mar 7, 2015 at 3:48 PM, Dimitry Andric wrote: > On 07 Mar 2015, at 21:12, Craig Rodrigues 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 >

Re: Failed to build with external toolchain

2015-03-07 Thread Dimitry Andric
On 07 Mar 2015, at 21:12, Craig Rodrigues 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, the one from th

Re: Failed to build with external toolchain

2015-03-07 Thread Garrett Cooper
On Mar 7, 2015, at 12:12, Craig Rodrigues wrote: > Hi, > > 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? You might need to specify more options to

Re: Failed to build with external toolchain

2015-03-07 Thread Craig Rodrigues
Hi, 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? -- Craig ___ freebsd-toolchain@freebsd.org mailing list http://li

Re: Failed to build with external toolchain

2015-03-04 Thread Dimitry Andric
On 04 Mar 2015, at 09:48, Craig Rodrigues wrote: > > On Tue, Mar 3, 2015 at 9:17 AM, Dimitry Andric wrote: > >> On 03 Mar 2015, at 09:00, Craig Rodrigues wrote: >> CXXFLAGS+= -D_LIBCPP_HAS_NO_ADVANCED_SFINAE >> >> to the make.conf file you use for building. >> > > Thanks for the tip. I add

Re: Failed to build with external toolchain

2015-03-04 Thread Craig Rodrigues
On Tue, Mar 3, 2015 at 9:17 AM, Dimitry Andric wrote: > On 03 Mar 2015, at 09:00, Craig Rodrigues 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 getting a different error involvi

Re: Failed to build with external toolchain

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

Failed to build with external toolchain

2015-03-03 Thread Craig Rodrigues
Hi, 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://jen