Re: odd message from ld in -current around 9.0 branchpoint
On Apr 29, 2014, at 11:39 AM, Julian Elischer jul...@freebsd.org wrote: On 4/29/14, 11:42 PM, Julian Elischer wrote: On 4/29/14, 8:17 PM, Ian Lepore wrote: On Tue, 2014-04-29 at 13:41 +0800, Julian Elischer wrote: I'm trying to compile a system based on current from just before the 9.x branchpoint. during hte build I got the following message: /usr/bin/ld: this linker was not configured to use sysroots does anyone have any idea what this means in a broader context? did I misconfigure something when I built this system? Julian Are you using ccache? I vaguely remember some reports of this in the past, and I think it was caused by using a version of ccache that wasn't compatible with clang, or something along those lines. -- Ian no I'm using gcc and (as far as I know) no ccache. This is compiling some 3rd party software. I just recompiled ld and gcc and it's still not working.. did we break sysroot support some time in 2011? —sysroot I don’t think has worked in at least a decade. Warner ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: odd message from ld in -current around 9.0 branchpoint
On 29 Apr 2014, at 18:39, Julian Elischer jul...@freebsd.org wrote: I just recompiled ld and gcc and it's still not working.. did we break sysroot support some time in 2011? My memory may be faulty, but I was under the impression that we switched *to* enabling sysroot support in the toolchain some time around 2012. --sysroot= appears to work with ld (at least) on 10.0, but it didn't on 9.0 and I don't know if the change was MFC'd to 9. David ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: odd message from ld in -current around 9.0 branchpoint
On Thu, May 01, 2014 at 10:53:02AM +0100, David Chisnall wrote: On 29 Apr 2014, at 18:39, Julian Elischer jul...@freebsd.org wrote: I just recompiled ld and gcc and it's still not working.. did we break sysroot support some time in 2011? My memory may be faulty, but I was under the impression that we switched *to* enabling sysroot support in the toolchain some time around 2012. --sysroot= appears to work with ld (at least) on 10.0, but it didn't on 9.0 and I don't know if the change was MFC'd to 9. I finally got around to making the change last November so it's in 10, but I've not merged it to 9 or 8 because I don't use them. Anyone should feel free to do so if it's useful. -- Brooks pgpWsVQ567s0g.pgp Description: PGP signature
Re: odd message from ld in -current around 9.0 branchpoint
On 5/1/14, 10:27 PM, Brooks Davis wrote: On Thu, May 01, 2014 at 10:53:02AM +0100, David Chisnall wrote: On 29 Apr 2014, at 18:39, Julian Elischer jul...@freebsd.org wrote: I just recompiled ld and gcc and it's still not working.. did we break sysroot support some time in 2011? My memory may be faulty, but I was under the impression that we switched *to* enabling sysroot support in the toolchain some time around 2012. --sysroot= appears to work with ld (at least) on 10.0, but it didn't on 9.0 and I don't know if the change was MFC'd to 9. I finally got around to making the change last November so it's in 10, but I've not merged it to 9 or 8 because I don't use them. Anyone should feel free to do so if it's useful. -- Brooks I'm happy as it is.. should probably go into 9.. I'd skip 8. Our 8 based build systems seem to work but when I try use it directly if fails.. I tlooks like someone compiled ld from binutils some years ago and just checked the binary in somewhere. One of a series of 'poor judgement' actions that I've been fighting to clean up. anyhow it doesn't matter as it works in the upcoming platform and the old one we are migrating away from even if we are not sure why it works there.. :-) ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: odd message from ld in -current around 9.0 branchpoint
On Apr 29, 2014, at 9:42 AM, Julian Elischer jul...@freebsd.org wrote: On 4/29/14, 8:17 PM, Ian Lepore wrote: On Tue, 2014-04-29 at 13:41 +0800, Julian Elischer wrote: I'm trying to compile a system based on current from just before the 9.x branchpoint. during hte build I got the following message: /usr/bin/ld: this linker was not configured to use sysroots does anyone have any idea what this means in a broader context? did I misconfigure something when I built this system? Julian Are you using ccache? I vaguely remember some reports of this in the past, and I think it was caused by using a version of ccache that wasn't compatible with clang, or something along those lines. -- Ian no I'm using gcc and (as far as I know) no ccache. This is compiling some 3rd party software. Then it needs to not use —sysroot. Warner ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: odd message from ld in -current around 9.0 branchpoint
On Tue, 2014-04-29 at 13:41 +0800, Julian Elischer wrote: I'm trying to compile a system based on current from just before the 9.x branchpoint. during hte build I got the following message: /usr/bin/ld: this linker was not configured to use sysroots does anyone have any idea what this means in a broader context? did I misconfigure something when I built this system? Julian Are you using ccache? I vaguely remember some reports of this in the past, and I think it was caused by using a version of ccache that wasn't compatible with clang, or something along those lines. -- Ian ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: odd message from ld in -current around 9.0 branchpoint
On 4/29/14, 8:17 PM, Ian Lepore wrote: On Tue, 2014-04-29 at 13:41 +0800, Julian Elischer wrote: I'm trying to compile a system based on current from just before the 9.x branchpoint. during hte build I got the following message: /usr/bin/ld: this linker was not configured to use sysroots does anyone have any idea what this means in a broader context? did I misconfigure something when I built this system? Julian Are you using ccache? I vaguely remember some reports of this in the past, and I think it was caused by using a version of ccache that wasn't compatible with clang, or something along those lines. -- Ian no I'm using gcc and (as far as I know) no ccache. This is compiling some 3rd party software. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: odd message from ld in -current around 9.0 branchpoint
On 4/29/14, 11:42 PM, Julian Elischer wrote: On 4/29/14, 8:17 PM, Ian Lepore wrote: On Tue, 2014-04-29 at 13:41 +0800, Julian Elischer wrote: I'm trying to compile a system based on current from just before the 9.x branchpoint. during hte build I got the following message: /usr/bin/ld: this linker was not configured to use sysroots does anyone have any idea what this means in a broader context? did I misconfigure something when I built this system? Julian Are you using ccache? I vaguely remember some reports of this in the past, and I think it was caused by using a version of ccache that wasn't compatible with clang, or something along those lines. -- Ian no I'm using gcc and (as far as I know) no ccache. This is compiling some 3rd party software. I just recompiled ld and gcc and it's still not working.. did we break sysroot support some time in 2011? ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org