From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: master has switched from Automake to GNU Make Date: Tue, 21 Mar 2017 11:23:16 -0700 Organization: UCLA Computer Science Department Message-ID: References: <58CB9F6B.5080806@gmx.at> <83h92sz2j9.fsf@gnu.org> <58CBAEB7.5030601@gmx.at> <58CBBC6C.8000104@gmx.at> <87d1dcgpey.fsf@ctlt579.codethink.co.uk> <58bf55f3-e71f-80b5-d4fd-f411f46a04b3@cs.ucla.edu> <87zige5xws.fsf@pokyo> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1490120719 22915 195.159.176.226 (21 Mar 2017 18:25:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 21 Mar 2017 18:25:19 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cc: Robert Marshall , emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 21 19:25:14 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 1cqOT0-0004t5-1k for ged-emacs-devel@m.gmane.org; Tue, 21 Mar 2017 19:25:10 +0100 Original-Received: from localhost ([::1]:41843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqOT5-0003Wn-P8 for ged-emacs-devel@m.gmane.org; Tue, 21 Mar 2017 14:25:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqORJ-0002rz-Jl for emacs-devel@gnu.org; Tue, 21 Mar 2017 14:23:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqORF-000789-GT for emacs-devel@gnu.org; Tue, 21 Mar 2017 14:23:25 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:39082) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cqORF-00077s-98 for emacs-devel@gnu.org; Tue, 21 Mar 2017 14:23:21 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id D7CE816008C; Tue, 21 Mar 2017 11:23:17 -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 PVxU5EzQaHOW; Tue, 21 Mar 2017 11:23:17 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 096621600A1; Tue, 21 Mar 2017 11:23:17 -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 6SH5bEDWfiDk; Tue, 21 Mar 2017 11:23:16 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id E46C816008C; Tue, 21 Mar 2017 11:23:16 -0700 (PDT) In-Reply-To: <87zige5xws.fsf@pokyo> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 131.179.128.68 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:213207 Archived-At: On 03/21/2017 10:42 AM, Tom Tromey wrote: > IIUC it will cause a full > rebuild for any re-run of configure, no matter now innocuous. Yes, it does require recompiling to rebuild *.o files and executables. Though that isn't a full build, it can take quite some time. On my aging desktop, 'configure' takes 58 seconds, and the followup 'make' takes 61 seconds. There is a tradeoff between speed and correctness, since 'configure' can change Makefiles, which means a full rebuild might be needed no matter what. But you're right, the change I installed was probably too aggressive for typical use. So I changed 'configure' back, so that it no longer removes *.o and dependency files. This means Robert Marshall will probably have to do a full rebuild by hand. > FWIW Automake implements a solution to the "deleted header file" > problem, just to deal with situations like this. That solution wouldn't have worked for this particular problem even if we were still using Automake, as the dependencies in question were not generated by GCC or by Automake. Sometimes after a big change, one must simply do the full './autogen.sh; ./configure; make' dance, as our default shortcuts are not safe in general.