GNU bug report logs - #52912
29.0.50; Left over files from native compilation

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Fri, 31 Dec 2021 05:22:02 UTC

Severity: normal

Merged with 48141

Found in versions 28.0.50, 29.0.50

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: Andrea Corallo <akrl <at> sdf.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 52912 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: bug#52912: 29.0.50; Left over files from native compilation
Date: Mon, 24 Jan 2022 20:01:01 +0000
Andrea Corallo <akrl <at> sdf.org> writes:

> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>
>>> No, you are not misreading.  I guess my hypothesis was incorrect, and
>>> something else is at work here.  But the problem is real nonetheless.
>>>
>>> Perhaps this is something caused by Alan's speedup of the bootstrap?
>>
>> Could be, but it's affecting a whole lot more files than the ones that
>> were touched by that change...  Andrea, can you take a look at this?
>
> Hi Lars,
>
> Hmmm I see what's going on.
>
> The .eln file is produced by 'gcc_jit_context_compile_to_file', we could
> just produce the temporary .elc before calling it and renaming it
> afterwards but unfortunatelly 'gcc_jit_context_compile_to_file' takes a
> considerable part of the compilation time, as a consequence we'd go back
> to the reason this bug was opened for.
>
> I think the best solution is to touch the .eln file once the final .elc
> is produced.
>
> I'll put a patch together.

I've a patch that does that, but is crashing Emacs during bootstrap for
really no reason.

I suspect this is triggering some unrelated bug so I'm trying to see if
I can reproduce it on a sequencial build in order to debug it :/

I'll come with news when I figure out what's going on.

  Andrea




This bug report was last modified 3 years and 116 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.