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 12:12:47 -0400 Message-ID: References: <83sf9l5gcd.fsf@gnu.org> <800ca9ba-a7bf-afb7-9f5c-28b728c46114@gutov.dev> <83o7jxnc33.fsf@gnu.org> <83y1j1lavn.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="2768"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Dmitry Gutov , 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 20:07:41 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 1qP5On-0000WZ-2F for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Jul 2023 20:07:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qP3bt-0000j0-Uv; Thu, 27 Jul 2023 12:13:06 -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 1qP3bq-0000iL-D1 for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2023 12:13: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 1qP3bp-0004YQ-UC for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2023 12:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qP3bp-0000Hy-OG for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2023 12:13:01 -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 16:13:01 +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.16904743771098 (code B ref 64712); Thu, 27 Jul 2023 16:13:01 +0000 Original-Received: (at 64712) by debbugs.gnu.org; 27 Jul 2023 16:12:57 +0000 Original-Received: from localhost ([127.0.0.1]:42928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP3bl-0000Hd-9e for submit@debbugs.gnu.org; Thu, 27 Jul 2023 12:12:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP3bh-0000HN-AI for 64712@debbugs.gnu.org; Thu, 27 Jul 2023 12:12:56 -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 1qP3bc-0004X9-1A; Thu, 27 Jul 2023 12:12:48 -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=WaPvLY/1W6Q9PhvFVZO3S1NmOiWNKjYbXvoXfqoXsWk=; b=Y8puWM2q9EcERh2AABLR ED8pV9ppmvAawsHzPwmi6yMGXxPFsuUF+GGaDxgpJOeeWAR2FjIlBmYK+N1nwK9HRjFHxhQL2eQx8 ycfhy2eTVCpnc+OyOeIbl1DOKUVoaxf9wYfShj5pcD12+xXPxVl5v6hdGwdIcgSZKKdaIis6KNmA6 O0jbbdGYML2o74VvV0o6geFkMO7zfnlOzvg2fdzkpdq/PS8DHQxP9TawiUzHT6k+X1nR0wM2XD/0V UsDgSGRfg3mKhiGFRBzbTdbEcyoA1UP4Fqwh7rSRHKY2wkrRyUGuKt/8GrOdTmNs4fnkkGZRkPJ2F d/Zy4NAnn2oaYQ==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qP3bb-0003p0-QI; Thu, 27 Jul 2023 12:12:47 -0400 In-Reply-To: <83y1j1lavn.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 27 Jul 2023 16:52:44 +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:266215 Archived-At: Eli Zaretskii writes: >> Date: Thu, 27 Jul 2023 16:36:18 +0300 >> Cc: stephen.molitor@icloud.com, 64712@debbugs.gnu.org >> From: Dmitry Gutov >> >> I suppose another approach would be along the lines of creating, for >> every such file, an artefact in native-compile cache anyway, with >> contents which would load the original uncompiled file (I'm assuming >> this step won't require extracting the file?). >> >> Not sure if this is worth the hassle, though. > > It definitely isn't. The closest solution to what Dmitry suggested is to actually remove the cookie from the file so the eln is produced and we don't try to compile it anymore. It doesn't harm, again not the most elegant exit strategy but at least is for free :) Andrea