GNU bug report logs -
#48342
native-comp emacs gets into an infinite loop at startup if no .el files are available
Previous Next
Reported by: Dima Kogan <dima <at> secretsauce.net>
Date: Tue, 11 May 2021 07:48:01 UTC
Severity: normal
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Dima Kogan <dima <at> secretsauce.net>
> Cc: akrl <at> sdf.org, 48342 <at> debbugs.gnu.org
> Date: Tue, 11 May 2021 10:29:20 -0700
>
> The maybe_swap_for_el() call in Frame #28 checks for the sources, sees
> that the file on disk doesn't exist, and throws the warning as expected:
>
> Code:
> call2 (intern_c_string ("display-warning")
> Full context:
> https://github.com/emacs-mirror/emacs/blob/bb8b8d717f91a85ca41de9e82246e6975e1ed719/src/lread.c#L1713
>
> Frame #26 is the (display-warning ...)
>
> Frame #25 is (autoload-do-load ... 'display-warning)
>
> Frame #23 is (load "warnings" ...)
>
> The backtrace isn't right about the line number in frame #22, but that
> function is in lread.c. It's trying to compile "warnings.el".
I guess when we find that a source for some .elc file is not
available, we should add its .el name to
native-comp-deferred-compilation-deny-list?
This bug report was last modified 2 years and 324 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.