From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#68851: 30.0.50; Native comp: Optimization failure for org-element-property-raw: Handler: org-element-property-raw--inliner Date: Fri, 09 Feb 2024 07:42:41 -0500 Message-ID: References: <87zfwl8vd9.fsf@localhost> <86zfwl1t5y.fsf@gnu.org> <87sf2bxa3k.fsf@localhost> <877cjeyd77.fsf@localhost> <874jeiy68l.fsf@localhost> <87a5oavc3e.fsf@localhost> <877cjev9mb.fsf@localhost> <871q9mv7ya.fsf@localhost> <87plx5etfz.fsf@localhost> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28443"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Andrea Corallo , 68851@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 09 13:44:16 2024 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 1rYQEp-0007Aj-IC for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Feb 2024 13:44:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rYQEO-00022w-OA; Fri, 09 Feb 2024 07:43:48 -0500 Original-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 1rYQEN-00022o-6D for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2024 07:43:47 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rYQEM-0003Zo-TP for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2024 07:43:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rYQEb-0002ms-Rv for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2024 07:44:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Feb 2024 12:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68851 X-GNU-PR-Package: emacs Original-Received: via spool by 68851-submit@debbugs.gnu.org id=B68851.170748258710552 (code B ref 68851); Fri, 09 Feb 2024 12:44:01 +0000 Original-Received: (at 68851) by debbugs.gnu.org; 9 Feb 2024 12:43:07 +0000 Original-Received: from localhost ([127.0.0.1]:33108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYQDj-0002k5-0K for submit@debbugs.gnu.org; Fri, 09 Feb 2024 07:43:07 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:6528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYQDh-0002jU-7Q for 68851@debbugs.gnu.org; Fri, 09 Feb 2024 07:43:05 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 6C7701000DA; Fri, 9 Feb 2024 07:42:44 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1707482563; bh=bRghrEfOBjnHGuXTN9Y/l2WP/h0cL8399HC9h8O/y1k=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=KxkNT6PRlTQ1nkPBF9FpvPBc7Hgutspssg7BLSsXn4aqDNTuWA4l92z/XSvvaE4f5 PLw3bdOcQ1fQLMMDjDwYVSFbwYoLzqqbmFY78i9ITrkJz96GvjvJ3KjZdVRmO5Vfvm PgbA+9sz27uDDNPgeWiO6KLueKP76eB1+mlQeoCzdoNkfjmqEot1SdZu0hGMl3rrEJ XJRCLjzvioGoy6Qdg/dMtUX4HXLO/60+iDFZEiOxd6QRWjHzWV5J2+tPhZTjB4WgAU sYFQshdJwR/EW/m2ofjqVKiILMC59MS0xdYZ+h7ejgTmoeZ6v2ru0nESONSRPL2A1d TI9SNMfloZviQ== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8225C100054; Fri, 9 Feb 2024 07:42:43 -0500 (EST) Original-Received: from pastel (unknown [104.247.238.113]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 56568120223; Fri, 9 Feb 2024 07:42:43 -0500 (EST) In-Reply-To: <87plx5etfz.fsf@localhost> (Ihor Radchenko's message of "Fri, 09 Feb 2024 12:02:56 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:279695 Archived-At: > Although, I am very surprised that `batch-byte-recompile-directory' does > not trigger the error. So, something is off somewhere in the > compilation. If not in `batch-byte-compile' then in > `batch-byte-recompile-directory'. `batch-byte-recompile-directory` runs a single Emacs session that compiles all the files. Some of those files probably (require 'org-element-ast) and presumably this happens in one of the files compiled *before* `org-element-ast.el`, hence the problem disappears. FWIW, I have a local hack which saves&restores the global `obarray` around each `byte-compile-file` which should make `batch-byte-recompile-directory` shows the same errors as compiling each file individually. Not sure it's worth the trouble, tho. Stefan