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

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

bug#46617: 28.0.50; nativecomp: native compile cache is not invalidated


From: Andrea Corallo
Subject: bug#46617: 28.0.50; nativecomp: native compile cache is not invalidated when file is re-byte compiled and changes
Date: Wed, 31 Mar 2021 17:58:46 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Aaron Jensen <aaronjensen@gmail.com> writes:

> On Wed, Mar 31, 2021 at 5:22 AM Andrea Corallo <akrl@sdf.org> wrote:
>>
>> Aaron Jensen <aaronjensen@gmail.com> writes:
>>
>> > On Mon, Mar 29, 2021 at 3:15 AM Andrea Corallo <akrl@sdf.org> wrote:
>> >> Compares against the .elc.
>> >
>> > For some reason, I do not see this behavior. Touching the elc files
>> > and restarting does not trigger a recompile of the elns.
>>
>> That's odd, I do.
>
> Just tested again on master and it seems to work as it should. I must
> be on an older build.
>
>> Okay I think I see what's the issue.
>>
>> We have changed the `load' semantinc and now when the a .elc file is
>> explicitly requested for load we do not load the .eln even if present.
>> But at this point we don't have to trigger the native compilation for
>> that file.
>>
>> I'll come-up with a fix.
>
> Great, thank you.

Right 613caa9527 should fix the described issue for me.  I've also tried
the straigh reproducer and I do not see recompilations during the second
startup.

Could you give it a try to verify it works for you too?

Thanks!

 Andrea





reply via email to

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