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#63871: 29.0.91; JIT native comp triggered to compile loaddefs repeatedly on require Date: Sat, 03 Jun 2023 16:51:48 +0300 Message-ID: <83jzwk8xhn.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26929"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63871-done@debbugs.gnu.org To: Jimmy Yuen Ho Wong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 03 15:52:28 2023 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 1q5RgB-0006mo-E8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Jun 2023 15:52:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5Rfo-0000Ue-7C; Sat, 03 Jun 2023 09:52:04 -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 1q5Rfm-0000U2-9f for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 09:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5Rfl-0000rK-VG for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 09:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5Rfl-0003Bb-R8 for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 09:52:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Jun 2023 13:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 63871 X-GNU-PR-Package: emacs Mail-Followup-To: 63871@debbugs.gnu.org, eliz@gnu.org, wyuenho@gmail.com Original-Received: via spool by 63871-done@debbugs.gnu.org id=D63871.168580026412170 (code D ref 63871); Sat, 03 Jun 2023 13:52:01 +0000 Original-Received: (at 63871-done) by debbugs.gnu.org; 3 Jun 2023 13:51:04 +0000 Original-Received: from localhost ([127.0.0.1]:41912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5Req-0003AE-7c for submit@debbugs.gnu.org; Sat, 03 Jun 2023 09:51:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5Reo-00039h-Ep for 63871-done@debbugs.gnu.org; Sat, 03 Jun 2023 09:51:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5Rej-0000XH-7q; Sat, 03 Jun 2023 09:50:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=kkcPuh4GCYaNq3q4d2PhQWzgVunLiqPsWg3FIC/u2C8=; b=P1PhwyH2Gbzh 9xN22/ScRjtU9FDYyvTl+rIRhBQmUY0+kmAxJI1N83tT+3lf2LlQFZA/72+fPk/TfQx96r3Q1dC1b iynzutmo3WKNZNj084ECGYeOiuxLx+od+I1dY1QMUA6md4XZlG0NGuKu3qdBzZlX6zGN2q4rcY1g/ B3XPUPFvu3C/IBXkQiMDJ0IymUlJzwwiH/Yz8SVGDXQ6ndGLdc0+80b/2T5lxBua04lmUjgoY5Geg lzyMv5gun3QXmpe47rakZW3cDbESSvR21nILJ7fIo6IXC1SdGooOB0zRgyT8EKqAfC4v2QG/eYgW9 fduT1x1n8TeUdcLNWyr5eA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5Rei-0004qG-Ow; Sat, 03 Jun 2023 09:50:57 -0400 In-Reply-To: (message from Jimmy Yuen Ho Wong on Sat, 03 Jun 2023 14:22:41 +0100) 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:262841 Archived-At: > From: Jimmy Yuen Ho Wong > Date: Sat, 03 Jun 2023 14:22:41 +0100 > > > Reproduction: > > 1. emacs -q -nsl --eval="(require 'cl-lib)" > 2. C-x b TAB > 3. Select *Async-native-compile-log* > 4. The following is printed > > ```emacs-lisp > Compiling /opt/local/share/emacs/29.0.91/lisp/emacs-lisp/cl-loaddefs.el.gz... > uncompressing cl-loaddefs.el.gz... > uncompressing cl-loaddefs.el.gz...done > Compilation finished. > ``` > > Expectation: > > This behavior is observed when any packages in ~/.emacs.d/elpa/ > autoloads and require cl-lib, org or tramp as well. > > The simple act of requiring a built-in Emacs package should not trigger > a JIT native compilation on an Emacs installation built with > `--with-native-compilation=aot`. And it doesn't. cl-loaddefs has the "no-native-compile: t" thingy in the file-local variables, so the native-compilation does nothing. So I don't see any bug here, and I'm closing this bug.