From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29852 invoked by alias); 2 Mar 2004 19:05:35 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 29842 invoked from network); 2 Mar 2004 19:05:32 -0000 Received: from unknown (HELO mx2.redhat.com) (66.187.237.31) by sources.redhat.com with SMTP; 2 Mar 2004 19:05:32 -0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.11.6/8.11.6) with ESMTP id i22IeHp17380; Tue, 2 Mar 2004 13:40:17 -0500 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i22J5QM05171; Tue, 2 Mar 2004 14:05:26 -0500 Received: from [192.168.123.106] (vpn26-9.sfbay.redhat.com [172.16.26.9]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id i22J5KX06005; Tue, 2 Mar 2004 11:05:20 -0800 Subject: Re: PCH and exec-shield... From: Eric Christopher To: David Daney Cc: gcc@gcc.gnu.org In-Reply-To: <4044DA26.2040802@avtrex.com> References: <4044DA26.2040802@avtrex.com> Content-Type: text/plain Message-Id: <1078254320.3736.26.camel@dzur.sfbay.redhat.com> Mime-Version: 1.0 Date: Tue, 02 Mar 2004 19:05:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00161.txt.bz2 On Tue, 2004-03-02 at 11:01, David Daney wrote: > 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? I think I've seen it documented on the fedora release notes, but i could be wrong. If it isn't, it probably should be there as well. I think a change to changes.html for 3.4 would be good for this - perhaps in the PCH section. -eric -- Eric Christopher