From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#20887: 'make bootstrap' now verrrry slow due to recent isearch changes Date: Wed, 24 Jun 2015 06:31:12 -0700 Organization: UCLA Computer Science Department Message-ID: <558AB120.8060304@cs.ucla.edu> References: <558A0950.2000501@cs.ucla.edu> <2nbng5pou7.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1435152775 26981 80.91.229.3 (24 Jun 2015 13:32:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jun 2015 13:32:55 +0000 (UTC) Cc: 20887@debbugs.gnu.org, Artur Malabarba To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 24 15:32:44 2015 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 1Z7knD-0002Xh-NK for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jun 2015 15:32:43 +0200 Original-Received: from localhost ([::1]:50770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7knD-0001mz-8Z for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jun 2015 09:32:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7kn9-0001mu-QS for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 09:32:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7kn4-00065a-Rf for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 09:32:39 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7kn4-00065W-Op for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 09:32:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z7kmz-0008Hf-RF for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 09:32:32 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Jun 2015 13:32:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20887 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20887-submit@debbugs.gnu.org id=B20887.143515270331808 (code B ref 20887); Wed, 24 Jun 2015 13:32:04 +0000 Original-Received: (at 20887) by debbugs.gnu.org; 24 Jun 2015 13:31:43 +0000 Original-Received: from localhost ([127.0.0.1]:56000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7kmE-0008Gx-4T for submit@debbugs.gnu.org; Wed, 24 Jun 2015 09:31:42 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:40195) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7km3-0008GZ-Bq for 20887@debbugs.gnu.org; Wed, 24 Jun 2015 09:31:33 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 9ADAD160837; Wed, 24 Jun 2015 06:31:24 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 5vTfUeDajuMx; Wed, 24 Jun 2015 06:31:23 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id D83C816083F; Wed, 24 Jun 2015 06:31:23 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id axyhBhhK-iKF; Wed, 24 Jun 2015 06:31:23 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id B8840160837; Wed, 24 Jun 2015 06:31:23 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <2nbng5pou7.fsf@fencepost.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:104297 Archived-At: Glenn Morris wrote: > But yes, dumping bootstrap-emacs is now ridiculously slow (~ 5 minutes). That's just the beginning. The real slowness comes later in the build. Each time it's compiling something else, Emacs has to reload isearch.el (as isearch.elc doesn't exist yet), and this takes many minutes. And it does this over and over. The entire build takes so long that I haven't had the patience to let it finish. Hours, at least. > How can a bootstrap have stale files...? Mine doesn't. I assume messages like "Reloading stale subr.el" are emitted even when the problem is only that subr.elc does not exist. At least, that's what happens when I do this: rm src/bootstrap-emacs src/emacs $(find . -name '*.elc') make The build creates 'src/bootstrap-emacs' and then goes on as follows. Don't you see similar output? ... Dumping under the name emacs 45219 pure bytes used : paxctl -zex emacs mv -f emacs bootstrap-emacs make -C ../lisp compile-first EMACS="../src/bootstrap-emacs" make[2]: Entering directory '/home/eggert/src/gnu/emacs/tmn/lisp' ELC emacs-lisp/macroexp.elc ELC emacs-lisp/cconv.elc ELC emacs-lisp/byte-opt.elc ELC emacs-lisp/bytecomp.elc ELC emacs-lisp/autoload.elc make[2]: Leaving directory '/home/eggert/src/gnu/emacs/tmn/lisp' make[2]: Entering directory '/home/eggert/src/gnu/emacs/tmn/lisp' ELC ../lisp/abbrev.elc Reloading stale byte-run.el Loading /home/eggert/src/gnu/emacs/tmn/lisp/emacs-lisp/byte-run.el (source)... Reloading stale backquote.el Loading /home/eggert/src/gnu/emacs/tmn/lisp/emacs-lisp/backquote.el (source)... ... There are lots more "stale" messages like that.