This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
PCH and exec-shield...
- From: David Daney <ddaney at avtrex dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 02 Mar 2004 11:01:58 -0800
- Subject: PCH and exec-shield...
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