From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Emacs compilation problem Date: Fri, 23 Apr 2004 21:59:24 GMT Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082757697 4325 80.91.224.253 (23 Apr 2004 22:01:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Apr 2004 22:01:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 24 00:01:33 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BH8jl-0001mX-00 for ; Sat, 24 Apr 2004 00:01:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BH8jT-0005dK-0U for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Apr 2004 18:01:15 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!charlie.risq.qc.ca!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-NNTP-Posting-Host: 132.204.24.84 Original-X-Complaints-To: abuse@umontreal.ca Original-X-Trace: charlie.risq.qc.ca 1082757564 132.204.24.84 (Fri, 23 Apr 2004 17:59:24 EDT) Original-NNTP-Posting-Date: Fri, 23 Apr 2004 17:59:24 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:122645 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17933 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17933 > I installed a down-sized fedora core 1. (With everything related to X > removed) I want to compile emacs from source but didn't get any good news. The problem has nothing to do with X but with Fedora's security thingy: Stefan * Segfault on GNU/Linux using certain recent versions of the Linux kernel. With certain recent Linux kernels (like the one of Redhat Fedora Core 1), the new "Exec-shield" functionality is enabled by default, which creates a different memory layout that breaks the emacs dumper. You can check the Exec-shield state like this: cat /proc/sys/kernel/exec-shield It returns 1 or 2 when Exec-shield is enabled, 0 otherwise. Please read your system documentation for more details on Exec-shield and associated commands. When Exec-shield is enabled, building Emacs will segfault during the execution of this command: temacs --batch --load loadup [dump|bootstrap] To work around this problem, it is necessary to temporarily disable Exec-shield while building Emacs, using the `setarch' command like this: setarch i386 ./configure setarch i386 make