From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 23 04:42:56 2021 Received: (at submit) by debbugs.gnu.org; 23 Mar 2021 08:42:56 +0000 Received: from localhost ([127.0.0.1]:59485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOccp-0001hs-UP for submit@debbugs.gnu.org; Tue, 23 Mar 2021 04:42:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:48984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOccn-0001hk-S5 for submit@debbugs.gnu.org; Tue, 23 Mar 2021 04:42:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOccn-0004Zt-KK for bug-gnu-emacs@gnu.org; Tue, 23 Mar 2021 04:42:53 -0400 Received: from forward106o.mail.yandex.net ([37.140.190.187]:58236) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOcck-0001bm-7N for bug-gnu-emacs@gnu.org; Tue, 23 Mar 2021 04:42:52 -0400 Received: from sas1-a507a9c2063d.qloud-c.yandex.net (sas1-a507a9c2063d.qloud-c.yandex.net [IPv6:2a02:6b8:c08:f215:0:640:a507:a9c2]) by forward106o.mail.yandex.net (Yandex) with ESMTP id 563A750612C3 for ; Tue, 23 Mar 2021 11:42:44 +0300 (MSK) Received: from sas1-27140bb19246.qloud-c.yandex.net (sas1-27140bb19246.qloud-c.yandex.net [2a02:6b8:c08:1803:0:640:2714:bb1]) by sas1-a507a9c2063d.qloud-c.yandex.net (mxback/Yandex) with ESMTP id QMDKpkxhA5-gicqo8G2; Tue, 23 Mar 2021 11:42:44 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1616488964; bh=2vR0gDoHv7k2JZIHAwbXKTYu10UnfO254y1SvO+c5Sk=; h=Subject:To:From:Message-ID:Date; b=auC9STPm6DcfwWjdofMwk/Ug5qgnFQRFuyvmIhqeI+0aTDyBZuedFJMJHTzhQfwI8 2DrUzIhZ8Pzs7+QaAQYDeoGhqNRS59tut8/4zWHVj2fSQfkof2TFVTAXMuvQYkYrm5 TZSAQXkIXQxCVxtjVqk2+xO7shrulmqgsFvvzXoM= Authentication-Results: sas1-a507a9c2063d.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Received: by sas1-27140bb19246.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id CQcyyUXi2u-ghJuqpnk; Tue, 23 Mar 2021 11:42:43 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) From: Konstantin Reich To: bug-gnu-emacs@gnu.org Subject: 28.0.50; [feature/native-comp] Compilation over and over again Organization: Home Date: Tue, 23 Mar 2021 11:42:42 +0300 Message-ID: <87ft0mz2f1.fsf@yandex.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=37.140.190.187; envelope-from=reich-cv@yandex.ru; helo=forward106o.mail.yandex.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hello, 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. Before, I used emacs with last commit: 3e133cc050926284109fe61f4789f67676491ffa Everything worked as expected. In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0) of 2021-03-22 built on 07f36f52ee17 Windowing system distributor 'System Description: Ubuntu 20.10 Configured using: 'configure --prefix /usr/local --with-native-compilation --with-pgtk --with-json --with-gnutls --with-rsvg --without-xwidgets --without-toolkit-scroll-bars --without-xaw3d --with-mailutils 'CFLAGS=-O2 -pipe'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SOUND THREADS TIFF XIM GTK3 ZLIB Important settings: value of $LC_COLLATE: C value of $LC_MONETARY: ru_RU.UTF-8 value of $LC_NUMERIC: ru_RU.UTF-8 value of $LC_TIME: ru_RU.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: recentf-mode: t show-paren-mode: t diredful-mode: t dired-async-mode: t shell-dirtrack-mode: t global-auto-revert-mode: t global-undo-tree-mode: t undo-tree-mode: t ivy-mode: t delete-selection-mode: t which-key-mode: t winner-mode: 1 yas-global-mode: t yas-minor-mode: t global-company-mode: t company-mode: t whole-line-or-region-global-mode: t whole-line-or-region-local-mode: t savehist-mode: t global-hl-line-mode: t feebleline-mode: t override-global-mode: t global-eldoc-mode: t electric-indent-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t window-divider-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Features: (shadow sort mailalias bbdb-mua bbdb-com crm bbdb bbdb-site timezone mail-extr gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win emacsbug message rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils sendmail counsel swiper two-column vc-git diff-mode vc-dispatcher recentf bookmark pp lsp-ui lsp-ui-flycheck lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui-peek lsp-ui-sideline lsp-ui-util aggressive-indent flycheck lsp-mode lsp-protocol tree-widget spinner network-stream nsm rmc markdown-mode lv inline ht ewoc flyspell gnuplot info-look paren gamegrid org-protocol org-board eww-lnum eww xdg url-queue thingatpt shr kinsoku svg xml dom puny mm-url gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums wid-edit mm-util mail-prsvr org-attach org-id org-refile find-lisp ob-shell ob-calc calc-store calc-trail calc-ext calc calc-loaddefs calc-macs ob-python python tramp-sh ob-latex ob-R ob-ledger ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ob-gnuplot ob-async org-table-sticky-header pass imenu password-store auth-source-pass with-editor server eperiodic cl array image-dired dired-du find-dired diredful dired-x dired-async async dired-aux tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat parse-time iso8601 ls-lisp vterm face-remap term disp-table shell ehelp vterm-module term/xterm xterm proced ivy-youtube request mailheader mail-utils ibuf-macs autorevert filenotify undo-tree diff ivy delsel ivy-faces ivy-overlay colir color which-key ispell skeletor compile text-property-search let-alist f s dash winner ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util doc-view jka-compr yasnippet company-math math-symbol-lists company-oddmuse company-keywords company-etags etags fileloop generator xref project company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company pcase edmacro kmacro image-mode dired dired-loaddefs exif whole-line-or-region savehist hl-line feebleline zenburn-theme use-package-ensure-system-package system-packages use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key use-package-core org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-entities time-date noutline outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat advice org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs tex-site info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source eieio eieio-core eieio-loaddefs password-cache json map url-vars comp comp-cstr warnings subr-x rx cl-seq cl-macs cl-extra help-mode seq byte-opt gv cl-loaddefs cl-lib bytecomp byte-compile cconv iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/pgtk-win pgtk-win term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit pgtk lcms2 multi-tty make-network-process nativecomp emacs) Memory information: ((conses 16 570486 225121) (symbols 48 47841 10) (strings 32 191033 96306) (string-bytes 1 6077728) (vectors 16 83532) (vector-slots 8 1010998 256555) (floats 8 593 386) (intervals 56 13876 15884) (buffers 992 14)) From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 23 06:18:06 2021 Received: (at 47337) by debbugs.gnu.org; 23 Mar 2021 10:18:06 +0000 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 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 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 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 Date: Tue, 23 Mar 2021 12:18:00 +0200 Message-Id: <83ft0m897r.fsf@gnu.org> From: Eli Zaretskii To: Konstantin Reich , Andrea Corallo In-Reply-To: <87ft0mz2f1.fsf@yandex.ru> (message from Konstantin Reich on Tue, 23 Mar 2021 11:42:42 +0300) Subject: Re: bug#47337: 28.0.50; [feature/native-comp] Compilation over and over again References: <87ft0mz2f1.fsf@yandex.ru> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47337 Cc: 47337@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > 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/. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 24 01:20:34 2021 Received: (at 47337) by debbugs.gnu.org; 24 Mar 2021 05:20:34 +0000 Received: from localhost ([127.0.0.1]:33739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOvwY-0001Kd-9f for submit@debbugs.gnu.org; Wed, 24 Mar 2021 01:20:34 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:41591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOthr-0008GX-TD for 47337@debbugs.gnu.org; Tue, 23 Mar 2021 22:57:17 -0400 Date: Wed, 24 Mar 2021 02:57:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=treypeacock.com; s=protonmail3; t=1616554629; bh=UInuYWjoDZRuHyl79WiGliQKNwSKmreR7SFTHQJ+KFw=; h=Date:To:From:Cc:Reply-To:Subject:From; b=v7mW8WUJScBIx4c8h9uIq4bqqii7ScPgaNmhsb7MyvlaBVPYjsOySLiqjMRucUDVz n0EaNSYEQ4ms1Spq7lTLg0xn/vbdk5FdupKMHTCNiWkYS9G6XYWubrU7iEuGd5LB83 u3LzwyI1UwwGsZf1l793qNOSo87eLvm648Y594TpXDDEtynINg3hKznhWoaXdYN1Ff Xf5Q2PSQV6m8aLg7uPXj14xtP0jZ3F4iXVMN9NPvduK/fE1V6w7zwdcGJQGfVqN+tk QlT6+ghaDOjGEMX6/P/YSHO6g5JdFrGn839kvBad1hrO3+uK/rC2MCD/WA3+BD5PwI 60KtAjrj7GyRQ== To: Eli Zaretskii From: Trey Peacock Subject: Re: bug#47337: 28.0.50; [feature/native-comp] Compilation over and over again Message-ID: <8735wls1hj.fsf@treypeacock.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47337 X-Mailman-Approved-At: Wed, 24 Mar 2021 01:20:33 -0400 Cc: Andrea Corallo , 47337@debbugs.gnu.org, Konstantin Reich X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Trey Peacock Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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=3D1". 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/. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 24 07:44:28 2021 Received: (at 47337) by debbugs.gnu.org; 24 Mar 2021 11:44:29 +0000 Received: from localhost ([127.0.0.1]:34109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lP1w4-0002qA-O1 for submit@debbugs.gnu.org; Wed, 24 Mar 2021 07:44:28 -0400 Received: from mx.sdf.org ([205.166.94.24]:59846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lP1w2-0002q2-TO for 47337@debbugs.gnu.org; Wed, 24 Mar 2021 07:44:28 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12OBiBKj025603 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 24 Mar 2021 11:44:24 GMT From: Andrea Corallo To: Konstantin Reich Subject: Re: bug#47337: 28.0.50; [feature/native-comp] Compilation over and over again References: <87ft0mz2f1.fsf@yandex.ru> Date: Wed, 24 Mar 2021 11:44:11 +0000 In-Reply-To: <87ft0mz2f1.fsf@yandex.ru> (Konstantin Reich's message of "Tue, 23 Mar 2021 11:42:42 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 47337 Cc: 47337@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Konstantin Reich writes: > Hello, > > 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. > > > Before, I used emacs with last commit: 3e133cc050926284109fe61f4789f67676491ffa > Everything worked as expected. Hi Konstantin, right I've introduced that with 5aa42f686c :/ 4a3b43f55c fix it for me, could you verify? Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 24 09:33:55 2021 Received: (at 47337) by debbugs.gnu.org; 24 Mar 2021 13:33:55 +0000 Received: from localhost ([127.0.0.1]:34341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lP3dz-0005bj-CS for submit@debbugs.gnu.org; Wed, 24 Mar 2021 09:33:55 -0400 Received: from mx.sdf.org ([205.166.94.24]:64159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lP3dx-0005bY-Ud for 47337@debbugs.gnu.org; Wed, 24 Mar 2021 09:33:54 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12ODXott021929 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 24 Mar 2021 13:33:50 GMT From: Andrea Corallo To: Eli Zaretskii Subject: Re: bug#47337: 28.0.50; [feature/native-comp] Compilation over and over again References: <87ft0mz2f1.fsf@yandex.ru> <83ft0m897r.fsf@gnu.org> Date: Wed, 24 Mar 2021 13:33:50 +0000 In-Reply-To: <83ft0m897r.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 23 Mar 2021 12:18:00 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 47337 Cc: 47337@debbugs.gnu.org, Konstantin Reich X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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/. Yeah I think what you observed is the same bug, I think eln were not loaded and as a consequence not dumped. Hopefully is fixed now. Regards Andrea From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 24 10:31:12 2021 Received: (at 47337) by debbugs.gnu.org; 24 Mar 2021 14:31:12 +0000 Received: from localhost ([127.0.0.1]:35758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lP4XP-0007Lt-QA for submit@debbugs.gnu.org; Wed, 24 Mar 2021 10:31:12 -0400 Received: from mx.sdf.org ([205.166.94.24]:59045) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lP4XM-0007Lh-Lh for 47337@debbugs.gnu.org; Wed, 24 Mar 2021 10:31:10 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12OEV5ZU003047 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 24 Mar 2021 14:31:05 GMT From: Andrea Corallo To: Trey Peacock Subject: Re: bug#47337: 28.0.50; [feature/native-comp] Compilation over and over again References: <8735wls1hj.fsf@treypeacock.com> Date: Wed, 24 Mar 2021 14:31:05 +0000 In-Reply-To: <8735wls1hj.fsf@treypeacock.com> (Trey Peacock's message of "Wed, 24 Mar 2021 02:57:03 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 47337 Cc: Eli Zaretskii , 47337@debbugs.gnu.org, Konstantin Reich X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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? Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 24 11:16:04 2021 Received: (at 47337) by debbugs.gnu.org; 24 Mar 2021 15:16:04 +0000 Received: from localhost ([127.0.0.1]:35798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lP5Ep-00027B-Ss for submit@debbugs.gnu.org; Wed, 24 Mar 2021 11:16:04 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:38846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lP5En-00026S-Ou for 47337@debbugs.gnu.org; Wed, 24 Mar 2021 11:16:02 -0400 Date: Wed, 24 Mar 2021 15:15:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=treypeacock.com; s=protonmail3; t=1616598955; bh=y8rhFz9or6tgzSd6MiFZOi4lmbndwrge1fitZ27rY6g=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=gsWwtis98Z5CWo5HJ63zNCDPA9FQddFOv4W0Sbkm858Y4F7Yp/mw2cm3eb/1texiL MFpboOZIDvN9gzZjdKMooLemhVVz2EcNDdL+b7gw29WW7vlM5dMQhMVRrVampxr4xr zK2FArCdAGXLvpVLa2IGpc0Q5PPEsuMyh3P0AtYB+nB43SKUrR0+VAuMcqf+JTY/+7 G7Q4BIKVa3PqD+jKP2lh1AUfyMqZZOcYnOdSR8OQhvR8kc4UkfP8Yle1U/3IVT+mEX 0efgPH/kLxSANdDFqL9X2XmxKbmQ11TGHkcAaCzH9ywICQLpk6wjbaUJ2tEJDrGoqK LeWWdJpcXk8qQ== To: Andrea Corallo From: Trey Peacock Subject: Re: bug#47337: 28.0.50; [feature/native-comp] Compilation over and over again Message-ID: <874kh07g5d.fsf@treypeacock.com> In-Reply-To: References: <8735wls1hj.fsf@treypeacock.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47337 Cc: Eli Zaretskii , 47337@debbugs.gnu.org, Konstantin Reich X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Trey Peacock Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) "Andrea Corallo" writes: > 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=3D3D1". So i alr= ead=3D > y 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? > > Thanks > > Andrea comp-eln-load-path: ("~/.emacs.d/eln-cache/" "../native-lisp/") invocation-directory: "/usr/bin" comp-eln-load-path-eff: ("/home/trey/.emacs.d/eln-cache/28.0.50-1a5c4fab" "/usr/native-lisp/28.0.50-1a5c4fab") Per comp.c it seems like the comp-eln-load-path isn't being updated from th= e temporary value it is assigned for bootstrap. Also, as a side note the docstring for comp-eln-load-path still references comp-load-path which should be changed to comp-eln-load-path. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 24 11:31:48 2021 Received: (at 47337) by debbugs.gnu.org; 24 Mar 2021 15:31:48 +0000 Received: from localhost ([127.0.0.1]:35813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lP5U4-0002Vw-3H for submit@debbugs.gnu.org; Wed, 24 Mar 2021 11:31:48 -0400 Received: from forward101p.mail.yandex.net ([77.88.28.101]:54351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lP5U1-0002Vf-3d for 47337@debbugs.gnu.org; Wed, 24 Mar 2021 11:31:46 -0400 Received: from myt6-6c2a9472c7c7.qloud-c.yandex.net (myt6-6c2a9472c7c7.qloud-c.yandex.net [IPv6:2a02:6b8:c12:29a1:0:640:6c2a:9472]) by forward101p.mail.yandex.net (Yandex) with ESMTP id 23BCA3280F30; Wed, 24 Mar 2021 18:31:38 +0300 (MSK) Received: from myt4-1dda227af9a8.qloud-c.yandex.net (myt4-1dda227af9a8.qloud-c.yandex.net [2a02:6b8:c00:3c83:0:640:1dda:227a]) by myt6-6c2a9472c7c7.qloud-c.yandex.net (mxback/Yandex) with ESMTP id Hs8K8qg5n4-VbImFAEw; Wed, 24 Mar 2021 18:31:38 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1616599898; bh=S+L4MP3QXBbDb3vo8WUEqmZemAQB9QHFsJBvjtUxEj8=; h=In-Reply-To:Subject:To:From:Message-ID:Cc:Date:References; b=WZfuLC7dpRTSBMhd4W/8JW182yn8/JVowDdEZA4GmM8zioK5yL5GKgZeTe0jwnUK6 otzyz8omCqeTXP3kTRUDSnCpaKKrnmE49BS88TNAVneNyFUcoXRJ1Odv7e+EQ2MhxC pHqvPEcAMETzmYRFylIDe6zCqoztXCiUpYKinhlE= Authentication-Results: myt6-6c2a9472c7c7.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Received: by myt4-1dda227af9a8.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id dYzzOu1boY-VbpKCtFD; Wed, 24 Mar 2021 18:31:37 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) From: Konstantin Reich To: Andrea Corallo Subject: Re: bug#47337: 28.0.50; [feature/native-comp] Compilation over and over again Organization: Home References: <87ft0mz2f1.fsf@yandex.ru> Date: Wed, 24 Mar 2021 18:31:36 +0300 In-Reply-To: (Andrea Corallo's message of "Wed, 24 Mar 2021 11:44:11 +0000") Message-ID: <87pmzowotj.fsf@yandex.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47337 Cc: 47337@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Andrea, > 4a3b43f55c fix it for me, could you verify? It works again. Thank you > Hi Konstantin, > right I've introduced that with 5aa42f686c :/ > 4a3b43f55c fix it for me, could you verify? > Thanks > Andrea From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 24 11:48:39 2021 Received: (at 47337-done) by debbugs.gnu.org; 24 Mar 2021 15:48:39 +0000 Received: from localhost ([127.0.0.1]:35857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lP5kN-0002w3-HM for submit@debbugs.gnu.org; Wed, 24 Mar 2021 11:48:39 -0400 Received: from mx.sdf.org ([205.166.94.24]:63246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lP5kL-0002vn-J3 for 47337-done@debbugs.gnu.org; Wed, 24 Mar 2021 11:48:38 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12OFmY83029150 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 24 Mar 2021 15:48:34 GMT From: Andrea Corallo To: Konstantin Reich Subject: Re: bug#47337: 28.0.50; [feature/native-comp] Compilation over and over again References: <87ft0mz2f1.fsf@yandex.ru> <87pmzowotj.fsf@yandex.ru> Date: Wed, 24 Mar 2021 15:48:34 +0000 In-Reply-To: <87pmzowotj.fsf@yandex.ru> (Konstantin Reich's message of "Wed, 24 Mar 2021 18:31:36 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 47337-done Cc: 47337-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Konstantin Reich writes: > Andrea, > >> 4a3b43f55c fix it for me, could you verify? > It works again. > Thank you Very nice, closing. Thanks for reporting. Andrea From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 24 12:06:12 2021 Received: (at 47337) by debbugs.gnu.org; 24 Mar 2021 16:06:12 +0000 Received: from localhost ([127.0.0.1]:35932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lP61M-0003QZ-AS for submit@debbugs.gnu.org; Wed, 24 Mar 2021 12:06:12 -0400 Received: from mx.sdf.org ([205.166.94.24]:61093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lP61J-0003QM-1u for 47337@debbugs.gnu.org; Wed, 24 Mar 2021 12:06:11 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12OG65wf011165 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 24 Mar 2021 16:06:06 GMT From: Andrea Corallo To: Trey Peacock Subject: Re: bug#47337: 28.0.50; [feature/native-comp] Compilation over and over again References: <8735wls1hj.fsf@treypeacock.com> <874kh07g5d.fsf@treypeacock.com> Date: Wed, 24 Mar 2021 16:06:05 +0000 In-Reply-To: <874kh07g5d.fsf@treypeacock.com> (Trey Peacock's message of "Wed, 24 Mar 2021 15:15:47 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 47337 Cc: 47337@debbugs.gnu.org, Konstantin Reich X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Trey Peacock writes: > "Andrea Corallo" writes: > >> 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=3D1". So i alread= >> y 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? >> >> Thanks >> >> Andrea > > comp-eln-load-path: > ("~/.emacs.d/eln-cache/" "../native-lisp/") > > invocation-directory: > "/usr/bin" > > comp-eln-load-path-eff: > ("/home/trey/.emacs.d/eln-cache/28.0.50-1a5c4fab" > "/usr/native-lisp/28.0.50-1a5c4fab") > > Per comp.c it seems like the comp-eln-load-path isn't being updated from the > temporary value it is assigned for bootstrap. > > Also, as a side note the docstring for comp-eln-load-path still > references comp-load-path which should be changed to comp-eln-load-path. I've updated `comp-eln-load-path-eff' and `comp-eln-load-path' docstrings. Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 25 05:12:30 2021 Received: (at 47337) by debbugs.gnu.org; 25 Mar 2021 09:12:31 +0000 Received: from localhost ([127.0.0.1]:37106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPM2Y-0004cv-Lz for submit@debbugs.gnu.org; Thu, 25 Mar 2021 05:12:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPM2W-0004cj-P4 for 47337@debbugs.gnu.org; Thu, 25 Mar 2021 05:12:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47561) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPM2R-0002Z2-Bk; Thu, 25 Mar 2021 05:12:23 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3419 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lPM2Q-0005MJ-2y; Thu, 25 Mar 2021 05:12:22 -0400 Date: Thu, 25 Mar 2021 11:12:21 +0200 Message-Id: <837dlvk362.fsf@gnu.org> From: Eli Zaretskii To: Andrea Corallo In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#47337: 28.0.50; [feature/native-comp] Compilation over and over again References: <87ft0mz2f1.fsf@yandex.ru> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47337 Cc: 47337@debbugs.gnu.org, reich-cv@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Cc: 47337@debbugs.gnu.org > Date: Wed, 24 Mar 2021 11:44:11 +0000 > From: Andrea Corallo via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Konstantin Reich writes: > > > Hello, > > > > 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. > > > > > > Before, I used emacs with last commit: 3e133cc050926284109fe61f4789f67676491ffa > > Everything worked as expected. > > Hi Konstantin, > > right I've introduced that with 5aa42f686c :/ > > 4a3b43f55c fix it for me, could you verify? Looks fixed here as well, thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 25 05:13:07 2021 Received: (at 47337) by debbugs.gnu.org; 25 Mar 2021 09:13:07 +0000 Received: from localhost ([127.0.0.1]:37110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPM39-0004eB-0Y for submit@debbugs.gnu.org; Thu, 25 Mar 2021 05:13:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPM36-0004dW-Rp for 47337@debbugs.gnu.org; Thu, 25 Mar 2021 05:13:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47581) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPM31-0002zP-Ed; Thu, 25 Mar 2021 05:12:59 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3450 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lPM2u-0005QD-6u; Thu, 25 Mar 2021 05:12:54 -0400 Date: Thu, 25 Mar 2021 11:12:51 +0200 Message-Id: <835z1fk358.fsf@gnu.org> From: Eli Zaretskii To: Andrea Corallo In-Reply-To: (message from Andrea Corallo on Wed, 24 Mar 2021 13:33:50 +0000) Subject: Re: bug#47337: 28.0.50; [feature/native-comp] Compilation over and over again References: <87ft0mz2f1.fsf@yandex.ru> <83ft0m897r.fsf@gnu.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47337 Cc: 47337@debbugs.gnu.org, reich-cv@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Andrea Corallo > Cc: Konstantin Reich , 47337@debbugs.gnu.org > Date: Wed, 24 Mar 2021 13:33:50 +0000 > > Eli Zaretskii writes: > > > 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/. > > Yeah I think what you observed is the same bug, I think eln were not > loaded and as a consequence not dumped. Hopefully is fixed now. It is, thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 25 05:14:39 2021 Received: (at 47337) by debbugs.gnu.org; 25 Mar 2021 09:14:39 +0000 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 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 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 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 Date: Thu, 25 Mar 2021 11:14:30 +0200 Message-Id: <834kgzk32h.fsf@gnu.org> From: Eli Zaretskii To: Andrea Corallo In-Reply-To: (message from Andrea Corallo on Wed, 24 Mar 2021 14:31:05 +0000) Subject: Re: bug#47337: 28.0.50; [feature/native-comp] Compilation over and over again References: <8735wls1hj.fsf@treypeacock.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47337 Cc: me@treypeacock.com, 47337@debbugs.gnu.org, reich-cv@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > 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? From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 25 06:12:37 2021 Received: (at 47337) by debbugs.gnu.org; 25 Mar 2021 10:12:37 +0000 Received: from localhost ([127.0.0.1]:37199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPMyj-0008Nu-4g for submit@debbugs.gnu.org; Thu, 25 Mar 2021 06:12:37 -0400 Received: from mx.sdf.org ([205.166.94.24]:52712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPMyg-0008Ni-Sj for 47337@debbugs.gnu.org; Thu, 25 Mar 2021 06:12:36 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12PACUNk005702 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Thu, 25 Mar 2021 10:12:32 GMT From: Andrea Corallo To: Eli Zaretskii Subject: Re: bug#47337: 28.0.50; [feature/native-comp] Compilation over and over again References: <8735wls1hj.fsf@treypeacock.com> <834kgzk32h.fsf@gnu.org> Date: Thu, 25 Mar 2021 10:12:30 +0000 In-Reply-To: <834kgzk32h.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 25 Mar 2021 11:14:30 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 47337 Cc: me@treypeacock.com, 47337@debbugs.gnu.org, reich-cv@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> 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? Is not necessary thanks, I've got the info from Trey thanks. Andrea From unknown Sun Jun 22 03:55:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 22 Apr 2021 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator