GNU bug report logs - #64712
29.0.92; Emacs 29 with native compilation compiles cl-loaddefs.el on every startup

Previous Next

Package: emacs;

Reported by: Stephen Molitor <stephen.molitor <at> icloud.com>

Date: Tue, 18 Jul 2023 16:19:02 UTC

Severity: normal

Tags: notabug, wontfix

Found in version 29.0.92

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Andrea Corallo <acorallo <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Dmitry Gutov <dmitry <at> gutov.dev>, stephen.molitor <at> icloud.com,
 64712 <at> debbugs.gnu.org
Subject: Re: 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
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Date: Thu, 27 Jul 2023 04:50:21 +0300
>> Cc: 64712 <at> debbugs.gnu.org
>> From: Dmitry Gutov <dmitry <at> 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




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

Previous Next


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