From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.devel Subject: Re: Skipping unexec via a big .elc file Date: Thu, 3 Nov 2016 01:37:49 -0400 Message-ID: <9463F91F-DB82-48E1-BE01-1E2BC8DA0766@raeburn.org> References: <871szqwu51.fsf@users.sourceforge.net> <831szqhbc2.fsf@gnu.org> <87d1itt79z.fsf_-_@users.sourceforge.net> <7baa18d4-2b09-caa8-005e-29008a383ad1@cs.ucla.edu> <83mvhwrgd5.fsf@gnu.org> <8539f38f-9a11-44c3-4de7-bb974c96206c@cs.ucla.edu> <8360ojpndr.fsf@gnu.org> <83shrnm0k1.fsf@gnu.org> <075B0922-F07A-4FBA-AE71-027E964A5ED4@raeburn.org> <54AAC13A-CF56-4393-A932-DC6CBBF51259@raeburn.org> <3CC6BB36-1794-4202-8243-132E0345B236@raeburn.org> <52BDCC33-546C-4F47-A230-00EBC813B038@raeburn.org> <15CF14CC-C7DE-44BA-AC7D-F0BF1F160979@raeburn.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1478151517 22255 195.159.176.226 (3 Nov 2016 05:38:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 3 Nov 2016 05:38:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 03 06:38:33 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2AjM-0004lY-EQ for ged-emacs-devel@m.gmane.org; Thu, 03 Nov 2016 06:38:28 +0100 Original-Received: from localhost ([::1]:59150 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2AjP-0000Zt-9I for ged-emacs-devel@m.gmane.org; Thu, 03 Nov 2016 01:38:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2Aiq-0000Zm-6G for emacs-devel@gnu.org; Thu, 03 Nov 2016 01:37:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2Ain-0004d5-26 for emacs-devel@gnu.org; Thu, 03 Nov 2016 01:37:56 -0400 Original-Received: from mail-qk0-x22f.google.com ([2607:f8b0:400d:c09::22f]:33618) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c2Aim-0004cx-Sy for emacs-devel@gnu.org; Thu, 03 Nov 2016 01:37:52 -0400 Original-Received: by mail-qk0-x22f.google.com with SMTP id x190so42954855qkb.0 for ; Wed, 02 Nov 2016 22:37:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raeburn-org.20150623.gappssmtp.com; s=20150623; h=subject:mime-version:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=jLcRe6ap0d48hHTIIw/LTkSMIT6nAtZvqbFbwZp71Fg=; b=oxBpV8YRP8Y50YkBzSFvGv5TD2uVMn5HsNdfnbFbHRN0dMyXmOBYJ75nTkVshjtFt0 EVXRo1CPrEx2OGUltgaAgenHrlJPwmEcPg+hCy4jUtbIa81CY9V/JLQdiWYfBPlRwMbd 9z8A3XulleJvqCCLCLB4uDkL1ZZ9bLTaqJscbwW1+PlUV3tPQjJ40RQX707eRf5TCbSg UMVg/yxy828CcYOs6QkU9GZ+qcntGA7qiAZSZl3olLSsT5k3fUQTGQ12eHEqPI8zfBcT 278apxo/mWXADoHk8jlh0xvTFU0g+Td9pv0jfUxYEwgY+XQXhbor26AXc/uDY0xBRSAu xP7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=jLcRe6ap0d48hHTIIw/LTkSMIT6nAtZvqbFbwZp71Fg=; b=iZS4B2c/gSdkX0bqiZr+oey+uZuFrojrUMrTKUgfwOk8QluAGYi+1EPtbnqgkf8bBF 03lAvFeghX7g5kGmFHLOhqIFIQr1XkWbdNAITESHZwIf6+VS+W28gBr3pbSdPbBM5KEa 7jFNhsx7MkGRHQ0PaZi7PcEkftvDceq8222Lo/M7k+gpc1mJngvMqv1JWCYdcX5tKCxq nXdZ8ASrhQcH2EmGv6BsaipHPxj81zdbeudH0I7nM0JvB/cq4khXy+J9F/QOoyiqt216 Knd9153P8rESVD+e3/XuXKw0kWZ64PVyltVRKB/k92ngoLOigyuh++g+W0YHE82Kdsi9 BkBQ== X-Gm-Message-State: ABUngvfWd42EPtKC7E+/GoabjYjluloT3H4lEzhcptfeCc5ndMK3Qx5ZcpuXcYyuduxFlA== X-Received: by 10.55.144.70 with SMTP id s67mr6841920qkd.290.1478151472183; Wed, 02 Nov 2016 22:37:52 -0700 (PDT) Original-Received: from [192.168.23.52] (c-50-138-183-136.hsd1.ma.comcast.net. [50.138.183.136]) by smtp.gmail.com with ESMTPSA id 8sm3388960qty.2.2016.11.02.22.37.51 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Nov 2016 22:37:51 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3124) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c09::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:209134 Archived-At: On Nov 2, 2016, at 08:22, Stefan Monnier = wrote: > BTW, it might be worth comparing the behavior with the one we get with > the "normal" temacs (i.e. by loading loadup.el instead of dumped.elc), > as well as with what we get with CANNOT_DUMP: from what I remember the > current code doesn't handle CANNOT_DUMP 100% correctly (which is OK so > far because CANNOT_DUMP is only ever used temporarily during porting > until unexec is working). =E2=80=A6which is why it seems like I have to keep fixing bugs every = time I try to use it. If CANNOT_DUMP mode worked reliably, I=E2=80=99d think it would be the = logical starting point for this work =E2=80=94 it=E2=80=99s already = compiling with the expectation that we=E2=80=99ll be loading the Lisp = code when the user starts it up rather than preparing for unexec and a = second invocation of main(). Changing the thing we load at startup from = loadup.el to dumped.elc should be pretty minor. I=E2=80=99m trying CANNOT_DUMP out right now. As soon as I=E2=80=99ve = got it bootstrapping again, I=E2=80=99ll try pulling in the other = changes. > IOW some of the problems we may encounter could be unrelated to what = we > do w.r.t dumped.elc. True.=