From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11649: 24.1.50; Some compilation woes Date: Sun, 10 Jun 2012 05:59:43 +0300 Message-ID: <83zk8bswgw.fsf@gnu.org> References: <83r4tou93e.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1339297252 14749 80.91.229.3 (10 Jun 2012 03:00:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Jun 2012 03:00:52 +0000 (UTC) Cc: lekktu@gmail.com, 11649@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 10 05:00:51 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SdYOO-0000f0-BO for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jun 2012 05:00:40 +0200 Original-Received: from localhost ([::1]:49009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdYOO-0002gW-21 for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jun 2012 23:00:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdYOK-0002fx-Uo for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2012 23:00:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SdYOI-0004lN-QU for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2012 23:00:36 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdYOI-0004lI-N5 for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2012 23:00:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SdYQg-0007NO-58 for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2012 23:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jun 2012 03:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11649 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11649-submit@debbugs.gnu.org id=B11649.133929733028281 (code B ref 11649); Sun, 10 Jun 2012 03:03:02 +0000 Original-Received: (at 11649) by debbugs.gnu.org; 10 Jun 2012 03:02:10 +0000 Original-Received: from localhost ([127.0.0.1]:36358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SdYPq-0007M5-2k for submit@debbugs.gnu.org; Sat, 09 Jun 2012 23:02:10 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:62926) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SdYPn-0007Lx-Kj for 11649@debbugs.gnu.org; Sat, 09 Jun 2012 23:02:08 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M5D00900SAHLL00@a-mtaout22.012.net.il> for 11649@debbugs.gnu.org; Sun, 10 Jun 2012 05:59:38 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M5D009C1SBDHM10@a-mtaout22.012.net.il>; Sun, 10 Jun 2012 05:59:38 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:60831 Archived-At: > From: Stefan Monnier > Cc: Juanma Barranquero , 11649@debbugs.gnu.org > Date: Sat, 09 Jun 2012 21:08:41 -0400 > > > By contrast, on MS-Windows, all of the Lisp files are compiled with > > the bootstrapped Emacs executable, so they all are compiled with the > > interpreted byte compiler. > > Ahh... that could explain this high stack use. That should also impose > a fairly high impact on compilation speed. But note that previously, 1200 was enough for the same compilation, and the speed was also much higher. > Usually "Invalid byte code in " happens because is > byte-compile-dynamic (as is the case for cl-macs) and you try to call > a function from it after byte-compiling a new version of the file. > More specifically, the scenario is: > 1- load cl-macs.elc. > 2- don't call function . > 3- change cl-macs.elc. > 4- call which is dynamically loaded from cl-macs.elc. > 5- now the offset loaded at point 1 is not valid any more, so you get an > error: you need to re-load cl-macs.elc. > If the above cannot be explained by this scenario, we apparently have > a serious new bug. Maybe I'm missing something, but it sounds likeyour scenario requires two compilations of cl-macs.el. If so, this scenario cannot explain the problem, because cl-macs.el is compiled exactly once during bootstrap; before the compilation there's only cl-macs.el.