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#57627: 29.0.50; [native-compilation] cl-loaddefs.el recompiled on startup Date: Wed, 07 Sep 2022 05:33:37 +0300 Message-ID: <83fsh3j4la.fsf@gnu.org> References: <87bkrsr1g2.fsf@gnus.org> <875yi0qz5b.fsf@gnus.org> <83sfl4ihfo.fsf@gnu.org> <87mtbcp774.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10047"; mail-complaints-to="usenet@ciao.gmane.io" Cc: germanp82@hotmail.com, 57627@debbugs.gnu.org, akrl@sdf.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 07 04:35:22 2022 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 1oVkuO-0002OQ-H8 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Sep 2022 04:35:20 +0200 Original-Received: from localhost ([::1]:38122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVkuN-00030n-2t for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Sep 2022 22:35:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVku7-0002zA-MX for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2022 22:35:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36103) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVku7-0007KL-2s for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2022 22:35:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVku6-0007VR-FY for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2022 22:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Sep 2022 02:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57627 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57627-submit@debbugs.gnu.org id=B57627.166251804528775 (code B ref 57627); Wed, 07 Sep 2022 02:35:02 +0000 Original-Received: (at 57627) by debbugs.gnu.org; 7 Sep 2022 02:34:05 +0000 Original-Received: from localhost ([127.0.0.1]:53033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVktA-0007U3-T5 for submit@debbugs.gnu.org; Tue, 06 Sep 2022 22:34:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVkt6-0007TV-PM for 57627@debbugs.gnu.org; Tue, 06 Sep 2022 22:34:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59272) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVkt0-0007Gm-VW; Tue, 06 Sep 2022 22:33:54 -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=kAv2jzVb2jH/vs0cq0Ci3LrLP+JjlN7alUcS2abnwT4=; b=brcmCBiHiwgy WVKMoGTa8RsiGbumC4v6KpPUrlyNpV8e5h2wToznROqguc0IHEyDGz6tl4DGVHNOLQvhTzj+beYH2 6216IoDrrlCgMXNGWGiLk8OYB+/q2xww192d4IqLhkNx9/ySNPnciTNQqz4SuYIe5vDWP6oks8/xa 3xFlQ92IHeXu5TevPivCp/PqqTa0TmeQFPiG/nTd2d/rmiNqjluWM+/XMYx86aA1iJ5AzuBo27WYw GaaEEEipPgHXIM+qfNs6Hw/kHwy8YUyyZ2TxF4DvYES8KtkwzI73em074sRBSTaX2KZFQcAkRkgbH vC4C5q1Cmd1/kDzCF4yaCw==; Original-Received: from [87.69.77.57] (port=3029 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 1oVkt0-0002NH-F2; Tue, 06 Sep 2022 22:33:54 -0400 In-Reply-To: <87mtbcp774.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 06 Sep 2022 22:40:47 +0200) 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" Xref: news.gmane.io gmane.emacs.bugs:241714 Archived-At: > From: Lars Ingebrigtsen > Cc: Eli Zaretskii , germanp82@hotmail.com, > 57627@debbugs.gnu.org > Date: Tue, 06 Sep 2022 22:40:47 +0200 > > And... since the .eln file is never written, it'll fork these Emacsen > every time you start Emacs? That seems to be the case -- I get > > Compiling /home/larsi/src/emacs/nativecomp/lisp/emacs-lisp/cl-loaddefs.el... > > in the async buffer on every Emacs restart. If you let it finish, i.e. wait until list-processes shows an empty buffer, it won't start these compilations in the next invocations. At least that's what happens to me. Btw, is that a GUI session or a -nw session? I see this in a -nw session, which I can explain: we load the terminal-specific file from lisp/term/, and that requires compilation, so we load comp.el to start compilation, and that then loads all the dependencies of comp.el and compiles them, which of course includes cl-lib, cl-macs, cl-loaddefs, etc. In a GUI session I don't expect all this to happen, so if it does, we should investigate why we load something at startup in that case.