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#53497: 29.0.50; native-compile after restarting Emacs Date: Sat, 29 Jan 2022 12:02:19 +0200 Message-ID: <83pmoac11w.fsf@gnu.org> References: <86lez5zb7o.fsf@gnu.org> <83k0eohu0l.fsf@gnu.org> <86czkgm13p.fsf@gnu.org> <83fspchrgd.fsf@gnu.org> <86r18uwxfs.fsf@gnu.org> <83bkzyhbsc.fsf@gnu.org> <835yq5fp0h.fsf@gnu.org> <865yq5md9v.fsf@gnu.org> <83pmoddwzx.fsf@gnu.org> <86k0el5ek3.fsf@gnu.org> <83lez1dslv.fsf@gnu.org> <86o83w8b7y.fsf@gnu.org> <83v8y4cb04.fsf@gnu.org> <877dajesbb.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30142"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 53497@debbugs.gnu.org, arash@gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 29 11:03:10 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 1nDkZZ-0007fA-P7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Jan 2022 11:03:09 +0100 Original-Received: from localhost ([::1]:36400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDkZY-00007V-M0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Jan 2022 05:03:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDkZT-00007M-19 for bug-gnu-emacs@gnu.org; Sat, 29 Jan 2022 05:03:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDkZS-0004pP-IJ for bug-gnu-emacs@gnu.org; Sat, 29 Jan 2022 05:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nDkZS-0002lG-Bv for bug-gnu-emacs@gnu.org; Sat, 29 Jan 2022 05:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Jan 2022 10:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53497 X-GNU-PR-Package: emacs Original-Received: via spool by 53497-submit@debbugs.gnu.org id=B53497.164345055710578 (code B ref 53497); Sat, 29 Jan 2022 10:03:02 +0000 Original-Received: (at 53497) by debbugs.gnu.org; 29 Jan 2022 10:02:37 +0000 Original-Received: from localhost ([127.0.0.1]:32780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDkZ2-0002kX-Rr for submit@debbugs.gnu.org; Sat, 29 Jan 2022 05:02:37 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDkZ0-0002kH-GU for 53497@debbugs.gnu.org; Sat, 29 Jan 2022 05:02:35 -0500 Original-Received: from [2001:470:142:3::e] (port=49180 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDkYv-0004o6-6p; Sat, 29 Jan 2022 05:02:29 -0500 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=FsszLb3MLfW2b6g7WSTCtodcwSEgUeg81hkln/mzXIE=; b=EfyKLrJIB1h0 isiJnnqdiQ7yRq1jQZ+VM1u3Q8vFcipYzCUuMeEB+IveWxVWxZHJTU5N36xdF35xkh01xBh9VMu1S 0BjwroR0CSeUL7YCLEd2yzc83XhPUky/MjbOHzj+WT0Uq2g9FDTVqc08x1p6zoVAZiCiby2G/F2dk iKpiV675fhR0PlNKNZWLAeGaA5EdmFFIGcdZOIztgiSMcb+dCLr7VyWniHI6mcx0SAiRlZG5DsTg+ eT5dO9oHLNaF/756V9gVJrRy0qMLGdhU+/CkFnaPX5CsZTpDFOA7cfFspAkKNByGaaYAz0j7Q08yF l8NLKAK07XvBLMUS93X9Gw==; Original-Received: from [87.69.77.57] (port=2804 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 1nDkYu-00087h-MG; Sat, 29 Jan 2022 05:02:29 -0500 In-Reply-To: (message from Andrea Corallo on Sat, 29 Jan 2022 07:40:37 +0000) 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:225513 Archived-At: > From: Andrea Corallo > Cc: Eli Zaretskii , Arash Esbati , > 53497@debbugs.gnu.org > Date: Sat, 29 Jan 2022 07:40:37 +0000 > > >> I suspect this is related to the recent changes of where > >> `native-comp-eln-load-path' is set, maybe Lars can comment. > > > > That's certainly possible -- it's really difficult to trace the logic > > here in the startup code. > > Yeah our startup has a lot of hidden dependecies. > > > Does moving the setting earlier again fix the problem? > > If you refer to bf695b937e that's not sufficient, the test was done with > it installed. I haven't checked if bf695b937e has restored the state of > say one week ago (in terms of where we set native-comp-eln-load-path) or > not. > > But yeah the bottom line is that indeed we need to have > native-comp-eln-load-path set before we expect the native compiler > machinery to work. I don't think we can move the initialization of native-comp-eln-load-path to after the call to command-line, because Lisp packages can be loaded as early as while loading early-init.el. So we need to initialize native-comp-eln-load-path as soon as we have user-emacs-directory, and then amend the value after calling command-line. I installed a fix along these lines which seems to be working for me. Arash, please see if your problems are solved now.