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#47337: 28.0.50; [feature/native-comp] Compilation over and over again Date: Tue, 23 Mar 2021 12:18:00 +0200 Message-ID: <83ft0m897r.fsf@gnu.org> References: <87ft0mz2f1.fsf@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24214"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47337@debbugs.gnu.org To: Konstantin Reich , Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 23 11:19:24 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 1lOe8B-0006Bd-F6 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Mar 2021 11:19:23 +0100 Original-Received: from localhost ([::1]:47142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOe89-0008TM-W1 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Mar 2021 06:19:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOe7q-0008TF-D1 for bug-gnu-emacs@gnu.org; Tue, 23 Mar 2021 06:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48066) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOe7q-00070t-3w for bug-gnu-emacs@gnu.org; Tue, 23 Mar 2021 06:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lOe7p-00047p-VW for bug-gnu-emacs@gnu.org; Tue, 23 Mar 2021 06:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Mar 2021 10:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47337 X-GNU-PR-Package: emacs Original-Received: via spool by 47337-submit@debbugs.gnu.org id=B47337.161649468615779 (code B ref 47337); Tue, 23 Mar 2021 10:19:01 +0000 Original-Received: (at 47337) by debbugs.gnu.org; 23 Mar 2021 10:18:06 +0000 Original-Received: from localhost ([127.0.0.1]:59605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOe6w-00046R-9W for submit@debbugs.gnu.org; Tue, 23 Mar 2021 06:18:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOe6u-00045x-VV for 47337@debbugs.gnu.org; Tue, 23 Mar 2021 06:18:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51345) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOe6p-0006Pd-EF; Tue, 23 Mar 2021 06:17:59 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1304 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lOe6k-0002ZC-MN; Tue, 23 Mar 2021 06:17:59 -0400 In-Reply-To: <87ft0mz2f1.fsf@yandex.ru> (message from Konstantin Reich on Tue, 23 Mar 2021 11:42:42 +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:202890 Archived-At: > From: Konstantin Reich > Date: Tue, 23 Mar 2021 11:42:42 +0300 > > With recent update, Emacs re-compiles all files over and over again. > So for example in the directory ~/.emacs.d/eln-cache/28.0.50-da68e688 > I have file "seq-c314b42f-92293e32.eln". I start emacs and the file is > compiled again. As a result, I have the same file with the > updated timestamp in the same directory. > > > Moreover, I have compiled emacs with "NATIVE_FULL_AOT=1". So i already have > the same file in : > /usr/local/lib/emacs/28.0.50/native-lisp/28.0.50-da68e688/ > Still, every time i start emacs, it starts to recompile all files. > > It is never ending cycle of compilation. My problem starts even earlier: dumping Emacs as part of the build doesn't seem to load the preloaded *.eln files, but the *.elc files instead (or at least it doesn't announce the fact that "native compiled lisp" file is loaded), although I do have all the freshly compiled *.eln files under native-lisp/.