GNU bug report logs -
#48079
Temporary files while building after native-comp merge
Previous Next
Reported by: Stefan Kangas <stefan <at> marxist.se>
Date: Wed, 28 Apr 2021 11:11:02 UTC
Severity: minor
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #62 received at 48079 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> I guess we can't set up a signal trap to delete the temp file if we're
>> being interrupted?
>
> You mean, in the Makefile? That won't handle the cases where the
> compilation is manually invoked (e.g., from a running Emacs).
I'm not actually sure -- I don't know what the possibilities at our
disposal are here, really. If we can catch this in Emacs, that'd be
nicer... but can we?
Another thing I'm wondering about is why we write the subr.elc0EdJIV
file at all, and then apparently don't rename it to .elc immediately?
It seems to linger on in that name for a very long time? But I haven't
actually looked at the code here.
It's easy to reproduce the behaviour here:
touch lisp/subr.el
make
wait a few seconds
C-c C-c a few times
and then you have a subr.elc0EdJIV file or two.
So is it writing the subr.elc0EdJIV file, then doing the .eln
compilation, and then moving subr.elc0EdJIV to subr.elc?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 2 years and 361 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.