From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#52912: 29.0.50; Left over files from native compilation Date: Mon, 17 Jan 2022 11:07:48 +0000 Message-ID: References: <87pmotxrgs.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24794"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 52912@debbugs.gnu.org, monnier@iro.umontreal.ca To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 17 12:08:13 2022 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 1n9Prw-00069X-6M for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Jan 2022 12:08:12 +0100 Original-Received: from localhost ([::1]:59642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9Prv-0007BM-86 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Jan 2022 06:08:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9Prm-00078w-LJ for bug-gnu-emacs@gnu.org; Mon, 17 Jan 2022 06:08:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51972) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n9Prm-0003RC-Bh for bug-gnu-emacs@gnu.org; Mon, 17 Jan 2022 06:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n9Prm-0007E6-5E for bug-gnu-emacs@gnu.org; Mon, 17 Jan 2022 06:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Jan 2022 11:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52912 X-GNU-PR-Package: emacs Original-Received: via spool by 52912-submit@debbugs.gnu.org id=B52912.164241767127761 (code B ref 52912); Mon, 17 Jan 2022 11:08:02 +0000 Original-Received: (at 52912) by debbugs.gnu.org; 17 Jan 2022 11:07:51 +0000 Original-Received: from localhost ([127.0.0.1]:44875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9Prb-0007Dh-Ar for submit@debbugs.gnu.org; Mon, 17 Jan 2022 06:07:51 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:54773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9PrZ-0007DZ-Nx for 52912@debbugs.gnu.org; Mon, 17 Jan 2022 06:07:50 -0500 Original-Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 20HB7mFk027977 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 17 Jan 2022 11:07:48 GMT In-Reply-To: <87pmotxrgs.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 15 Jan 2022 10:45:23 +0100") 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:224438 Archived-At: Lars Ingebrigtsen writes: > Andrea Corallo writes: > >> I guess Emacs was brutally killed while building, otherwise we should >> clean these. Not sure how we can do better here, it works exactly as >> the byecompiler is working (but is just slower in compiling). > > I think I've asked this before -- do we have to write the temporary .elc > files out to disk at all before doing the .eln compilation? Can't that > work directly from an in-buffer .elc? I think the same question applies the bytecompiler only: Do we have to write the temporary .elc files out to disk at all before producing and renaming the final .elc? In general the last action is good to be a file rename as this should be atomic. But that said yes, _when_ we write the temporary file is up to us. Again this is not strictly a native compiler issue, just with the native compiler is more likely to be encountered. Best Regards Andrea