From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=C3=93scar?= Fuentes Newsgroups: gmane.emacs.bugs Subject: bug#45858: 28.0.50; [native-comp] compilation very slow Date: Thu, 14 Jan 2021 13:24:56 +0100 Message-ID: <871reniu3r.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38569"; mail-complaints-to="usenet@ciao.gmane.io" To: 45858@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 14 13:26:11 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 1l01hb-0009uw-EO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jan 2021 13:26:11 +0100 Original-Received: from localhost ([::1]:43486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l01ha-0004uw-G5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jan 2021 07:26:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l01hS-0004uH-KL for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2021 07:26:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54100) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l01hS-00082H-Cd for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2021 07:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l01hS-00088p-6x for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2021 07:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jan 2021 12:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45858 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.161062711831224 (code B ref -1); Thu, 14 Jan 2021 12:26:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Jan 2021 12:25:18 +0000 Original-Received: from localhost ([127.0.0.1]:37410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l01gj-00087X-DI for submit@debbugs.gnu.org; Thu, 14 Jan 2021 07:25:17 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:37594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l01gg-00087N-Rx for submit@debbugs.gnu.org; Thu, 14 Jan 2021 07:25:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l01gc-0004mt-7P for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2021 07:25:11 -0500 Original-Received: from relayout02.e.movistar.es ([86.109.101.202]:18271 helo=relayout02-redir.e.movistar.es) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l01gW-0007PG-MX for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2021 07:25:09 -0500 Original-Received: from sky (211.red-79-146-31.dynamicip.rima-tde.net [79.146.31.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout02.e.movistar.es (Postfix) with ESMTPSA id 4DGk610JbhzdbM6 for ; Thu, 14 Jan 2021 13:24:56 +0100 (CET) X-TnetOut-Country: IP: 79.146.31.211 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout02 X-TnetOut-MsgID: 4DGk610JbhzdbM6.A3DBF X-TnetOut-SpamCheck: no es spam, clean X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1611231897.43312@N4V0uCY0n+eHvLzflJp9mQ Received-SPF: softfail client-ip=86.109.101.202; envelope-from=ofv@wanadoo.es; helo=relayout02-redir.e.movistar.es X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no 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" Xref: news.gmane.io gmane.emacs.bugs:197944 Archived-At: After starting a new instance of Emacs with an empty eln-cache, producing .eln files takes a long time. Any typical file takes more than five minutes, with some files (like lsp-protocol.el, right now) approaching two hours. Memory consumption is reasonable (155 MB for the process that is compiling lsp-protocol.el, about 60 MB for a typical compilation process). Right now, after 9 hours, there are 272 .eln files in the cache. The machine is a high-end desktop from 2015 and has dozens of GB of free memory and remains perfectly responsible, this is not the problem about excessive memory use that was reported previously. There is no other significant CPU activity. There are no nativecomp-related customizations on my config. In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0) of 2021-01-13 built on sky Repository revision: 79b9a262ffab37296a39c2d69cdabae153db10a7 Repository branch: feature/native-comp Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 System Description: Debian GNU/Linux bullseye/sid Configured using: 'configure --without-toolkit-scroll-bars --with-x-toolkit=lucid --with-modules --without-imagemagick --with-nativecomp' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ LIBOTF ZLIB LUCID X11 XDBE XIM MODULES NATIVE_COMP THREADS JSON PDUMPER Important settings: value of $LANG: C locale-coding-system: nil Major mode: Group Minor modes in effect: cursor-sensor-mode: t gnus-undo-mode: t dap-tooltip-mode: t dap-ui-many-windows-mode: t dap-ui-controls-mode: t dap-ui-mode: t treemacs-filewatch-mode: t treemacs-follow-mode: t treemacs-git-mode: deferred treemacs-fringe-indicator-mode: t dap-auto-configure-mode: t dap-mode: t window-highlight-mode: t global-git-commit-mode: t evil-owl-mode: t buffer-flip-mode: t evil-leader-mode: t shell-dirtrack-mode: t evil-mode: t evil-local-mode: t pdf-occur-global-minor-mode: t TeX-PDF-mode: t show-paren-mode: t ido-grid-mode: t flx-ido-mode: t ido-hacks-mode: t ido-everywhere: t which-key-mode: t global-anzu-mode: t anzu-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t Load-path shadows: /home/oscar/elisp/singles/avy hides /home/oscar/.emacs.d/elpa/avy-20201226.1734/avy /home/oscar/elisp/singles/s hides /home/oscar/.emacs.d/elpa/s-20180406.808/s /home/oscar/elisp/singles/dash hides /home/oscar/.emacs.d/elpa/dash-20210111.1247/dash Features: (shadow emacsbug flow-fill mm-archive cl-print help-fns radix-tree misearch multi-isearch ol-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt speedbar ezimage dframe ol-docview doc-view ol-bibtex bibtex ol-bbdb ol-w3m qp sort smiley gnus-cite mail-extr gnus-async gnus-bcklg gnus-ml cursor-sensor pop3 nndraft nnmh nnml nnfolder gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache gnus-sum shr kinsoku svg gnus-group gnus-undo smtpmail sendmail gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win gnus nnheader lsp-diagnostics company-oddmuse company-keywords company-etags etags fileloop company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company lsp-headerline lsp-icons lsp-modeline dap-mouse dap-ui gdb-mi gud bui bui-list bui-info bui-entry bui-core bui-history bui-button bui-utils lsp-ui lsp-ui-flycheck lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui-peek lsp-ui-sideline flycheck view pkg-info url-http url-auth url-gw epl lsp-steep lsp-svelte lsp-sqls lsp-yaml lsp-xml lsp-vimscript lsp-vhdl lsp-vetur lsp-html lsp-verilog lsp-vala lsp-terraform lsp-tex lsp-sorbet lsp-solargraph lsp-rust lsp-rf lsp-r lsp-purescript lsp-pyls lsp-pwsh lsp-php lsp-perl lsp-ocaml lsp-nix lsp-nim lsp-lua lsp-kotlin lsp-json lsp-javascript lsp-haxe lsp-groovy lsp-hack lsp-go lsp-completion lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-elixir lsp-elm lsp-dockerfile lsp-dhall lsp-css lsp-csharp gnutls lsp-crystal lsp-cmake lsp-clojure lsp-clangd dom lsp-bash lsp-angular lsp-ada lsp-dart lsp-dart-commands lsp-dart-flutter-widget-guide lsp-dart-flutter-fringe-colors lsp-dart-flutter-colors lsp-dart-outline lsp-dart-code-lens lsp-lens lsp-dart-test-tree lsp-treemacs lsp-treemacs-themes treemacs treemacs-header-line treemacs-compatibility treemacs-mode treemacs-bookmarks treemacs-interface treemacs-extensions treemacs-mouse-interface treemacs-tags treemacs-persistence treemacs-filewatch-mode treemacs-follow-mode treemacs-rendering treemacs-async treemacs-workspaces treemacs-dom treemacs-visuals treemacs-fringe-indicator treemacs-scope pulse treemacs-faces treemacs-icons treemacs-themes treemacs-core-utils pfuture hl-line treemacs-logging treemacs-customization treemacs-macros lsp-dart-test-output lsp-dart-test-support lsp-dart-dap lsp-dart-devtools lsp-dart-flutter-daemon dap-utils dap-mode dap-launch posframe dap-overlays lsp-dart-closing-labels lsp-dart-utils lsp-dart-protocol lsp-mode lsp-protocol xref project spinner network-stream nsm markdown-mode lv inline ht f ewoc dash-functional bindat elec-pair dart-mode window-highlight color face-remap nord-theme lp0-mode aggressive-indent lisp-mnt deft org-noter org-element avl-tree generator org-protocol org-capture org-refile org-crypt orgit org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs magit-bookmark magit-imenu git-rebase magit-extras magit-gitignore magit-ediff ediff magit-subtree magit-patch magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode diff magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process magit-mode git-commit recentf tree-widget transient magit-git magit-section benchmark magit-utils which-func vc-git with-editor term ehelp eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util evil-owl buffer-flip key-chord evil-leader evil-paredit evil-anzu evil evil-keybindings evil-integration evil-maps evil-commands ffap reveal flyspell ispell evil-jumps evil-command-window evil-types evil-search evil-ex shell pcomplete evil-macros evil-repeat evil-states evil-core evil-common windmove rect evil-digraphs evil-vars wgrep grep ag vc-svn find-dired s dash pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local find-func cedet pdf-isearch let-alist pdf-misc imenu pdf-tools cus-edit cus-start cus-load pdf-view bookmark jka-compr pdf-cache pdf-info tq pdf-util format-spec image-mode exif preview reporter desktop frameset tex-buf latex latex-flymake flymake-proc flymake compile comint ansi-color tex-ispell tex-style tex dbus xml crm texmathp paren cmake-mode paredit-menu paredit server yasnippet psvn wid-edit log-edit message rmc puny rfc822 mml mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log diff-mode pp elp ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util dired dired-loaddefs display-fill-column-indicator ido-grid-mode flx-ido flx ido-hacks ido goto-chg edmacro kmacro avy ring ws-butler which-key diminish cl iscroll anzu easy-mmode thingatpt solar cal-dst cal-menu calendar cal-loaddefs finder-inf advice disp-table 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 derived comp-cstr warnings subr-x rx cl-seq cl-macs cl-extra help-mode easymenu 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/x-win x-win term/common-win x-dnd 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 timer select scroll-bar mouse jit-lock font-lock syntax facemenu 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 pcase 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 x-toolkit x multi-tty make-network-process nativecomp emacs) Memory information: ((conses 16 1700382 1332106) (symbols 48 66229 3) (strings 32 245718 141658) (string-bytes 1 8290552) (vectors 16 251783) (vector-slots 8 6718813 929848) (floats 8 1600 1786) (intervals 56 4199 1262) (buffers 984 33))