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: Sun, 22 Jan 2017 11:55:59 -0500 Message-ID: <10BBB02A-487F-4491-8F11-9D51BA270FCC@raeburn.org> References: <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> <9463F91F-DB82-48E1-BE01-1E2BC8DA0766@raeburn.org> <831swxzbw8.fsf@gnu.org> <83y3z2wphb.fsf@gnu.org> <83tw9bb42m.fsf@gnu.org> <349ED8B9-C34B-495B-9FB5-E72CE6EFCA38@raeburn.org> <87inpni6xa.fsf@linux-m68k.org> <8360lmesso.fsf@gnu.org> <3B044D64-7C94-42D7-BE1B-7A9CA76C5A67@raeburn.org> <83k29xc49v.fsf@gnu.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 1485104231 24240 195.159.176.226 (22 Jan 2017 16:57:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 22 Jan 2017 16:57:11 +0000 (UTC) Cc: Andreas Schwab , Stefan Monnier , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 22 17:57:01 2017 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 1cVLRb-0004FS-Us for ged-emacs-devel@m.gmane.org; Sun, 22 Jan 2017 17:56:44 +0100 Original-Received: from localhost ([::1]:36974 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVLRh-0008QG-2g for ged-emacs-devel@m.gmane.org; Sun, 22 Jan 2017 11:56:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVLR2-0008Op-Sf for emacs-devel@gnu.org; Sun, 22 Jan 2017 11:56:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVLQy-0000mC-NO for emacs-devel@gnu.org; Sun, 22 Jan 2017 11:56:09 -0500 Original-Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]:32839) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cVLQy-0000lQ-Gv for emacs-devel@gnu.org; Sun, 22 Jan 2017 11:56:04 -0500 Original-Received: by mail-qt0-x243.google.com with SMTP id n13so11822979qtc.0 for ; Sun, 22 Jan 2017 08:56:02 -0800 (PST) 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=H5uekUjhTWBJx8CQcbFYaGVmHpgNZu9bqkjpPjZ7ZXU=; b=Ib/aUsjalMZrX5KfbPlB4snvGKB533Z2redp1GWlW61+l3FyTlhqmhXjvExYdnrlos LYYFrFyRqJTlvFIYAMOig2JLVNiRVG5X3MhAONb7hflGVO3kuSPyXj4iHTuKdBJ2Xc8U 2iHgfZEOkRzLnrm5LeDRJH0P8BvwtxVrJqzRzjwtj7ibFx56kuAmuj87JADNb1uHOMHl RpT88y7rO1nqwQW4oDkDrxL1F9LmTzoaPfgB0Si3XTHEVl9DxL78+cbRMHTn2tAhoSwp GRkUec7E1jKPKHaLm+f8WryvBSCFLLZKyrxarWbUPUr0fpKk1+RKsnngruGwSDqKlPGQ uQ8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=H5uekUjhTWBJx8CQcbFYaGVmHpgNZu9bqkjpPjZ7ZXU=; b=IfOS2rie2cFnlbWgkLk5fV925kEEwwZ6RnALAXHEcp7IOmwWqCVWwykqeuRgcKKSKD lO7geoZbfAn2kKcYxB931pmd/iT59JX7RAiz287ep/cmbnB4TQ4wnJf76yU6vDfx1Gyw dJjBU9/3XdGQafXdADM+pIaU15+okf6iOT9M8SllhdSIc2P8q73ORc1wMHkH5lLMBQPW PZN49rcQ+UiD9kZwEqbKnWIh/7cxA4ls0H6xdEpm53mCJss7NSF0NcTR953l7liaZM6q xI9kgu0zdBC2iBwu6diVEe3KsiIGxFYq7ByCNMTSRIFBjC7ko6uc3qQuL5YSGNXvxIAM nwZQ== X-Gm-Message-State: AIkVDXJCCrWayRUxhadP3eq8CeEPx05wAYDcfiUlYFB+owLd3LdFHE+abuluY9DVeZM7MA== X-Received: by 10.55.204.25 with SMTP id r25mr22542250qki.213.1485104162138; Sun, 22 Jan 2017 08:56:02 -0800 (PST) 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 i1sm11227436qte.32.2017.01.22.08.56.01 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Jan 2017 08:56:01 -0800 (PST) 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:c0d::243 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:211536 Archived-At: On Jan 21, 2017, at 02:58, Ken Raeburn wrote: > I built a couple versions, and found several .elc files different. = The first case I looked at was macroexp--const-symbol-p in macroexp.elc. = =46rom disassembling, it appears that the expression =E2=80=9C(boundp = 'byte-compile-const-variables)=E2=80=9D is optimized out in the build = from the branch point, but not in the build including the dumped.elc = changes. I=E2=80=99m not sure why yet, but it=E2=80=99s almost = certainly a bug that they=E2=80=99re different. And a bug affecting the = emacs-lisp environment and/or the byte compiler output could certainly = cause later attempts at byte compilation (using newly byte-compiled = code) to misbehave. Ah, this may be a false alarm. I=E2=80=99d overlooked the fact that the = updated version (October 31) of Stefan=E2=80=99s patch changed that code = to insert that expression on the branch, and I assumed the two were = compiling the same source. But if byte-compile-const-variables can be = seen as unbound, that could also alter the optimization results compared = to the master branch. Perhaps that should be fixed, if possible. Ken=