From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: ct@pipapo.org (Christian =?UTF-8?Q?Th=C3=A4ter?=) Newsgroups: gmane.emacs.bugs Subject: bug#40969: 28.0.50; [feature/native-comp] unnecessary recompilation Date: Wed, 29 Apr 2020 20:32:26 +0200 Message-ID: <868siem9c5.fsf@pipapo.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="104571"; mail-complaints-to="usenet@ciao.gmane.io" To: 40969@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 29 21:12:48 2020 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 1jTs8W-000R7k-Hc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Apr 2020 21:12:48 +0200 Original-Received: from localhost ([::1]:42534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTs8V-0002O7-Jp for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Apr 2020 15:12:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41796) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTs5h-0006z9-Gr for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2020 15:09:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTs4s-000449-HZ for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2020 15:09:53 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33065) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTs4s-000444-5e for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2020 15:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jTs4r-0004LI-Vx for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2020 15:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ct@pipapo.org (Christian =?UTF-8?Q?Th=C3=A4ter?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Apr 2020 19:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40969 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.158818734016677 (code B ref -1); Wed, 29 Apr 2020 19:09:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Apr 2020 19:09:00 +0000 Original-Received: from localhost ([127.0.0.1]:44609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTs4p-0004Kp-VT for submit@debbugs.gnu.org; Wed, 29 Apr 2020 15:09:00 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:52884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTrVo-0003RV-Vk for submit@debbugs.gnu.org; Wed, 29 Apr 2020 14:32:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36866) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTrVo-0006ME-FI for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2020 14:32:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTrVn-0006g9-JA for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2020 14:32:48 -0400 Original-Received: from mail.pipapo.org ([78.47.240.153]:59234) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jTrVn-0006fi-1q for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2020 14:32:47 -0400 Original-Received: from hermes.pipapo.org (imap.pipapo.org [10.10.40.10]) by mail.pipapo.org (Postfix) with ESMTPS id 3AF8B5DC2F for ; Wed, 29 Apr 2020 18:32:41 +0000 (UTC) Original-Received: from wolke (wolke.pipapo.org [10.100.20.10]) by hermes.pipapo.org (Postfix) with ESMTPS id BA66A9E001DE for ; Wed, 29 Apr 2020 18:32:40 +0000 (UTC) Received-SPF: none client-ip=78.47.240.153; envelope-from=ct@pipapo.org; helo=mail.pipapo.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/29 14:32:43 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Mailman-Approved-At: Wed, 29 Apr 2020 15:08:58 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 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:179348 Archived-At: I notice that when I 'org-reload' C-c C-x ! then the whole compilation starts again even when its already compiled. Somewhere it misses that. I didn't investigate this any further. Maybe its intended behavior because org-mode forces to byte-compile itself. Might be smarter to store a hash over the source .el or .elc in the .eln metadata and prevent recompilation when it was already compiled. In fact all .eln could be addressed by these hashes with some directory restructuring (I dont go into detail here, this would be another feature). In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0) of 2020-04-26 built on wolke Repository revision: e6fb440ed7e48c2e8c4bba4666db2f0ff9950a25 Repository branch: native-comp Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Configured using: 'configure --with-nativecomp --with-cairo --enable-link-time-optimization --with-xwidgets' Configured features: XPM JPEG TIFF GIF PNG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS PDUMPER GMP Important settings: value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix