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

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

bug#53497: 29.0.50; native-compile after restarting Emacs


From: Andrea Corallo
Subject: bug#53497: 29.0.50; native-compile after restarting Emacs
Date: Thu, 27 Jan 2022 10:57:19 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Andrea Corallo <akrl@sdf.org>
>> Cc: Arash Esbati <arash@gnu.org>, larsi@gnus.org, 53497@debbugs.gnu.org
>> Date: Thu, 27 Jan 2022 10:11:29 +0000
>> 
>> Before `comp--loadable' becomes true (read the native compiler is not
>> loadable) each time we enter in 'maybe_defer_native_compilation' we
>> accumulate the compilation units we want to compile in
>> `comp--delayed-sources'.
>> 
>> When we finally call `startup--honor-delayed-native-compilations' we
>> check if something is pending in `comp--delayed-sources' and if this is
>> the case we load the native compiler and we compile what's pending.
>
> Yes, I understood that much.  What I didn't understand was how would
> comp--delayed-sources become non-empty during startup, if none of the
> files loaded during startup need to be native-compiled.
>
>> Unless I'm wrong the problem I see here is that if
>> `comp--delayed-sources' is empty we never set `comp--loadable' to t.
>
> Yes, I think so.
>
>> I'll be testing a patch today and report.
>
> Thanks.

Hi Eli,

I pushed d0aac84b2a as it seems to work for me here.

  Andrea





reply via email to

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