bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64712: 29.0.92; Emacs 29 with native compilation compiles cl-loaddef


From: Andrea Corallo
Subject: bug#64712: 29.0.92; Emacs 29 with native compilation compiles cl-loaddefs.el on every startup
Date: Thu, 27 Jul 2023 05:56:51 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Andrea Corallo <acorallo@gnu.org>
>> Cc: Dmitry Gutov <dmitry@gutov.dev>,  stephen.molitor@icloud.com,
>>   64712@debbugs.gnu.org
>> Date: Thu, 27 Jul 2023 05:03:32 -0400
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> > What do you suggest we do instead?  Emacs cannot know a file should
>> > not be compiled without reading its contents first.
>> 
>> If we add cl-loaddefs.el to `native-comp-jit-compilation-deny-list' we
>> should just not even attempt compiling it.
>> 
>> Dunno if it's considered an acceptable fix, in case I can push it so it
>> can get tested.
>
> I'm not sure.  This has a maintenance costs, since the specification
> is separate from the affected file.  If we ever decide to compile
> cl-loaddefs, someone might be in for a ride...

Yep totally agree, the only way I can think of in order to mitigate this
would be adding a comment in cl-loaddefs.el close to the
no-native-compile: t cookie.

  Andrea





reply via email to

[Prev in Thread] Current Thread [Next in Thread]