Subject: Re: ssp and gcc-4.1
To: Jason Thorpe <thorpej@shagadelic.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-userlevel
Date: 11/07/2006 13:14:06
On Nov 7, 10:11am, thorpej@shagadelic.org (Jason Thorpe) wrote:
-- Subject: Re: ssp and gcc-4.1

| > The issue is that compiling with -fstack-protector-all -Wstack- 
| > protector
| > causes a warning for functions that use variable sized arrays on
| > the stack or use alloca. Since we compile with -Werror, these
| > warnings are fatal. By compiling these source files with
| > -Wno-stack-protector, the warning goes away and those functions
| > are compiling with no stack protection.
| 
| ...and why does it produce these warnings?

It is just telling you it will not be able to stack-protect those
functions.

christos