Subject: Re: CVS commit: src (USE_FORT)
To: None <tls@netbsd.org>
From: Simon Burge <simonb@NetBSD.org>
List: source-changes
Date: 05/29/2007 16:56:32
Simon Burge wrote:

> Thor Lancelot Simon wrote:
> 
> > Module Name:	src
> > Committed By:	tls
> > Date:		Mon May 28 12:06:43 UTC 2007
> > 
> > Modified Files:
> > 
> > [ ... ]
> > 
> > Log Message:
> > 
> > Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
> > [ ... ]
> 
> When trying to build for a MIPS arch, I get:
> 
> .../.../lib/libc/locale/___runetype_mb.c:1: warning: -fstack-protector not supported for this target

I looks like at least alpha, hppa and mips don't support
-fstack-protector from a quick look at src/gnu/dist/gcc4/gcc/config.

"./build.sh ... -V USE_FORT=no ..." still trips up trying to use
-fstack-protector in libc.  Adding "-V USE_SSP=no" gets to libssl,
where a hardcoded:

	USE_FORT=yes    # cryptographic software and network library

ignores any command-line overrides.  Giving up at this stage...

Simon.