From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#64712: 29.0.92; Emacs 29 with native compilation compiles cl-loaddefs.el on every startup Date: Thu, 27 Jul 2023 05:56:51 -0400 Message-ID: References: <83sf9l5gcd.fsf@gnu.org> <800ca9ba-a7bf-afb7-9f5c-28b728c46114@gutov.dev> <83o7jxnc33.fsf@gnu.org> <838rb1n279.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32656"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: dmitry@gutov.dev, stephen.molitor@icloud.com, 64712@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 27 12:18:04 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 1qOy4K-0008Fb-01 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Jul 2023 12:18:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOxky-00083p-Fs; Thu, 27 Jul 2023 05:58: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 1qOxkw-00081w-Ez for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2023 05:58:02 -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 1qOxkw-0004eG-7F for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2023 05:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qOxkw-0003x6-2a for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2023 05:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jul 2023 09:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64712 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 64712-submit@debbugs.gnu.org id=B64712.169045182915125 (code B ref 64712); Thu, 27 Jul 2023 09:58:02 +0000 Original-Received: (at 64712) by debbugs.gnu.org; 27 Jul 2023 09:57:09 +0000 Original-Received: from localhost ([127.0.0.1]:40776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOxk5-0003vt-Bk for submit@debbugs.gnu.org; Thu, 27 Jul 2023 05:57:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOxk2-0003vV-VK for 64712@debbugs.gnu.org; Thu, 27 Jul 2023 05:57:08 -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 1qOxjx-0004Wp-HQ; Thu, 27 Jul 2023 05:57:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=TKvRd8RRfK4tm8s58QKrrmvhKlSNeMW7l2OA/21MSac=; b=PMiw6G9j7QmpNUY4Q7dR ibezed+ar68Q5+mbrs6HVwJT1i715EiaMysrKBcozuu+M3ArIxBUDKgpV6CC5bJ04NS/Tzyn6cZWH Uoq9NOA8QsooJjz9JEDnxfQtdqcfObCQ/DGddkOCucViRVxKfkWfF74IerXv5hqCurviyqRbuKee+ 6W4HAbdZ7yyrM7JPjG9RObxAq/9ZrnideCXGBmXuQ3tEoJi1cP8xRACtwPzRDaRMnjU8RDVZWW0Du Wkhf5/9hSJRSv2gTgHskP8mz/kpT0Ebt9nCZwax7STPhuegFQFX2BUknTv03+3XQojj+BMRg05oi+ QSzU3fpYGxkDbQ==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qOxjn-0004Ll-J0; Thu, 27 Jul 2023 05:57:00 -0400 In-Reply-To: <838rb1n279.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 27 Jul 2023 12:17:14 +0300") 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:266182 Archived-At: Eli Zaretskii writes: >> From: Andrea Corallo >> Cc: Dmitry Gutov , stephen.molitor@icloud.com, >> 64712@debbugs.gnu.org >> Date: Thu, 27 Jul 2023 05:03:32 -0400 >> >> Eli Zaretskii writes: >> >> > What do you suggest we do instead? Emacs cannot know a file should >> > not be compiled without reading its contents first. >> >> If we add cl-loaddefs.el to `native-comp-jit-compilation-deny-list' we >> should just not even attempt compiling it. >> >> Dunno if it's considered an acceptable fix, in case I can push it so it >> can get tested. > > I'm not sure. This has a maintenance costs, since the specification > is separate from the affected file. If we ever decide to compile > cl-loaddefs, someone might be in for a ride... Yep totally agree, the only way I can think of in order to mitigate this would be adding a comment in cl-loaddefs.el close to the no-native-compile: t cookie. Andrea