Subject: Re: USE_SSP=yes on netbsd-4 doesn't work with -static
To: None <email@example.com>
From: Christos Zoulas <firstname.lastname@example.org>
Date: 02/22/2007 22:35:04
In article <m1HKLt1-001dEvC@most.weird.com>,
Greg A. Woods <tech-toolchain@NetBSD.org> wrote:
>At Tue, 20 Feb 2007 19:42:26 +0000 (UTC),
>Christos Zoulas wrote:
>> The culprit here is:
>> $ fgrep -r TARGET_LIBC_PROVIDES_SSP /usr/src/gnu/usr.bin/gcc4
>> Which is set in current but not set in the 4.0 branch.
>Hmmm.... that's odd. Diff shows no change I can see in that file
>between -current and netbsd-4
>Only abandoned-netbsd-4 would be missing the change you made to that
>file to turn on TARGET_LIBC_PROVIDES_SSP explicitly without having to
>re-run configure et al.
>Could there be something else that turns on that "-lssp_shared"
>parameter when "-static" is in force?
Perhaps the TOOLS compiler does not have this defined, but the
system compiler is ok. There was a different patch in the autoconf
glue of the gcc compiler to make the TOOLS compiler behave...