From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko 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 16:21:48 +0000 Message-ID: <87plx5a9r7.fsf@localhost> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2160"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Andrea Corallo , 68851@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 09 17:34:09 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 1rYTpJ-0000Ik-Oa for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Feb 2024 17:34:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rYToz-0006Xx-Hv; Fri, 09 Feb 2024 11:33:49 -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 1rYTox-0006Xf-M0 for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2024 11:33: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 1rYTox-0004hc-8y for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2024 11:33:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rYTpC-0002J0-02 for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2024 11:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Feb 2024 16:34: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.17074964328833 (code B ref 68851); Fri, 09 Feb 2024 16:34:01 +0000 Original-Received: (at 68851) by debbugs.gnu.org; 9 Feb 2024 16:33:52 +0000 Original-Received: from localhost ([127.0.0.1]:49648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYTp0-0002IF-Lv for submit@debbugs.gnu.org; Fri, 09 Feb 2024 11:33:51 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:37903) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYToy-0002Hm-TC for 68851@debbugs.gnu.org; Fri, 09 Feb 2024 11:33:50 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C25AD240105 for <68851@debbugs.gnu.org>; Fri, 9 Feb 2024 17:18:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707495497; bh=KJO7DWN2HaqiLUp4EB+vnRvhkPMwgY/lnKvaH01pmlg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=HGIpG8D0rZ0VIiU2Uqr7QDcyD4hf8F+J1/mdxjMpXHUkRjAqs+uZKSUHYiTS+1HnO 9XIcUq+k/XXe4YacxjaMP3Sr0+s3bo2GToNDwa2dcxIZtiBFw7GUlXoWsAi4+oAyBD lQyU0pLHd3sRkR4GOJ8maGrbYojdLvRBFrbK8DM/Rfu6EeCBuNN1Gr0ZilrD+zuJf6 YTUk4hy7zaQVnNHxPQRv7NTNNVZbBWMEMa96O4JPuEfrs287zYi3myWE1HVMlmLkkX 0NSJWAyn8pV7PnJH4VnMDY1UgNsBPh5q4Tvlh1WM19yjA/f371a3DOxm2Qqo8iGh3J Tbanfj4dpwrBQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TWfCs0JH5z6twd; Fri, 9 Feb 2024 17:18:16 +0100 (CET) In-Reply-To: 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:279700 Archived-At: Stefan Monnier writes: >> 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. Makes sense. Then, this bug can be closed I think. The problem is not on Emacs side. > 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. I prefer to be explicit. I changed Org mode build system to use "single" target by default, so that .el files are compiled individually. This also allowed parallel execution of make. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=71fbe92c2 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=c76d498f4 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at