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#64712: 29.0.92; Emacs 29 with native compilation compiles cl-loaddefs.el on every startup Date: Thu, 27 Jul 2023 19:25:36 +0300 Message-ID: <83o7jxl3sv.fsf@gnu.org> References: <83sf9l5gcd.fsf@gnu.org> <800ca9ba-a7bf-afb7-9f5c-28b728c46114@gutov.dev> <83o7jxnc33.fsf@gnu.org> <83y1j1lavn.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3051"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, stephen.molitor@icloud.com, 64712@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 27 19:36:47 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 1qP4un-0000Pc-Kk for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Jul 2023 19:36:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qP3nV-0003SW-MJ; Thu, 27 Jul 2023 12:25:05 -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 1qP3nT-0003S8-SE for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2023 12:25:03 -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 1qP3nR-00006p-UF for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2023 12:25:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qP3nR-0000dq-Pf for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2023 12:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jul 2023 16:25: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.16904750952450 (code B ref 64712); Thu, 27 Jul 2023 16:25:01 +0000 Original-Received: (at 64712) by debbugs.gnu.org; 27 Jul 2023 16:24:55 +0000 Original-Received: from localhost ([127.0.0.1]:42953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP3nL-0000dS-Be for submit@debbugs.gnu.org; Thu, 27 Jul 2023 12:24:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP3nI-0000dD-Qt for 64712@debbugs.gnu.org; Thu, 27 Jul 2023 12:24:54 -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 1qP3nD-000058-L6; Thu, 27 Jul 2023 12:24:47 -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=yBA8xzS21iYGV1B9nPpLgpFSO7/zb9Jmsw7/GmR6cUM=; b=HruygndYnh8j 1JHRkc+yDBtFJIuO7NT6lQsq6CdyTtIacUYwUiS/HtYfTvicD5zcZHL8Gsy8ZVLOhUVXxVWP2oUSJ DEFZ06YnBzRs1YJrkhh46Ub+dmpZM5bZ3AJLrbiQi/KQr1cfB5TiZpPwIdJAvqbqhEcIRcqS05Yi/ kPBKnf1rxDyfutKe9lEPyNrzTIDDopoAsxG+IEz0Dd1fSjIMw3tFpi5n0E1oTlA/R18vbijrtGEA8 NdG0LhwbLswsuL+2LQ4fJ8k9gmKjNLhRhS/c7itCQRqHrGOXrixRnYjySNWtTWod7rwqtiPl424Mr IG3SI90SzLuvXaNa90BFfA==; 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 1qP3nB-0004sd-Fs; Thu, 27 Jul 2023 12:24:47 -0400 In-Reply-To: (message from Andrea Corallo on Thu, 27 Jul 2023 12:12:47 -0400) 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:266211 Archived-At: > From: Andrea Corallo > Cc: Dmitry Gutov , stephen.molitor@icloud.com, > 64712@debbugs.gnu.org > Date: Thu, 27 Jul 2023 12:12:47 -0400 > > 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 :) If we ever do consider this worth "fixing", yes.