From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "N. Jackson" Newsgroups: gmane.emacs.bugs Subject: bug#73303: 30.0.91; Native compiler repeatedly interrupts at random moments Date: Mon, 16 Sep 2024 18:14:46 +0000 Message-ID: <87wmjbmpnt.fsf@moondust.awandering> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9719"; mail-complaints-to="usenet@ciao.gmane.io" To: 73303@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 16 20:18:06 2024 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 1sqGIX-0002Ou-KV for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Sep 2024 20:18:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqGIL-0003Gq-Ev; Mon, 16 Sep 2024 14:17:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqGIH-00037m-R0 for bug-gnu-emacs@gnu.org; Mon, 16 Sep 2024 14:17:50 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sqGIH-0007mp-Hv for bug-gnu-emacs@gnu.org; Mon, 16 Sep 2024 14:17:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=e4zXbClXsc+mILVolbqrx2cdK2J9rGQmuiLyk7edbEY=; b=XDJJUMgJqNZdc/5ouJbJ12sb9ZdQ4HTOdmkM/ploomt2vVfdWxDXr8GVbpQPLRUPnMiHKc8ZvyrHbWWO61MlYpQaOOY78b/Xa8KRTN3WcxysEu3C0jYFeIpZGSG+93OnVjY1mhAwRDS2khrMsJleKcN9zqNaYTqnsNk2NDw+2rEjw0LG/alTNq69uFTSoQA4PJ3/0dQPweliYYJixVZllwo1ydGjWL+M6smi9wIdgcAzOkWI1kMIN0/jPcHXQYVDLYg44lAMKjL1yRfZ37tL5kh1m45PqUSITRggCrMekIktp3q07QNkFLNcK02+13RXsxQSZvDA8C3NB7/Xrs/Tjw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sqGIU-0007t6-SF for bug-gnu-emacs@gnu.org; Mon, 16 Sep 2024 14:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "N. Jackson" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Sep 2024 18:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73303 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172651064830260 (code B ref -1); Mon, 16 Sep 2024 18:18:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Sep 2024 18:17:28 +0000 Original-Received: from localhost ([127.0.0.1]:53234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqGHv-0007rz-Sz for submit@debbugs.gnu.org; Mon, 16 Sep 2024 14:17:28 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:44912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqGHs-0007rp-Tz for submit@debbugs.gnu.org; Mon, 16 Sep 2024 14:17:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqGFY-0001JK-JW for bug-gnu-emacs@gnu.org; Mon, 16 Sep 2024 14:15:01 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqGFU-0007Ru-6F for bug-gnu-emacs@gnu.org; Mon, 16 Sep 2024 14:14:59 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 41E4D240101 for ; Mon, 16 Sep 2024 20:14:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726510489; bh=3UDn9mgnvikUYtnrL6B/BxpZrc8DJvtUXEFS3ovSfVo=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=MzY0QMb8TADgjWwTXJz3whPmsYGC8VW7KG08L6KzJhl/MxeHvjzUOIqhyexHqo8pf 4LbAsuJmpSRu6q/cFOKrCKFHOCIszc2mp7CfA7sDvERzuqk3Z6XV+etBltJ1bNAPWn EYrc2/xPBxWj966bNTcCJUOce3pUbjtBi9tGNvDb58FHTKvAKGweOxj7oICmV91nAX CTyScb9/ocyKIt+lmZ6UpfSKg4AmPFPb/RmfvXCsvMavuMSPjMhLr1h32Fr/2TGiV/ CZEeNHVN6GyayCt/5uiOD/VnjxT17WJWSKB6xnE8L//RRcB1askxNM2uDRnS8G0MjM 0ywgfFJQOsGfQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X6tNm50W2z6tyT for ; Mon, 16 Sep 2024 20:14:47 +0200 (CEST) Received-SPF: pass client-ip=185.67.36.66; envelope-from=njackson@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291904 Archived-At: Since building Emacs 30.0.91, I have repeatedly been interrupted in my work by warnings from the native compiler. A few examples of the warnings are: Warning (native-compiler): ~/.config/emacs/modules/cdlatex.el:1025:26: Wa= rning: the function =E2=80=98reftex-what-environment=E2=80=99 is not known = to be defined. Warning (native-compiler): python-el-fgallina-expansions.el:161:10: Warni= ng: the function =E2=80=98python-nav-end-of-block=E2=80=99 is not known to = be defined. Warning (native-compiler): python-el-fgallina-expansions.el:138:8: Warnin= g: the function =E2=80=98python-util-forward-comment=E2=80=99 is not known = to be defined. Warning (native-compiler): python-el-fgallina-expansions.el:94:4: Warning= : the function =E2=80=98python-nav-beginning-of-statement=E2=80=99 is not k= nown to be defined. Warning (native-compiler): python-el-fgallina-expansions.el:92:4: Warning= : the function =E2=80=98python-nav-end-of-statement=E2=80=99 is not known t= o be defined. Warning (native-compiler): python-el-fgallina-expansions.el:62:31: Warnin= g: the function =E2=80=98python-syntax-context=E2=80=99 is not known to be = defined. Warning (native-compiler): python-el-fgallina-expansions.el:39:39: Warnin= g: the function =E2=80=98python-indent=E2=80=99 is not known to be defined. Warning (native-compiler): python-el-fgallina-expansions.el:37:40: Warnin= g: the function =E2=80=98python-info-ppss-context=E2=80=99 is not known to = be defined. [That first warning (about cdlatex) is now fixed (I think) by upgrading to the cdlatex in Elpa, but the point is not the specific warnings, but the fact that they pop up at inopportune moments.] This behaviour is quite annoying and I wonder if it would not be better if the native compiler compiled everything when Emacs is started and reported all the errors/warnings then. I supoose that might increase Emacs startup time which for some users would be unacceptable, but maybe it could happen the first time Emacs is started and after updating packages and after changing configuration. In GNU Emacs 30.0.91 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-09-12 built on fedora Windowing system distributor 'The X.Org Foundation', version 11.0.12014000 System Description: Fedora Linux 39 (Xfce) Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_CA.utf8 value of $XMODIFIERS: @im=3Dnone locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: flyspell-mode: t recentf-mode: t erc-track-mode: t erc-ring-mode: t erc-notifications-mode: t erc-netsplit-mode: t erc-menu-mode: t erc-match-mode: t erc-list-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-autojoin-mode: t yas-global-mode: t yas-minor-mode: t savehist-mode: t save-place-mode: t erc-networks-mode: t electric-pair-mode: t display-time-mode: t display-battery-mode: t desktop-save-mode: t delete-selection-mode: t cua-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t abbrev-mode: t Load-path shadows: None found. Features: (shadow sort bbdb-message mail-extr emacsbug message puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils view solar cal-dst holidays holiday-loaddefs ol-bbdb org-duration cal-iso face-remap cdlatex reftex reftex-loaddefs reftex-vars emacs-news-mode mule-util yank-media oc-basic bibtex iso8601 org-habit display-fill-column-indicator display-line-numbers vc-git diff-mode track-changes easy-mmode vc-dispatcher flyspell ispell kmacro mines cookie1 gamegrid transpar expand-region text-mode-expansions the-org-mode-expansions python-el-fgallina-expansions er-basic-expansions expand-region-core expand-region-custom hydra advice lv compile text-property-search org-clock comp-run comp-common org-agenda org-element org-persist xdg org-id org-element-ast inline avl-tree generator org-refile org org-macro org-pcomplete org-list org-footnote org-faces org-entities noutline outline ob-shell shell ob-R ob-python python project ob-plantuml ob-org ob-gnuplot ob-ditaa ob-calc calc-store calc-trail calc-ext calc calc-loaddefs rect calc-macs ob-awk ob-dot ob-maxima ob ob-tangle org-src sh-script smie treesit executable ob-ref ob-lob ob-table ob-exp ob-comint ob-emacs-lisp ob-core ob-eval org-cycle org-table org-keys oc org-loaddefs thingatpt find-func ol org-fold org-fold-core org-compat org-version org-macs bbdb-anniv diary-lib diary-loaddefs cal-menu calendar cal-loaddefs bbdb-com crm mailabbrev bbdb bbdb-site timezone recentf tree-widget cus-edit pp ido erc-track erc-ring erc-desktop-notifications notifications erc-netsplit erc-menu erc-match erc-list erc-goodies erc-pcomplete time-date pcomplete comint ansi-osc ansi-color ring erc-button erc-fill erc-stamp wid-edit erc-join modus-vivendi-theme modus-themes yasnippet-classic-snippets cl-extra yasnippet help-mode savehist saveplace company pcase erc format-spec erc-backend erc-networks erc-common erc-compat compat erc-loaddefs elec-pair time battery dbus xml desktop frameset delsel cua-base cus-load ace-window-autoloads auctex-autoloads tex-site avy-autoloads bbdb-autoloads cdlatex-autoloads company-autoloads csv-mode-autoloads debbugs-autoloads ess-autoloads expand-region-autoloads geiser-autoloads info orderless-autoloads rx sql-indent-autoloads yasnippet-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-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 nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 1087810 298689) (symbols 48 33261 3) (strings 32 140337 19623) (string-bytes 1 4291611) (vectors 16 87466) (vector-slots 8 1784398 521241) (floats 8 651 2058) (intervals 56 8991 6851) (buffers 984 30))