[Top][All Lists]

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

Patches for CANNOT_DUMP on 23.0.60

From: Chris Hall
Subject: Patches for CANNOT_DUMP on 23.0.60
Date: Sat, 01 Mar 2008 23:07:00 -1000
User-agent: GNUMail (Version 1.2.0)

Aloha :)

I currently use Emacs on Debian Sarge (sorry, RMS! ;) with a custom 2.6 kernel.

I have recently also started using the GNUstep port, Emacs.app, on the current stable GNUstep. As of this writing, that would be: gnustep-base-1.14.2, gnustep-back-0.12.1 (libart), gnustep-gui-0.12.1, gnustep-make-2.0.4.

Attached please find two patches that resolve:

* While building Emacs 23.0.60, I would consistently get the following:

batch-byte-compile quail/CCDOSPY.el
make[1]: *** [quail/CCDOSPY.elc] Segmentation fault

Based on information I received from YAMAMOTO Mitsuharu, the code in the attached patch 'gnustep-callproc.c.diff' seems to resolve that issue.

* During startup, Emacs would consistently segfault while attempting to dereference a face_cache struct member containing address 0x0. This appears to be due to a problem where certain lisp functions get called in one order on DUMPED machines, and a different order on CANNOT_DUMP machines. (And again, YAMAMOTO Mitsuharu was very helpful in resolving this.)

The attached patch 'gnustep-frame.c.diff' seems to resolve that issue on my machine.

FYI, I also needed to increase SYSTEM_PURESIZE_EXTRA in order to avoid the associated warning message on startup. I used 200000 after first trying 100000, which wasn't enough.

You may, of course, Free-ly use (or not!) the attached files.

Mahalo for your time,

Chris Hall


Attachment: gnustep-callproc.c.diff
Description: Text document

Attachment: gnustep-frame.c.diff
Description: Text document

reply via email to

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