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: Wed, 6 Oct 2004 13:38:37 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <437506D2-178C-11D9-BCD2-000D93505B76@swipnet.se> References: <20041004212031.GB2219@fencepost> <01c4ab96$Blat.v2.2.2$19340460@zahav.net.il> 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 1097062769 10893 80.91.229.6 (6 Oct 2004 11:39:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Oct 2004 11:39:29 +0000 (UTC) Cc: miles@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 06 13:39:20 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 1CFA8e-0008Ge-00 for ; Wed, 06 Oct 2004 13:39:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CFAFJ-00081J-VE for ged-emacs-devel@m.gmane.org; Wed, 06 Oct 2004 07:46:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CFAEz-0007yc-MT for emacs-devel@gnu.org; Wed, 06 Oct 2004 07:45:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CFAEz-0007yH-2r for emacs-devel@gnu.org; Wed, 06 Oct 2004 07:45:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CFAEy-0007yC-Uc for emacs-devel@gnu.org; Wed, 06 Oct 2004 07:45:52 -0400 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFA85-00025R-Sc; Wed, 06 Oct 2004 07:38:46 -0400 Original-Received: from coolsville.localdomain ([213.115.28.241] [213.115.28.241]) by mxfep02.bredband.com with ESMTP id <20041006113844.JXSA27821.mxfep02.bredband.com@coolsville.localdomain>; Wed, 6 Oct 2004 13:38:44 +0200 In-Reply-To: <01c4ab96$Blat.v2.2.2$19340460@zahav.net.il> Original-To: Eli Zaretskii 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:27995 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27995 >> I have checked in a test that runs a program and sees if the heap >> start >> address is random. > > Doesn't this harm cross-building Emacs? I always thought that running > a test program at configure time should be avoided, and that tests > that only compile or link programs should be peferred. When cross compiling the test obviously can not be run, so configure assumes that the heap start address is not random. Come to think of it, the old test (checking /proc/sys/kernel/exec-shield) was worse, as it did not handle cross compiling. Jan D.