Subject: Re: USE_SSP=yes on netbsd-4 doesn't work with -static
To: NetBSD Toolchain and Build Technical Discussion List <tech-toolchain@NetBSD.org>
From: Greg A. Woods <woods@planix.com>
List: tech-toolchain
Date: 02/22/2007 16:09:41
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 
> /usr/src/gnu/usr.bin/gcc4/arch/i386/auto-host.h:#define TARGET_LIBC_PROVIDES_SSP 1
> ...
> 
> 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?

-- 
						Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>       Secrets of the Weird <woods@weird.com>