From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#64712: 29.0.92; Emacs 29 with native compilation compiles cl-loaddefs.el on every startup Date: Sat, 2 Sep 2023 14:50:08 -0700 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; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36622"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitry Gutov , stephen.molitor@icloud.com, 64712@debbugs.gnu.org To: Andrea Corallo , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 02 23:51:07 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 1qcYWJ-0009Nl-50 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Sep 2023 23:51:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcYW6-0003Eh-8f; Sat, 02 Sep 2023 17:50:54 -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 1qcYW4-0003EP-MJ for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 17:50:52 -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 1qcYW4-00041g-Dm for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 17:50:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qcYWD-0003PD-W5 for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 17:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Sep 2023 21:51: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.169369142913049 (code B ref 64712); Sat, 02 Sep 2023 21:51:01 +0000 Original-Received: (at 64712) by debbugs.gnu.org; 2 Sep 2023 21:50:29 +0000 Original-Received: from localhost ([127.0.0.1]:38805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcYVg-0003OO-QN for submit@debbugs.gnu.org; Sat, 02 Sep 2023 17:50:29 -0400 Original-Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:54286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcYVc-0003O9-Pm for 64712@debbugs.gnu.org; Sat, 02 Sep 2023 17:50:27 -0400 Original-Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-5009d4a4897so488858e87.0 for <64712@debbugs.gnu.org>; Sat, 02 Sep 2023 14:50:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693691409; x=1694296209; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=NJcyg9bRbW5g/nbQZo+4Ba6EXmbEMt6GKCc1glV4RjI=; b=L1f4VeBxtWAn/EuokvYa60HvbP8AL8yvfS2Aj+k1byAzlM41HF7F2U8uuGmANBD0HC qY8O3osmPE/UXU6Ut7za4te6lp3knloIvMyViqmehZhnlHNLRaqu1m83rxNrJC/QBDNB khlBxA6VigM6hvoznICjmoIWO1KIsSrdZ/u5eSOyZUcIrjPqNqCmGw1IYwjuj5nrbVcF ++hRnjOBDoHqc1MVIEWEd1DkSgn9Zq16BRGj0vXnfYrljYqxnsnOW6PtFOKpanQjrFlV FjpJa3sIFYDDDJcvAnGw2+WWGXk7WFCReoob0968kDGzDTM/UvIey5Pd8dM+U36fIlad fOjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693691409; x=1694296209; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NJcyg9bRbW5g/nbQZo+4Ba6EXmbEMt6GKCc1glV4RjI=; b=iHvfNkqzWPzvpx3EqswFVlJR2RtFUaVhCYlSTHfRvhB23ogbkN8apgPi+sOVOCVuSO LWYFxjll24e7eK3QOxTcUaDmBO6IF0MI5qIznC+Qz1kP7l79jByqAROZ5png2H8g0ZXD 5JRyY/Sp3G8Pmql52iJj0r26Bo18A1vZNp3y6O+88zjki/lNT3PPSb8ZUECV+xqAJd7A n1xgtmORBb1JQms0AmU3d6YtjdLdLrvIFWnhY+ZsatHl8JjFj2s4r9GartiNl1PG3Edt OCob173gFvHJy2L07Ue/EqqygIlRkd0QXUJbYpyhDh2HK6a8s/VZIj6uiVD32SHhFTGv jpdw== X-Gm-Message-State: AOJu0YwmvfvUr5HitXVa0azthOoeEJg4UEE56/i8Igx7qtmdLj07fm/y k1T9zXw22+6+MTdIiP/SeeFxwqK/ZbuIx+lDyPXiatoWmvA= X-Google-Smtp-Source: AGHT+IHPM2iOgeVlvz+L5AuTZ4P8LspeJ8GtHuEr4JHl7NP26K19/nXXqHKaXZ9pp30ujP3Z7uOP2j50kH+aga1iPCE= X-Received: by 2002:ac2:4e93:0:b0:500:af82:7dd9 with SMTP id o19-20020ac24e93000000b00500af827dd9mr3390216lfr.62.1693691408673; Sat, 02 Sep 2023 14:50:08 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 2 Sep 2023 14:50:08 -0700 In-Reply-To: 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:269054 Archived-At: Andrea Corallo writes: > 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 :) What was the reason that those cookies were added in the first place? I see that they were added in commit 6c11214dc112, but it doesn't explain why. I personally can't see that it would make much of a difference if we have them or not, but maybe I'm missing something.