Subject: Re: bug#68851: 30.0.50; Native comp: Optimization failure for org-element-property-raw: Handler: org-element-property-raw--inliner

From: Ihor Radchenko <[email-masked]>
Date: Fri, 02 Feb 2024 13:35:27 +0000

Andrea Corallo <[email-masked]> writes:

>>> ⛔ Warning (comp): Warning: Optimization failure for org-element-property-raw: Handler: org-element-property-raw--inliner
>>> 
>>> This is on the latest Org mode main branch.
>>> 
>>> This looks like a bug unless I misunderstand something about inlined functions.
> ...
>
> Ihor have you tried compiling the compilation unit from command line
> (using batch-byte-compile or batch-native-compile)?  If some dependency
> is broken this should highlight it.

batch-byte-compile does not emit any warnings.
batch-native-compile emits the same warning:

Compiling single /home/yantar92/Git/org-mode/lisp/org-element-ast.el...
Warning: Optimization failure for org-element-property-raw: Handler: org-element-property-raw--inliner
(void-function org-element--property-idx)
Warning: Optimization failure for org-element-put-property: Handler: org-element-put-property--inliner
(void-function org-element--property-idx)
Warning: Optimization failure for org-element-property-raw: Handler: org-element-property-raw--inliner
(void-function org-element--property-idx)
...

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>