From unknown Tue Sep 09 22:29:02 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#64494 <64494@debbugs.gnu.org> To: bug#64494 <64494@debbugs.gnu.org> Subject: Status: 30.0.50; Recursive load error with native-compile Reply-To: bug#64494 <64494@debbugs.gnu.org> Date: Wed, 10 Sep 2025 05:29:02 +0000 retitle 64494 30.0.50; Recursive load error with native-compile reassign 64494 emacs submitter 64494 German Pacenza severity 64494 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 06 07:50:31 2023 Received: (at submit) by debbugs.gnu.org; 6 Jul 2023 11:50:31 +0000 Received: from localhost ([127.0.0.1]:40221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHNVG-0005dA-TM for submit@debbugs.gnu.org; Thu, 06 Jul 2023 07:50:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:46254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHNVF-0005d2-Dy for submit@debbugs.gnu.org; Thu, 06 Jul 2023 07:50:30 -0400 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 1qHNVF-0000yG-1b for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2023 07:50:29 -0400 Received: from mail-co1nam11olkn2082c.outbound.protection.outlook.com ([2a01:111:f400:7eab::82c] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHNVB-0000ab-EQ for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2023 07:50:28 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bjieFugXlhA+ZeoqpyCQcrg8op0XjMjeMZ3nOFnksAAsj7VZj91WrkWdA6nBNs+3iy3wi+2IXlkfIsSeA1h0TCY3HxZrhDo2qQRY2P7dE9iT0CydDk1+elUSi2Y29FxeAyRkZqXy3p2+vueTtFLGdbPbrIAaA5yCLl6C1lxwJPmr9GseGWT9//XWSS++umVpT2MLEok1+aUXruSFJZhaYzVqIhJS9f8YC5/2KTgWrY8IU0CUEGYf/YFGN+v7ltyK0t/1CYJ6a2MYvLkTCGPnO8XiKFPT1yXyeiQ63KXt5ar7YBI9eDo/V3XT7JU/Vp1vpzAcu8MNJHVY4x2yJ3SZ2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=cRuyI9f6R6cmYb8BMHaMkmFw4Ub0SCSIE847qz1C8FE=; b=llhfubofR63Ic4/8MSovzFVWkuKLxAvBtBnthmRH/DIrvcWtOQAuLtWvxaGmRn/0ON/pODsogkur5rwukJDo6WO5zdG+JkL6byDiso4qmCV2dksgR2ZIPDlliJS6vjYepRdKQdLU7Y453C0WUOKVzz88tY2J4o92fHBXkEHgC2QC3tAKMPH1H5GHEoMGqsib/zP+DU4MZLh0GJJC7JrzWUAuU/gFyUox6jGjmvS+Dg2JuIoZPdJhSMe0kHRH2wIhGnhuU2zkeXsoVHc4vBSbc8hsU/Fsn0vP47BtXypJR5xL2Rzgx0ZSBLFvpa+5S4J0J2PYkWdnlQUZm3Bz36vHVQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cRuyI9f6R6cmYb8BMHaMkmFw4Ub0SCSIE847qz1C8FE=; b=aKzYKgKacShfL3VgRzi+kAysra0PGx58wFzMic0jYXBLTgzr9wsZduoVcHv3an4vT+J0jmL+ZcdzaN96sK5mF5Fq9k5ohyYNcnAD8b8z6Dr/SrSQcdWlpfqEuEP98m0bE4bW5hjL+mPMHcDvhL5agKVpBmCJvvEzkbg9p07C0jDXGtwMWnCzOIP7fkdZhoUyCOD4EumJG0Q5402BgEPwloLOh+7G+9h/BzaOc/FAKYmBie/MW5CgYTDYIGWhUyDOX5SG3xm9yNtkkjoj4tyn7uGAJ4gxSjNkaEZzqyZDGpAI4no7ujnDP65Ny79k5MBDIcqVIHUjydmTuR+F6nk3Wg== Received: from DM5PR2201MB1161.namprd22.prod.outlook.com (2603:10b6:4:2f::19) by SA1PR22MB2977.namprd22.prod.outlook.com (2603:10b6:806:231::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6544.19; Thu, 6 Jul 2023 11:45:17 +0000 Received: from DM5PR2201MB1161.namprd22.prod.outlook.com ([fe80::a6f0:30e5:244f:8a0d]) by DM5PR2201MB1161.namprd22.prod.outlook.com ([fe80::a6f0:30e5:244f:8a0d%6]) with mapi id 15.20.6565.016; Thu, 6 Jul 2023 11:45:17 +0000 From: German Pacenza To: bug-gnu-emacs@gnu.org Subject: 30.0.50; Recursive load error with native-compile Date: Thu, 06 Jul 2023 08:45:10 -0300 Message-ID: Content-Type: text/plain X-TMN: [J4MSDl9LbeZ+N/SwlhuUwfUUk1WskY22] X-ClientProxiedBy: CP6P284CA0033.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:1ac::17) To DM5PR2201MB1161.namprd22.prod.outlook.com (2603:10b6:4:2f::19) X-Microsoft-Original-Message-ID: <87mt09i7qx.fsf@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR2201MB1161:EE_|SA1PR22MB2977:EE_ X-MS-Office365-Filtering-Correlation-Id: 6e3a65ab-fafa-4589-ce07-08db7e1677d6 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TJKVjIiT1V0dJFTrraox49WqNpXY94Px6X9cQFCg41iFl22wA6ttoNLHPu6xM7s96xGYxQFmOhIzp30dywYxslNV1zRBBY/LsxucW3S4eDQF8R0KG8jbHrciShgMwrKj1L+QDfFpid48ppxqaO4Ip4FrywloBkT2rZCgCED6BhUFH7IQeRRWc0zISEf3dp624BCayjJXLSgIyBcgUVluGzK8tm+2zPps2oH6Yo8XP9ue8rGfwT4pbToXFYuHZ6EOVWNofmTIPykUF6KLwFO83+W6Jahis/nbKraTTeFFcl4DTlnzs1ofeGKK4HFa/cBQQ3U7Jps1hQenFZMNyZmLUfTfRfN4DQ7yOzxMRmQ26jY5qRKTuyf6laytk1jRN0svsdPtTJTMswbjVQre2sqVo5E0aUxKFswz3SsVnXfcAE9yXqXwpQf41LNV92ctCI16QHzeA/naNNo65LK9vkM2Tfomv7oLIzyKIegLwyoU0TGXS7tleXQwlXKJVtM7wx7/EpxR0b2dLNsUzTlzK2UAES1v4L7kY8YUrp9OCyRlxiXs9Qu81/fF8+4eH0Zyjj5j X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?5B87o9PF1Y6sX8Dd0Id3IpLcGs7PV7uqpzeFKA7YOae+thyUrBjJCmSd9SO4?= =?us-ascii?Q?wu7t8VUVWeykNKv8HA017tV0g8agbpDUzyHw1L8VVlBrclOCe015jc/hLYIg?= =?us-ascii?Q?kM0vEg7Ey2pQCoCNVHs0A0KlV3n2zhLGRLThEiJk8CfaCEjAdtVJHjh2GhD2?= =?us-ascii?Q?M3w0mRPCIHxLlXZH1BkTfdc2ueYI3lU+0u+LewiYr2w7qJ71kRVQb/dJ+xq0?= =?us-ascii?Q?xO0TuwA2Dy/HyCiNcNtzoc+d4M3m5qfmavygk2Y/3SeYPt5KRLjkSmLZ8ERR?= =?us-ascii?Q?ix3xw5j4k2/hP2Pu3zvhUOBDVfQHAC/huaH5tkPMkqvno18Eeack+Qj9aaqv?= =?us-ascii?Q?7FW4YISJCnztvyHBdXzAiMuEHFG4WyUUfZ0TmlxceCMScV5uen4VO0HdyMM8?= =?us-ascii?Q?B9zXafpXIyyk4fhgFQTbBX8r/SEBNENy4hqkZxr3x5kZeyqyF6STv9q34kgR?= =?us-ascii?Q?7Yv4RZDVVutHoZlBV3c5HYAEJ7tP0TZR3QbYkH96UyNYbxYvLqKXpqf1AA5Y?= =?us-ascii?Q?NxfznX2Xjjuvv/z95SVxlUmliCGwpmvqIButQzUgOGQcPM5JX1D9F5/TaLQh?= =?us-ascii?Q?wMp14TyBcklJ9I3Ru+hUMmE8b9YNvO95rp5kCQ2ipJqeSeG9FVVQ4SqeII8F?= =?us-ascii?Q?XFoM0U2E1AX060h7psnLZWAX4PDF8Rx/ns67NsvP8WDGAMTay4KU6J372WXe?= =?us-ascii?Q?Vi5H8wfg+XzY4pul+S5mkjFLaldu2mcJd6qHGlnUi4Q/sndATfPVrS03fOS/?= =?us-ascii?Q?zS+Gc67Nc4o6nw0gxvOl4ZJOmm55aa+ypNxoHC7D55zg14PLrmODqSSQcS6f?= =?us-ascii?Q?H9mBY+iet2Tp+hyaUelxQhK0R3NqyouSQ9lXgmnQPvxOlUDrZKRSkGCQQ3ja?= =?us-ascii?Q?tCoODTKdw5kshes72pTgHpXK4Kuw1mN57aDAqYHIhB4fZ6330Y9+Gf+dQ0gG?= =?us-ascii?Q?96bkm37vMyD7VEkxVE6OlGtO9lFyVELnmNG6IfU1Z90g8wBrRyKe6jJQC9UZ?= =?us-ascii?Q?9pdYLnAl+r3Sq8QnqqJ8gTADiZ/1AXFGw1ikNYW8BcMQwSM7uF0NWDOvyUke?= =?us-ascii?Q?dlLmUxTJaZjhSJOQHLQaXqAbz4PEr+s0hnFGzHs7+9OLnlKPBS944cZLzZ4q?= =?us-ascii?Q?Gs2jg0tX1xPdpkHcKqvnVTv4oFeCucMKnfnRB1I/BDqs96+HHd55VjKbh6Lo?= =?us-ascii?Q?gCyvOEF4ycjnV0x5mPB5rVPIdGgS9UyXZvbLzQ=3D=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-c3c87.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 6e3a65ab-fafa-4589-ce07-08db7e1677d6 X-MS-Exchange-CrossTenant-AuthSource: DM5PR2201MB1161.namprd22.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2023 11:45:17.4449 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR22MB2977 Received-SPF: pass client-ip=2a01:111:f400:7eab::82c; envelope-from=germanp82@hotmail.com; helo=NAM11-CO1-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Steps to reproduce: clean native compile cache emacs -Q C-x r b (bookmark-jump) Error message appears: emacs-lisp-compilation-mode: Recursive load: "/home/german/repos/emacs/lisp/progmodes/compile.elc", "/home/german/repos/emacs/lisp/emacs-lisp/ring.elc", "/home/german/repos/emacs/lisp/comint.elc", "/home/german/repos/emacs/lisp/progmodes/compile.elc", "/home/german/repos/emacs/lisp/emacs-lisp/ring.elc", "/home/german/repos/emacs/lisp/comint.elc", "/home/german/repos/emacs/lisp/progmodes/compile.elc", "/home/german/repos/emacs/lisp/emacs-lisp/ring.elc", "/home/german/repos/emacs/lisp/comint.elc", "/home/german/repos/emacs/lisp/progmodes/compile.elc", "/home/german/repos/emacs/lisp/emacs-lisp/ring.elc", "/home/german/repos/emacs/lisp/comint.elc", "/home/german/repos/emacs/lisp/progmodes/compile.elc", "/home/german/repos/emacs/lisp/emacs-lisp/cl-lib.elc", "/home/german/repos/emacs/lisp/emacs-lisp/pp.elc", "/home/german/repos/emacs/lisp/bookmark.elc" Reverting commit 40492581f96626e405e4b453456b8c9b83822c97 fixes the issue. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) of 2023-07-06 built on KRONOS Repository revision: 40492581f96626e405e4b453456b8c9b83822c97 Repository branch: master System Description: Manjaro Linux Configured using: 'configure --with-pgtk --with-native-compilation --without-libsystemd --without-compress-install --prefix=/home/german/.local/emacs' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LC_MONETARY: es_AR.UTF-8 value of $LC_NUMERIC: es_AR.UTF-8 value of $LC_TIME: es_AR.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: vertico-mode: t savehist-mode: t popper-mode: t minibuffer-depth-indicate-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t window-divider-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/german/.emacs.d/elpa/embark-consult-0.7/embark-org hides /home/german/.emacs.d/elpa/embark-0.22.1/embark-org /home/german/.emacs.d/elpa/transient-0.4.1/transient hides /home/german/.local/emacs/share/emacs/30.0.50/lisp/transient Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils compile text-property-search comint ansi-osc ansi-color ring comp comp-cstr rx vertico savehist popper subr-x transient cl-extra help-mode cl-seq format-spec edmacro kmacro eieio byte-opt bytecomp byte-compile eieio-core cl-macs gv compat mb-depth g3r-light-theme info autothemer-autoloads doom-themes-autoloads ef-themes-autoloads embark-consult-autoloads consult-autoloads embark-autoloads fontify-face-autoloads kurecolor-autoloads magit-autoloads git-commit-autoloads magit-section-autoloads dash-autoloads orderless-autoloads popper-autoloads rainbow-mode-autoloads s-autoloads transient-autoloads vertico-autoloads with-editor-autoloads compat-autoloads yuck-mode-autoloads warnings icons cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 129884 100287) (symbols 48 10014 5) (strings 32 32148 18103) (string-bytes 1 1081003) (vectors 16 21625) (vector-slots 8 412849 137704) (floats 8 58 241) (intervals 56 476 67) (buffers 984 11)) -- German Pacenza From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 06 11:09:57 2023 Received: (at 64494) by debbugs.gnu.org; 6 Jul 2023 15:09:57 +0000 Received: from localhost ([127.0.0.1]:41847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHQcG-00082r-VW for submit@debbugs.gnu.org; Thu, 06 Jul 2023 11:09:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHQcE-00082b-D8 for 64494@debbugs.gnu.org; Thu, 06 Jul 2023 11:09:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHQc8-0001dF-Bm; Thu, 06 Jul 2023 11:09:48 -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=K/T/M/JggMQROwv6L+cYmjNLDdnhy/zX+NFPyu5aDvs=; b=cl33RsQtOBfL ncZ+pZg9ugN2UxARxUeThgQNdqE2T96CB/p1ldnCNASmoBt5lRDREEbSDs84L+gek+9iMm3AjRnga xU7ztFZiYPGr/Uy+H3VMz8rsMI92hKkSNIOKgJWOKENl2QUrs7m7BAaoPewQ8YEXwewnyhGMt9pUB jQo/vmz7ZG94jCjRd86QqQDMSeINEO7BIsnWbi+uDWagkkBEyzZ84/v87zKcQVO+cnZfG3u1Q1A40 iS6JQmVvaYhhWeJikgrDgpHOm9FtkpXf5FBstVuaMoIAg0dn0SjEmtVPclRNQLw1zNeGfC4mlQiz4 5ESHbXQ1tSVx1uQhxosJ0g==; Received: from [87.69.77.57] (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 1qHQc7-00032U-Ro; Thu, 06 Jul 2023 11:09:48 -0400 Date: Thu, 06 Jul 2023 18:09:47 +0300 Message-Id: <83ttuhgjpg.fsf@gnu.org> From: Eli Zaretskii To: German Pacenza , Andrea Corallo , Stefan Monnier In-Reply-To: (message from German Pacenza on Thu, 06 Jul 2023 08:45:10 -0300) Subject: Re: bug#64494: 30.0.50; Recursive load error with native-compile References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64494 Cc: 64494@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: German Pacenza > Date: Thu, 06 Jul 2023 08:45:10 -0300 > > > Steps to reproduce: > clean native compile cache > emacs -Q > C-x r b (bookmark-jump) > > Error message appears: > emacs-lisp-compilation-mode: Recursive load: "/home/german/repos/emacs/lisp/progmodes/compile.elc", "/home/german/repos/emacs/lisp/emacs-lisp/ring.elc", "/home/german/repos/emacs/lisp/comint.elc", "/home/german/repos/emacs/lisp/progmodes/compile.elc", "/home/german/repos/emacs/lisp/emacs-lisp/ring.elc", "/home/german/repos/emacs/lisp/comint.elc", "/home/german/repos/emacs/lisp/progmodes/compile.elc", "/home/german/repos/emacs/lisp/emacs-lisp/ring.elc", "/home/german/repos/emacs/lisp/comint.elc", "/home/german/repos/emacs/lisp/progmodes/compile.elc", "/home/german/repos/emacs/lisp/emacs-lisp/ring.elc", "/home/german/repos/emacs/lisp/comint.elc", "/home/german/repos/emacs/lisp/progmodes/compile.elc", "/home/german/repos/emacs/lisp/emacs-lisp/cl-lib.elc", "/home/german/repos/emacs/lisp/emacs-lisp/pp.elc", "/home/german/repos/emacs/lisp/bookmark.elc" > > Reverting commit 40492581f96626e405e4b453456b8c9b83822c97 fixes the issue. Thanks, I've reverted that commit for now. Andrea, Stefan: any ideas for how to allow emacs-lisp-compilation-mode in async compilation buffers without triggering this recursive-load nastiness? From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 07 13:03:07 2023 Received: (at 64494) by debbugs.gnu.org; 7 Jul 2023 17:03:07 +0000 Received: from localhost ([127.0.0.1]:43692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHorK-0004H3-PD for submit@debbugs.gnu.org; Fri, 07 Jul 2023 13:03:07 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:29367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHorH-0004GR-2g for 64494@debbugs.gnu.org; Fri, 07 Jul 2023 13:03:05 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id CEEDC100194; Fri, 7 Jul 2023 13:02:57 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 91FA210011D; Fri, 7 Jul 2023 13:02:56 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1688749376; bh=9k8ZkSxud0T6lJGf00Sw2/mD9mjkpFV3CicaYV4uxdU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=SD7aK7Uq80IOIhDCDDLsoh1a9M6I9dgVU6kAIG4XtFYA4yNlF5h9vy6H1oY0ymUn/ +IkE8TCzAHUu46mESQH6S/jGEk6e1Ik1gp5EWPAKHVjuZE1u3AstG7XNToQgLMSkmW pha5Ns9IhXWnJHBi1S0QOSVFowmiivatqshlowOzrZrMSFrN1bUBx8++QiU+3J69r1 iXT3LGaB/c3zzkbiYiM3hfeSfzZt5sedLP+iK6Ypd+UnlR2lerAq4MwIC6Mg4k6n/Z t7zA+jdZMOdCZzjNXaoosgTFuuOyrrW1Zg5bS4ybGaiKR79gflfSpBx7wWt0Og+KOd THBBy0qx9jsDg== Received: from pastel (69-165-155-162.dsl.teksavvy.com [69.165.155.162]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 6651C12027A; Fri, 7 Jul 2023 13:02:56 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#64494: 30.0.50; Recursive load error with native-compile In-Reply-To: <83ttuhgjpg.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 06 Jul 2023 18:09:47 +0300") Message-ID: References: <83ttuhgjpg.fsf@gnu.org> Date: Fri, 07 Jul 2023 13:02:55 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.160 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64494 Cc: German Pacenza , 64494@debbugs.gnu.org, Andrea Corallo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Andrea, Stefan: any ideas for how to allow emacs-lisp-compilation-mode > in async compilation buffers without triggering this recursive-load > nastiness? I'm wondering if instead of having the C code do: /* This is so deferred compilation is able to compile comp dependencies breaking circularity. */ if (comp__compilable) { /* Startup is done, comp is usable. */ CALL0I (startup--require-comp-safely); CALLN (Ffuncall, intern_c_string ("native--compile-async"), src, Qnil, Qlate); } else Vcomp__delayed_sources = Fcons (src, Vcomp__delayed_sources); we shouldn't just do something like pending_funcalls = Fcons (list (Qnative__compile_async, src, Qnil, Qlate), pending_funcalls); I.e. never call native--compile-async synchronously. The patch below seems to work so far, tho I haven't tried bootstrapping yet. Stefan diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 77584b692a4..4892733d456 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -4230,6 +4230,7 @@ native-compile-async-skip-p (string-match-p re file)) native-comp-jit-compilation-deny-list)))) +;;;###autoload (defun native--compile-async (files &optional recursively load selector) ;; BEWARE, this function is also called directly from C. "Compile FILES asynchronously. diff --git a/lisp/startup.el b/lisp/startup.el index 5a389294e78..7f601668369 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -520,27 +520,6 @@ startup--xdg-or-homedot xdg-dir) (t emacs-d-dir)))) -(defvar comp--compilable) -(defvar comp--delayed-sources) -(defun startup--require-comp-safely () - "Require the native compiler avoiding circular dependencies." - (when (featurep 'native-compile) - ;; Require comp with `comp--compilable' set to nil to break - ;; circularity. - (let ((comp--compilable nil)) - (require 'comp)) - (native--compile-async comp--delayed-sources nil 'late) - (setq comp--delayed-sources nil))) - -(declare-function native--compile-async "comp.el" - (files &optional recursively load selector)) -(defun startup--honor-delayed-native-compilations () - "Honor pending delayed deferred native compilations." - (when (and (native-comp-available-p) - comp--delayed-sources) - (startup--require-comp-safely)) - (setq comp--compilable t)) - (defvar native-comp-eln-load-path) (defvar native-comp-jit-compilation) (defvar native-comp-enable-subr-trampolines) @@ -846,8 +825,7 @@ normal-top-level nil))) (setq env (cdr env))))) (when display - (setq process-environment (delete display process-environment))))) - (startup--honor-delayed-native-compilations)) + (setq process-environment (delete display process-environment)))))) ;; Precompute the keyboard equivalents in the menu bar items. ;; Command-line options supported by tty's: diff --git a/src/comp.c b/src/comp.c index 013ac6358c1..003bec38efa 100644 --- a/src/comp.c +++ b/src/comp.c @@ -5199,17 +5199,9 @@ maybe_defer_native_compilation (Lisp_Object function_name, Fputhash (function_name, definition, Vcomp_deferred_pending_h); - /* This is so deferred compilation is able to compile comp - dependencies breaking circularity. */ - if (comp__compilable) - { - /* Startup is done, comp is usable. */ - CALL0I (startup--require-comp-safely); - CALLN (Ffuncall, intern_c_string ("native--compile-async"), - src, Qnil, Qlate); - } - else - Vcomp__delayed_sources = Fcons (src, Vcomp__delayed_sources); + pending_funcalls + = Fcons (list (Qnative__compile_async, src, Qnil, Qlate), + pending_funcalls); } @@ -5798,6 +5790,8 @@ syms_of_comp (void) build_pure_c_string ("eln file inconsistent with current runtime " "configuration, please recompile")); + DEFSYM (Qnative__compile_async, "native--compile-async"); + defsubr (&Scomp__subr_signature); defsubr (&Scomp_el_to_eln_rel_filename); defsubr (&Scomp_el_to_eln_filename); From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 07 14:23:37 2023 Received: (at 64494) by debbugs.gnu.org; 7 Jul 2023 18:23:37 +0000 Received: from localhost ([127.0.0.1]:43732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHq7E-0000Hx-Ok for submit@debbugs.gnu.org; Fri, 07 Jul 2023 14:23:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHq7D-0000Hk-2N for 64494@debbugs.gnu.org; Fri, 07 Jul 2023 14:23:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHq77-0001Zx-Q9; Fri, 07 Jul 2023 14:23:29 -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=Bkl5JlHgRZlHDQyYrqieacdSrsx9JaqcBTrK1UXkSI4=; b=clz5g3h4811j j3iN1JtT1eBj9RAl2X+Unrr3xdDEOH4chCMLv7HgJu7FikqDGqFs5Ax8FIN2ZO+AnrEgR7goH7jJ/ 4125XwhAUBp8N59LGYHt8M07JIiJDybFBdAEA/WvpqB8GsAA5ofivynojN2ACg+rQRZoVW1x8HuWd oZUc+kAiyO67Rq5hq2BhE8YKz6mmFHGGKRIZb1Lcdu9veC0t3aJ4dOMU+a3jx9CC8KdEai06m1Mx9 psguOUoy8bcbwE8vrvyPTdDm9e67WhEf55yCPE5AmZ0SBWRPYlKBzckZO78KC8DyNgfsRbrV58D8Z E+9led1+KfZ6zKEJTlWSLw==; Received: from [87.69.77.57] (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 1qHq76-0006MI-3q; Fri, 07 Jul 2023 14:23:28 -0400 Date: Fri, 07 Jul 2023 21:23:31 +0300 Message-Id: <83sf9zeg2k.fsf@gnu.org> From: Eli Zaretskii To: Stefan Monnier In-Reply-To: (message from Stefan Monnier on Fri, 07 Jul 2023 13:02:55 -0400) Subject: Re: bug#64494: 30.0.50; Recursive load error with native-compile References: <83ttuhgjpg.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64494 Cc: germanp82@hotmail.com, 64494@debbugs.gnu.org, acorallo@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Monnier > Cc: German Pacenza , Andrea Corallo > , 64494@debbugs.gnu.org > Date: Fri, 07 Jul 2023 13:02:55 -0400 > > The patch below seems to work so far, tho I haven't tried bootstrapping yet. Thanks, but does it allow to put back the change I reverted? It isn't in the patch, so I'm not sure if you tried that. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 07 16:18:26 2023 Received: (at 64494) by debbugs.gnu.org; 7 Jul 2023 20:18:26 +0000 Received: from localhost ([127.0.0.1]:43858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHruL-00038r-P4 for submit@debbugs.gnu.org; Fri, 07 Jul 2023 16:18:26 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:21390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHruJ-00038d-3G for 64494@debbugs.gnu.org; Fri, 07 Jul 2023 16:18:24 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id CEC8D100201; Fri, 7 Jul 2023 16:18:17 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id BAAEC10011D; Fri, 7 Jul 2023 16:18:16 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1688761096; bh=t7RTeO5834kiCnbx2+9x51XnNlJTRdIMFYOpOqx1WVs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Xqg8fHlUwXnbnjNmnBEvxkQMWtwZGJt9h2ZaybyRYyRDtBC2JiXdbBLTOGVudh7HY U3SM+3/B9/FMd0ChQPWBLX/234XeHhBTq9BfXzp7pNa2XMvK9XXP6EXNMYL3xgdXyB f2FmxhLNSRb0C0+OEyAoKgrd+AySZ+alTLIKM9/Urli4z8g6F3pZsosLdmFm68EGwI RIOFa9bs0PlsSLSXEDsQxTcCuoN3L2tjdrFf3CRAe7sYVOhKpYBLiSVRomG3t/5nrp XYjUnMeV3GmkiR52MUKjSUT4YT0ulY0mQWVDt7VbcdGvZaks33C0Ov1engEIOUghCv J4MoNpZ/hLiEw== Received: from pastel (69-165-155-162.dsl.teksavvy.com [69.165.155.162]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 8F278120213; Fri, 7 Jul 2023 16:18:16 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#64494: 30.0.50; Recursive load error with native-compile In-Reply-To: <83sf9zeg2k.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 Jul 2023 21:23:31 +0300") Message-ID: References: <83ttuhgjpg.fsf@gnu.org> <83sf9zeg2k.fsf@gnu.org> Date: Fri, 07 Jul 2023 16:18:16 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.157 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64494 Cc: germanp82@hotmail.com, 64494@debbugs.gnu.org, acorallo@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Thanks, but does it allow to put back the change I reverted? I believe so, yes. > It isn't in the patch, so I'm not sure if you tried that. The patch was tested against commit 40492581f9 (i.e. the commit just before the reversion). The way it works is that instead of having the C code call `native--compile-async` (which loads `comp.el`) right in the middle of loading another file, it delays the call to the next time Emacs waits. After all `native--compile-async` doesn't do anything immediately urgent since all it does is schedule a future compilation. There's another thing I don't quite understand about our code here: why do we call `native--compile-async` from `defalias` (via `maybe_defer_native_compilation`) rather than doing it from something like `after-load-functions`? Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 07 21:22:48 2023 Received: (at 64494) by debbugs.gnu.org; 8 Jul 2023 01:22:48 +0000 Received: from localhost ([127.0.0.1]:43948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHwet-0002Fe-OI for submit@debbugs.gnu.org; Fri, 07 Jul 2023 21:22:48 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:3837) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHwer-0002FQ-6H for 64494@debbugs.gnu.org; Fri, 07 Jul 2023 21:22:46 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 88DA08006F; Fri, 7 Jul 2023 21:22:39 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id F3506802B3; Fri, 7 Jul 2023 21:22:33 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1688779354; bh=4I7mwU1VHD4nBHwMX2xZYyS+4gVFg9dCPMBKKfyNXCs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=SMHtopC3+3jiVrCPcyQAhHnYexnrAnL+y2itIccyEt5poBMJsYWEXDrQEcmqpLfBo ku7H0X/tKkY9SgfB8BnDg2PbAXzcBVvgsI2I2VCRmxZQBVVVwaxDMW4jmC9nknLH2F mVI02ApogVdNA/1u/xtQ+DJoQGRe9WH862t//OEGjhPi1O47OSVIVw5Pi4ErZ98vvL H5dht6gBxkobpKy4T/Iw+beWjLzCf69CPycekcVNGHTIDfwRF8kaHa0qw/rsENi3g4 N4DCCSRv+0ZjKFd6sC65EWAtLfx6XU6ug19jb4S6TkH1Hmvy4ufaKTUDnYj4hP4/CV ImoJmlynpxFcA== Received: from pastel (69-165-155-162.dsl.teksavvy.com [69.165.155.162]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C481012026A; Fri, 7 Jul 2023 21:22:33 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#64494: 30.0.50; Recursive load error with native-compile In-Reply-To: (Stefan Monnier's message of "Fri, 07 Jul 2023 16:18:16 -0400") Message-ID: References: <83ttuhgjpg.fsf@gnu.org> <83sf9zeg2k.fsf@gnu.org> Date: Fri, 07 Jul 2023 21:22:33 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.071 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64494 Cc: germanp82@hotmail.com, 64494@debbugs.gnu.org, acorallo@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > There's another thing I don't quite understand about our code here: why > do we call `native--compile-async` from `defalias` (via > `maybe_defer_native_compilation`) rather than doing it from something > like `after-load-functions`? Hmm... I see that its not done for the "deferred compilation" but it's done for the subsequent *reload* (which replaces the previously loaded bytecode functions with their newly native-compiled version). The problem being that we shouldn't load the .eln (and thus replace the bytecode with native code) if the bytecode has been replaced with something else in the mean time. IOW, we need some way to detect when changes occur to the `.elc`-defined functions between the time the `.elc` file is loaded and the time the `.eln` file is available for load. This is done by storing the `.elc` definitions in an auxiliary hash-table (`comp-deferred-pending-h`) so they can be compared to the current definition before replacing it withe new definition from`.eln`. So, if we want to do it from `after-load-functions`, we need to use `load-history` to collect all the definitions and populate `comp-deferred-pending-h`. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 13 21:29:43 2023 Received: (at 64494-done) by debbugs.gnu.org; 14 Jul 2023 01:29:43 +0000 Received: from localhost ([127.0.0.1]:41073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qK7cs-0007tM-P4 for submit@debbugs.gnu.org; Thu, 13 Jul 2023 21:29:43 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:24277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qK7co-0007t2-Ti for 64494-done@debbugs.gnu.org; Thu, 13 Jul 2023 21:29:40 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 9A4AA4427FB; Thu, 13 Jul 2023 21:29:33 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 3F07F4427F6; Thu, 13 Jul 2023 21:29:32 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1689298172; bh=br3rxeX3w4Zl48f4e06Kz1myPBc++P1uFYNM1bU2/hM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=PDUWM6AiUF6Wcn7izjbNEG6/0kYCIo/itq4gRWnmyOp2BTzE9pPl7IBHvAhHzgEhL u+OnCdout2g+YS/RCP8v32qi0pWwAItPrxp/RxYIIbA5Vb8oMf/g/HEC1n9EgT5GKi gaELGzp7+qdKdZJgz4Lma280Mz+lToUE05WJVw8CCVxWT9bhCsYhCJPOv5z9mJB2vd BH0HURHPjlxER50VbUM/bnykZSHRf6G1/+CtKcW7UPNeiJPiWB1amq8cBdB3aJHkzS lKAJVIye1CoDqwEwirLdZFFaMkV2N5zjjGP6D5CMOs+NcvsQTX3edXl7TMrmpAPJL4 Qas0YHcM8M45g== Received: from pastel (unknown [104.247.239.133]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 12787120218; Thu, 13 Jul 2023 21:29:32 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#64494: 30.0.50; Recursive load error with native-compile In-Reply-To: (Stefan Monnier's message of "Fri, 07 Jul 2023 13:02:55 -0400") Message-ID: References: <83ttuhgjpg.fsf@gnu.org> Date: Thu, 13 Jul 2023 21:29:31 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.025 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64494-done Cc: German Pacenza , 64494-done@debbugs.gnu.org, Andrea Corallo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > we shouldn't just do something like > > pending_funcalls > = Fcons (list (Qnative__compile_async, src, Qnil, Qlate), > pending_funcalls); > > I.e. never call native--compile-async synchronously. > The patch below seems to work so far, tho I haven't tried bootstrapping yet. After further tests, I pushed it to `master`, along with the re-installation of commit 140492581f96. Stefan From unknown Tue Sep 09 22:29:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 11 Aug 2023 11:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator