GNU bug report logs - #68851
30.0.50; Native comp: Optimization failure for org-element-property-raw: Handler: org-element-property-raw--inliner

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Wed, 31 Jan 2024 13:48:01 UTC

Severity: normal

Found in version 30.0.50

Full log


Message #26 received at 68851 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <acorallo <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 68851 <at> debbugs.gnu.org,
 monnier <at> iro.umontreal.ca
Subject: Re: bug#68851: 30.0.50; Native comp: Optimization failure for
 org-element-property-raw: Handler: org-element-property-raw--inliner
Date: Thu, 08 Feb 2024 13:49:53 -0500
Ihor Radchenko <yantar92 <at> posteo.net> writes:

> Andrea Corallo <acorallo <at> gnu.org> 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)
> ...

Hi Ihor,

could you specify the reproducer for this?

Thanks

  Andrea




This bug report was last modified 1 year and 126 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.