Re: POLA.. missing --sysroot option in ld?

From: Julian Elischer <julian_at_freebsd.org>
Date: Wed, 30 Apr 2014 12:23:25 +0800
On 4/30/14, 10:36 AM, Julian Elischer wrote:
> In our 8.0 based systems at $JOB our build environment made heavy 
> use of the --sysroot option in gcc and ld.
>
> We are trying to move up to a newer release but suddenly the 
> --sysroot option has disappeared.
>
> we get the message "/usr/bin/ld: this linker was not configured to 
> use sysroots"
more spefically the following command (from 'configure') fails on "near 9"
and succeeds on 8.0.

configure:3352: /usr/bin/gcc -Wall -Wno-unused-parameter  -nostdinc 
-isystem /usr/build/buildroot/tools/x86_gcc4.2.4/usr/include --sysroot 
/usr/build/buildroot/tools/x86_gcc4.2.4 -Wall -Wno-unused-parame
ter  -nostdinc -isystem 
/usr/build/buildroot/tools/x86_gcc4.2.4/usr/include --sysroot 
/usr/build/buildroot/tools/x86_gcc4.2.4  --sysroot 
/usr/build/buildroot/tools/x86_gcc4.2.4 -L/usr/build/buildroot/too
ls/x86_gcc4.2.4/lib -L/usr/build/buildroot/tools/x86_gcc4.2.4/usr/lib 
conftest.c >&5
>
> Does anyone know what happened?  and when, and by who?
> I have looked in the Makefiles and configuration files in SVN and I 
> can't see a change that would have done this..
> of course the building of these tools is rather complex so I may 
> have missed some place..
>
> julian
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe_at_freebsd.org"
>
>
Received on Wed Apr 30 2014 - 02:23:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:48 UTC