emacs-pretest-bug
[Top][All Lists]
Advanced

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

dump-emacs not working for me on Mac OS X


From: Bill Clementson
Subject: dump-emacs not working for me on Mac OS X
Date: Thu, 27 Apr 2006 12:49:24 -0700

Hi all,

I'm trying to do a dump-emacs (as described here:
http://www.emacswiki.org/cgi-bin/wiki/DumpingEmacs) in order to reduce
my startup times by preloading libraries that I always load in my
.emacs file. However, I always get a segmentation fault. David
Reitter, who produces the Aquamacs Emacs distribution for Mac OS X,
also encountered the same problem and suggested that I send in a bug
report (Note that the following is done with "vanilla" CVS emacs and
not Aquamacs).

My machine is a PowerBook 1.67 Ghz G4 with Mac OS X 10.4.6.

I've built emacs from CVS using the following commands:

## Step 1/3 - CVS download
cvs -z3 -d:pserver:address@hidden:/sources/emacs login
cvs -z3 -d:pserver:address@hidden:/sources/emacs co emacs
## Step 2/3 - configure
cd emacs
./configure --enable-carbon-app
## Step 3/3 - make
make bootstrap
make
sudo make install

I then tried dumping emacs with the following "make-emacs" file:

#!/usr/bin/make -f
emacs=/usr/local/bin/emacs
fast-emacs: /usr/local/bin/emacs ~/.preloads.el
       $(emacs) -q --load "~/.preloads.el" --batch --execute "(dump-emacs
\"fast-emacs\" \"$(emacs)\")"

Initially, I thought it might be a problem with the libraries that I
load in .preloads.el; however, I still get a segmentation fault even
when I have everything commented out in .preloads.el.

Here is the output I get when I attempt to dump emacs:

~ $ make-emacs
/usr/local/bin/emacs -q --load "~/.preloads.el" --batch --execute
"(dump-emacs \"fast-emacs\" \"/usr/local/bin/emacs\")"
--- List of All Regions ---
  address     size prot maxp
        0   0x1000 none none
Fatal error (11)make: *** [fast-emacs] Segmentation fault
make: *** Deleting file `fast-emacs'
~ $

--
Bill Clementson




reply via email to

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