PCH and exec-shield...

David Daney ddaney@avtrex.com
Tue Mar 2 19:02:00 GMT 2004


Using a recent 3.4.0 snapshot, I found that most of the PCH testsuite 
has random failures when run on a machine that has the exec-shield 
"feature" (Fedora Core 1 and probably RH9 also).

It was pointed out to me that putting the following in my 
/etc/sysctl.conf file would fix the problems:

# Turning off exec shield.
kernel.exec-shield = 0
kernel.exec-shield-randomize = 0

I searched through the info pages as well as 
http://gcc.gnu.org/gcc-3.4/changes.html and found no mention of this.

Is this documented anywhere?

If not, should it be?

David Daney




More information about the Gcc mailing list