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: Thu, 25 Mar 2021 11:14:30 +0200 Message-ID: <834kgzk32h.fsf@gnu.org> References: <8735wls1hj.fsf@treypeacock.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13283"; mail-complaints-to="usenet@ciao.gmane.io" Cc: reich-cv@yandex.ru, me@treypeacock.com, 47337@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 25 10:16:01 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 1lPM5w-0003K5-P6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Mar 2021 10:16:00 +0100 Original-Received: from localhost ([::1]:34526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPM5v-0006H0-RJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Mar 2021 05:15:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPM53-0006Ft-1u for bug-gnu-emacs@gnu.org; Thu, 25 Mar 2021 05:15:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53803) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPM50-0004AP-KA for bug-gnu-emacs@gnu.org; Thu, 25 Mar 2021 05:15:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lPM50-0004hP-F4 for bug-gnu-emacs@gnu.org; Thu, 25 Mar 2021 05:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Mar 2021 09:15:02 +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.161666367918017 (code B ref 47337); Thu, 25 Mar 2021 09:15:02 +0000 Original-Received: (at 47337) by debbugs.gnu.org; 25 Mar 2021 09:14:39 +0000 Original-Received: from localhost ([127.0.0.1]:37115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPM4d-0004gX-DC for submit@debbugs.gnu.org; Thu, 25 Mar 2021 05:14:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPM4c-0004gH-CK for 47337@debbugs.gnu.org; Thu, 25 Mar 2021 05:14:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47600) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPM4W-0003t9-29; Thu, 25 Mar 2021 05:14:32 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3551 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lPM4V-0005bH-4j; Thu, 25 Mar 2021 05:14:31 -0400 In-Reply-To: (message from Andrea Corallo on Wed, 24 Mar 2021 14:31:05 +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:202991 Archived-At: > From: Andrea Corallo > Cc: Eli Zaretskii , Konstantin Reich , > 47337@debbugs.gnu.org > Date: Wed, 24 Mar 2021 14:31:05 +0000 > > Trey Peacock writes: > > > Eli Zaretskii writes: > > > >>> 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/. > >> > >> > >> > >> > > > > I am also experiencing this issue. I've found my comp-eln-load-path > > value is '("~/.emacs.d/eln-cache/" "../native-lisp/"). Notably, the > > system variable looks incorrect since based off the invocation-directory > > it would mean my native-comp files are in /usr/native-lisp/. > > Could you be more specific on what's the value of you > `invocation-directory' and where the eln is located? Do you still need this information from me?