[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

seg-fault in unexelf.c

From: Nick Roberts
Subject: seg-fault in unexelf.c
Date: Sat, 22 Jul 2006 12:33:34 +1200

 > I have been having a problem building emacs on GNU/Linux (in
 > particular, the Fedora Core 5 distribution).  The build process runs
 > the following command in the src/ subdirectory:
 > ./temacs -l loadup -batch dump
 > to cause the temacs binary (essentially emacs without the Lisp code
 > loaded) to set up the Lisp environment in the process address space
 > and then create a new ELF file with a new .data section that contains
 > the .data and .bss sections from the temacs process.
 > If I build the temacs binary with no compiler optimization (gcc (GCC)
 > 4.1.0 20060304 (Red Hat 4.1.0-3)), the command above seg-faults in the
 > unexec function (file unexelf.c) while executing this line:

I regularly build on FC5 without optimization and don't have any problems
(although I haven't done "make bootstrap for a while, the final build uses
"./temacs -l loadup -batch dump").

gcc (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1)

Linux kahikatea.snap.net.nz 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 
i686 i686 i386 GNU/Linux

In GNU Emacs (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2006-07-21 on kahikatea.snap.net.nz
X server distributor `The X.Org Foundation', version 11.0.70000000
configured using `configure 'CFLAGS=-g3''

Nick                                           http://www.inet.net.nz/~nickrob

reply via email to

[Prev in Thread] Current Thread [Next in Thread]