From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#53675: lisp/startup.el; startup--require-comp-safely async compile breaks if comp is required in init Date: Tue, 01 Feb 2022 11:01:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25690"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 53675@debbugs.gnu.org To: Tom Gillespie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 01 12:05:33 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 1nEqyb-0006Xa-0k for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Feb 2022 12:05:33 +0100 Original-Received: from localhost ([::1]:49350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEqya-0005qZ-1H for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Feb 2022 06:05:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEqvI-0001vU-6s for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2022 06:02:10 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48912) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEqvB-0001ql-SD for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2022 06:02:07 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nEqvB-0002Id-Ra for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2022 06:02:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Feb 2022 11:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53675 X-GNU-PR-Package: emacs Original-Received: via spool by 53675-submit@debbugs.gnu.org id=B53675.16437132808784 (code B ref 53675); Tue, 01 Feb 2022 11:02:01 +0000 Original-Received: (at 53675) by debbugs.gnu.org; 1 Feb 2022 11:01:20 +0000 Original-Received: from localhost ([127.0.0.1]:41815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEquV-0002Hc-O9 for submit@debbugs.gnu.org; Tue, 01 Feb 2022 06:01:19 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:64678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEquU-0002HS-Hl for 53675@debbugs.gnu.org; Tue, 01 Feb 2022 06:01:19 -0500 Original-Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 211B1FIp001783 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 1 Feb 2022 11:01:15 GMT In-Reply-To: (Tom Gillespie's message of "Mon, 31 Jan 2022 20:13:22 -0800") 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:225744 Archived-At: Tom Gillespie writes: > async compilation no longer runs on startup if comp > is required during loading of user init files > > The issue is from 536a57b72ce11b1bb8d1b34b339424fea6ccbcce > Fix potential native compiler circular dependencies during load > > If for whatever reason during the loading of a user init file > the feature 'comp is loaded (e.g. because they have a call to > (use-package queue) in init.el), then startup will not honor > delayed native compilations. Known causes are cases where > (require 'comp) is called directly in an init file, or where > any comp autoload is reached e.g. if a builtin such as > macroexpand is advised during init re: bug#47049. Hi Tom, thanks for reporting and debugging this issue. a92c6191b0 should fix this, could ou please have a try? Thanks Andrea