Re: [patch 5/5] Add the -fstack-protector option to the CFLAGS

Valdis.Kletnieks
2006-07-28T23:51:55Z

[-- Attachment #1: Type: text/plain, Size: 924 bytes --]

On Fri, 28 Jul 2006 16:12:15 PDT, David Miller said:

> Your gcc-4.1.1 includes the -fstack-protector feature, but it might
> not have the gcc bug fix necessary to make that feature work on the
> kernel compile, which is why the version check is necessary.

Whee. A busticated feature - how annoying.

Do you happen to know the exact PR# for that one? Looking at the gcc RPM
changelog, there's a *lot* of backported fixes in the Fedora compiler, so it
may in fact be in there already. I'm mentioning this mostly as a practical
"increase the number of testers" - as far as I can tell, what will ship in
Fedora Core 6 is going to call itself gcc 4.1.1, and I'm pretty sure I'm not
the only person who isn't ambitious enough to build a whole new gcc just to
test this. So a lot of people won't be able to easily use this until FC7.

Having said that, I have *no* idea how best to code "gcc 4.2 or patched Fedora
4.1.1"...

[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]