[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48446: 28.0.50; Native compile failure during bootstrap
From: |
Andrea Corallo |
Subject: |
bug#48446: 28.0.50; Native compile failure during bootstrap |
Date: |
Sun, 16 May 2021 08:00:42 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Sat, 15 May 2021 21:08:14 +0300
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: acm@muc.de, 48446@debbugs.gnu.org
>>
>> I think I succeeded to fix this now, but I'd still like to know
>> why the original code was wrong and how to avoid that in the future.
>
> I think I know the answer: with natively-compiled Lisp, we can only
> call Lisp from init functions registered with
> pdumper_do_now_and_after_late_load, because the *.eln files are not
> loaded when functions registered with pdumper_do_now_and_after_load
> are run. Andrea, is that conclusion correct?
AFAIR that is spot on, I've introduced the mechanism with 4fba79feee.
Thanks for fixing this.
Andrea