From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.devel Subject: Re: bootstrap error in c-mode with CANNOT_DUMP Date: Sat, 13 Jun 2009 03:10:25 -0400 Message-ID: <12EE68A1-C526-47EE-813C-4B2C05227DB3@raeburn.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1244877096 9640 80.91.229.12 (13 Jun 2009 07:11:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Jun 2009 07:11:36 +0000 (UTC) Cc: Emacs Development To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 13 09:11:32 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MFNOl-0006C9-C7 for ged-emacs-devel@m.gmane.org; Sat, 13 Jun 2009 09:11:31 +0200 Original-Received: from localhost ([127.0.0.1]:37229 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFNOk-0006K1-Hi for ged-emacs-devel@m.gmane.org; Sat, 13 Jun 2009 03:11:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MFNO1-0005no-5J for emacs-devel@gnu.org; Sat, 13 Jun 2009 03:10:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MFNNw-0005ji-2m for emacs-devel@gnu.org; Sat, 13 Jun 2009 03:10:44 -0400 Original-Received: from [199.232.76.173] (port=54849 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFNNv-0005je-UM for emacs-devel@gnu.org; Sat, 13 Jun 2009 03:10:39 -0400 Original-Received: from raeburn.org ([69.25.196.97]:36737) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MFNNk-0004mj-Ro for emacs-devel@gnu.org; Sat, 13 Jun 2009 03:10:39 -0400 Original-Received: from [10.0.0.172] ([10.0.0.172]) by raeburn.org (8.14.3/8.14.1) with ESMTP id n5D7APve002201; Sat, 13 Jun 2009 03:10:26 -0400 (EDT) In-Reply-To: X-Mailer: Apple Mail (2.935.3) X-detected-operating-system: by monty-python.gnu.org: NetBSD 3.0 (DF) 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111482 Archived-At: On Jun 12, 2009, at 17:37, Stefan Monnier wrote: > This is a known problem since it plagued the GNUStep port as well > (when > it couldn't dump). Right now the use of CANNOT_DUMP leads to all > kinds > of problems (IIRC even things like ~/.emacs don't get processed > correctly). But it's not very high on the todo-list, so if you can > find > a fix for it, it would probably be welcome, but otherwise don't hold > your breath. A better path might be to try and find a way to do the > unexec. Working on it, but Guile's initialization is a little complicated in places. In the (much) longer term, I think finding some solution for Emacs other than unexec would be better, if we want to permit extensions in general, because unexec-ability seems like a pretty onerous demand to make of all libraries one might want to use. (Luckily, I suspect most such libraries don't need to have *any* code run before the unexec step, so loading fresh versions in the new process isn't a problem; that just doesn't work in my case.) But that's a whole other matter... I was kind of hoping CANNOT_DUMP might give me a shortcut to something I could actually run. :-( Actually, it kind of does, if I avoid bootstrapping; I just have to figure out if each bug is in my work or in the Emacs code base I'm starting with.... Ken