From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#48079: Temporary files while building after native-comp merge Date: Thu, 29 Apr 2021 10:15:58 +0000 Message-ID: References: <835z06hanw.fsf@gnu.org> <83y2d2fv6c.fsf@gnu.org> <83wnslekok.fsf@gnu.org> <83lf91e9bq.fsf@gnu.org> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11389"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: stefan@marxist.se, 48079@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 29 12:17:37 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lc3jk-0002qf-Sc for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Apr 2021 12:17:36 +0200 Original-Received: from localhost ([::1]:36640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lc3jj-00086o-Vi for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Apr 2021 06:17:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lc3jC-0007sc-OG for bug-gnu-emacs@gnu.org; Thu, 29 Apr 2021 06:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43344) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lc3jC-0004Np-Gy for bug-gnu-emacs@gnu.org; Thu, 29 Apr 2021 06:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lc3jC-0007sX-Ct for bug-gnu-emacs@gnu.org; Thu, 29 Apr 2021 06:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Apr 2021 10:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48079 X-GNU-PR-Package: emacs Original-Received: via spool by 48079-submit@debbugs.gnu.org id=B48079.161969136330208 (code B ref 48079); Thu, 29 Apr 2021 10:17:02 +0000 Original-Received: (at 48079) by debbugs.gnu.org; 29 Apr 2021 10:16:03 +0000 Original-Received: from localhost ([127.0.0.1]:54888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lc3iF-0007rA-7v for submit@debbugs.gnu.org; Thu, 29 Apr 2021 06:16:03 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:64785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lc3iC-0007qM-5U for 48079@debbugs.gnu.org; Thu, 29 Apr 2021 06:16:01 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 13TAFwAV015569 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Thu, 29 Apr 2021 10:15:59 GMT In-Reply-To: <83lf91e9bq.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 29 Apr 2021 12:20:09 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:205165 Archived-At: Eli Zaretskii writes: >> From: Andrea Corallo >> Cc: Stefan Kangas , 48079@debbugs.gnu.org >> Date: Thu, 29 Apr 2021 08:19:31 +0000 >> >> > Do you have some kind of auto-revert feature turned on? If not, how >> > come magit-status even knows these files are created? >> >> I believe he's referring to a new invocation of `magit-status' while >> compilation is happening. > > Btw, what is the reason that these temporary *.elc files live longer > with the native compilation? Yes, essentially just the fact that compilation takes longer. When we compile Emacs the makefile uses `batch-byte-native-compile-for-bootstrap' to produce both the .elc and the .eln. As the eln is produced as side product of the .elc to have the makefile dependecy model work we can't rename the .elc before the .eln is also finished even if we could, otherwise in case of interruption we may have the .elc produced but not the .eln. Andrea > Does the native compilation need the > *.elc file for its processing? If not, perhaps we could rename or > delete them earlier? >