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:03:32 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Thu, 27 Jul 2023 04:50:21 +0300
>> Cc: 64712@debbugs.gnu.org
>> From: Dmitry Gutov <dmitry@gutov.dev>
>> 
>> On 18/07/2023 19:34, Eli Zaretskii wrote:
>> > This is normal: cl-loaddefs.el has no-byte-compile:t , so the async
>> > compilation does nothing.
>> > 
>> > This is harmless, and not a bug.
>> 
>> Reading the file, extracting it from an archive, to ultimately do 
>> nothing, seems unfortunate. I'm guessing it can add a certain latency to 
>> Emacs's startup.
>
> 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.

Best Regards

  Andrea





reply via email to

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