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 16:08:40 +0300 Message-ID: <83zgfbgwmf.fsf@gnu.org> References: <87bkrsr1g2.fsf@gnus.org> <875yi0qz5b.fsf@gnus.org> <83sfl4ihfo.fsf@gnu.org> <87mtbcp774.fsf@gnus.org> <83fsh3j4la.fsf@gnu.org> <87a67bnyfq.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31923"; 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 15:10:27 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 1oVup1-0008AV-8y for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Sep 2022 15:10:27 +0200 Original-Received: from localhost ([::1]:36452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVup0-0007zW-C9 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Sep 2022 09:10:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVuoc-0007xT-RL for bug-gnu-emacs@gnu.org; Wed, 07 Sep 2022 09:10:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37105) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVuoc-0002Ni-Gl for bug-gnu-emacs@gnu.org; Wed, 07 Sep 2022 09:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVuoc-0005Ot-CS for bug-gnu-emacs@gnu.org; Wed, 07 Sep 2022 09:10: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 13:10: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.166255614620677 (code B ref 57627); Wed, 07 Sep 2022 13:10:02 +0000 Original-Received: (at 57627) by debbugs.gnu.org; 7 Sep 2022 13:09:06 +0000 Original-Received: from localhost ([127.0.0.1]:54032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVuni-0005NR-Gr for submit@debbugs.gnu.org; Wed, 07 Sep 2022 09:09:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVune-0005Ms-Vd for 57627@debbugs.gnu.org; Wed, 07 Sep 2022 09:09:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56276) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVunZ-0002F8-DY; Wed, 07 Sep 2022 09:08:57 -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=+nrWX3ps9ntQOKFr9wY2CsuY+Ivweec3p0xQ4v68Cpg=; b=En9if/lv3JnX VK/DhURwRqNiRN9w+699+F4AeEHgF0n5+1dHIv9tSCu3oRvWBRCQpVsKVJ0VDb7fj/XjiRAiksCPg E5Df5f+U2e7XprQC7FJ2F/GoNKcl9kIehiktq88AzMMlo49LsatIJtnzhGeNKqc1YdNG14/SvWDFl 7svF58YEkRof52GDDt63RCGcRxUfgUg0xga2gIgWNCk3CpK8V7tIj3Gwlfe2ydDmuHWgxd4ZymUBt kPEjUouv0UYdtsSBx0fCY+p7ZozPd5gWmWD78BWvPHHCy1kYr8W3ritudjR+5dZj6RMwPxfJAjBMl 1w/8gTGTZtwa7iPk4PKuBQ==; Original-Received: from [87.69.77.57] (port=1917 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 1oVunY-0002eY-U4; Wed, 07 Sep 2022 09:08:57 -0400 In-Reply-To: <87a67bnyfq.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 07 Sep 2022 14:47:37 +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:241769 Archived-At: > From: Lars Ingebrigtsen > Cc: akrl@sdf.org, germanp82@hotmail.com, 57627@debbugs.gnu.org > Date: Wed, 07 Sep 2022 14:47:37 +0200 > > Eli Zaretskii writes: > > > 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. > > It's not what happens to me. Every time I start Emacs (not -Q), it > says: > > --- > Compiling /home/larsi/src/emacs/nativecomp/lisp/emacs-lisp/cl-loaddefs.el... > Compiling /home/larsi/src/emacs/nativecomp/lisp/net/tramp-loaddefs.el... > Compilation finished. > --- > > > Btw, is that a GUI session or a -nw session? > > GUI. Then maybe it's a different issue than what I see here. Since this is not a -Q session, I don't know what you load there. Suggest to start Emacs under GDB with a breakpoint in Fload, and see what are we loading that leads to those two. In general, if you let Emacs native-compile everything it loads at startup, the next startup it will not need to compile anything, since the *.eln files are already available. So if anything still tries to load and thus native-compile those *-loaddefs files should be the stuff you load itself, not the compilation infrastructure. OTOH, I don't see a problem in Emacs starting an async compilation that ends up not compiling anything. It runs in the background, so I don't think it interferes with anything?