From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#52912: 29.0.50; Left over files from native compilation Date: Sat, 22 Jan 2022 12:26:18 +0200 Message-ID: <83y238m5h1.fsf@gnu.org> References: <87pmotxrgs.fsf@gnus.org> <87ilui76ox.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25829"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 52912@debbugs.gnu.org, monnier@iro.umontreal.ca To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 22 11:27:12 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 1nBDby-0006Rr-Py for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Jan 2022 11:27:10 +0100 Original-Received: from localhost ([::1]:48242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nBDbx-00084y-2i for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Jan 2022 05:27:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBDbq-00084p-VL for bug-gnu-emacs@gnu.org; Sat, 22 Jan 2022 05:27:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42866) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nBDbq-00030T-Du for bug-gnu-emacs@gnu.org; Sat, 22 Jan 2022 05:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nBDbp-00055N-Um for bug-gnu-emacs@gnu.org; Sat, 22 Jan 2022 05:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Jan 2022 10:27:01 +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.164284720719527 (code B ref 52912); Sat, 22 Jan 2022 10:27:01 +0000 Original-Received: (at 52912) by debbugs.gnu.org; 22 Jan 2022 10:26:47 +0000 Original-Received: from localhost ([127.0.0.1]:35769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBDba-00054s-LZ for submit@debbugs.gnu.org; Sat, 22 Jan 2022 05:26:46 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBDbZ-00054f-02 for 52912@debbugs.gnu.org; Sat, 22 Jan 2022 05:26:45 -0500 Original-Received: from [2001:470:142:3::e] (port=48758 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBDbS-0002zX-VT; Sat, 22 Jan 2022 05:26:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=x1GweiQQoYRUiy0uY32jZtFprmeoSpkcXUGt78VGaqk=; b=TQgl2G5mwiNT JrZ8aDHqrG8rbhNpb0R9ymkfy/jr1IbP+PDtP7HqIBA9+bXhjwY1h3Y9Wp2qpUJmNpMREfAlU6b/P S+ohEOJmXGhpGXFVWO6BRFsswxbhmjWv4oXu0QhTDhFCymMfZCS7YLGoeipGS4i4xu34VWBbS8X0T Xh4FocXyJQA+XRBPqhagw7x4fDNQnwEmdxHfOpRe/3P06z7uCKaL5J2i0rmeykkLtjBqItu9abDh+ nuW2JQZg9KRVzautTduaXfobzSxG1hsh1ebc/jyx8foIdPeyGFiNBcoglhfvjANbnzo2fq3zro8SP KcSQyQiKwzqYpm0hWQOj+Q==; Original-Received: from [87.69.77.57] (port=3146 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBDbS-0004l1-EN; Sat, 22 Jan 2022 05:26:38 -0500 In-Reply-To: (message from Andrea Corallo on Wed, 19 Jan 2022 21:09:44 +0000) 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:224805 Archived-At: > From: Andrea Corallo > Date: Wed, 19 Jan 2022 21:09:44 +0000 > Cc: 52912@debbugs.gnu.org, monnier@iro.umontreal.ca > > Lars Ingebrigtsen writes: > > > Andrea Corallo writes: > > > >> Yes I think we could postpone not only the renaming of the temporary > >> .elc but also when this is written down. > >> > >> I'll try to code up something this week. > > > > Great! > > Okay as of 9396b7d0b4 when native compiling we produce the temp .elc > only just before renaming it, so exactly as we do for simple byte > compilation. > > This should really minimize this issue to a most likely non observable > frequency. > > I bootstrapped emacs native and byte compiled and seems to work here. Looks like this causes trouble, at least when rebuilding Emacs: now the .elc file is slightly (by 0.1 sec in my case) newer than the corresponding .eln file, and loadup loads the .elc file instead of .eln. If I manually swap the time stamps of the .elc and .eln files, the problem goes away. When you bootstrapped the native-compiled Emacs, did you make sure loadup announced that it was loading "native compiled lisp" files?