GNU bug report logs -
#64712
29.0.92; Emacs 29 with native compilation compiles cl-loaddefs.el on every startup
Previous Next
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
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Andrea Corallo <acorallo <at> gnu.org>
>> Cc: Dmitry Gutov <dmitry <at> gutov.dev>, stephen.molitor <at> icloud.com,
>> 64712 <at> debbugs.gnu.org
>> Date: Thu, 27 Jul 2023 05:03:32 -0400
>>
>> Eli Zaretskii <eliz <at> 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
This bug report was last modified 1 year and 259 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.