On 4 Aug 2005, Richard Henderson whispered secretively: > On Wed, Aug 03, 2005 at 09:39:13PM -0400, Jack Howarth wrote: >> Do you think I should be able to build gcc itself with the >> -fstack-protector flag and what is the most appropriate way to >> achieve that (ie brute force using a CFLAG or some configure >> flag)? > > Considering that I don't think that self-building with > -fstack-protector will ever be common, I don't think we > ought to spend too many brain cells on this.
It was always possible with the SSP implementation, FWIW. (This was useful to get a libgcc compiled with -fstack-protector, although it's true that changing the TCFLAGS in gcc/Makefile also lets you do that.) > The only way to bootstrap with -fstack-protector without > existing support in libc is to use a top-level bootstrap. ... which is reasonable, I think. (This was also true of SSP.) -- `Tor employs several thousand editors who they keep in dank subterranean editing facilities not unlike Moria' -- James Nicoll