From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: `exec shield' test in configure too strict? Date: Tue, 5 Oct 2004 22:40:02 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <20041004212031.GB2219@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1097008869 29599 80.91.229.6 (5 Oct 2004 20:41:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Oct 2004 20:41:09 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 05 22:40:59 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CEw7H-0008QE-00 for ; Tue, 05 Oct 2004 22:40:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEwDv-00060c-Is for ged-emacs-devel@m.gmane.org; Tue, 05 Oct 2004 16:47:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CEwDo-0005xq-1I for emacs-devel@gnu.org; Tue, 05 Oct 2004 16:47:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CEwDn-0005xe-4J for emacs-devel@gnu.org; Tue, 05 Oct 2004 16:47:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEwDn-0005xb-29 for emacs-devel@gnu.org; Tue, 05 Oct 2004 16:47:43 -0400 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CEw72-00006t-RW; Tue, 05 Oct 2004 16:40:45 -0400 Original-Received: from coolsville.localdomain ([213.115.26.74] [213.115.26.74]) by mxfep02.bredband.com with ESMTP id <20041005204043.EIUV27821.mxfep02.bredband.com@coolsville.localdomain>; Tue, 5 Oct 2004 22:40:43 +0200 In-Reply-To: <20041004212031.GB2219@fencepost> Original-To: Miles Bader X-Mailer: Apple Mail (2.619) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27957 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27957 >>> and so emacs refuses to configure -- but if disable this test by >>> doing: >>> >>> $ make ac_cv_file__proc_sys_kernel_exec_shield=no >>> >>> Then Emacs configures and dumps just fine, despite not using >>> `setarch'. >> >> Does that machine have a /proc/sys/kernel/exec-shield-randomize file? > > Yes: > > $ cat /proc/sys/kernel/exec-shield-randomize > 1 > >> It is the random start address of the heap that makes dumping fail. >> I have checked in a test that runs a program and sees if the heap start address is random. Can you try it on the Debian-with-a-Redhat-kernel machine (I forgot its name)? Jan D.