GNU bug report logs -
#46494
28.0.50; [native-comp] Problems with async background compile
Previous Next
Reported by: Andy Moreton <andrewjmoreton <at> gmail.com>
Date: Sat, 13 Feb 2021 16:59:02 UTC
Severity: normal
Found in version 28.0.50
Done: Andrea Corallo <akrl <at> sdf.org>
Bug is archived. No further changes may be made.
Full log
Message #53 received at 46494 <at> debbugs.gnu.org (full text, mbox):
> From: Andrea Corallo <akrl <at> sdf.org>
> Cc: andrewjmoreton <at> gmail.com, 46494 <at> debbugs.gnu.org
> Date: Sun, 21 Feb 2021 21:22:16 +0000
>
> > . How does libgccjit handle the case that its process is exiting?
> > Does it have any atexit handlers or static destructors? IOW, how
> > does it ensure its own subprocesses, like gas etc. are terminated?
>
> No precise idea about sorry. Perhaps the best place to ask and discuss
> that would be jit <at> gcc.gnu.org?
If we need to, perhaps we should.
> > . When we invoke Emacs in a subprocess to do the async compilation,
> > do we specify that it should be killed without query? I don't see
> > this in the code (did I miss it?), but if we don't, then exiting
> > Emacs will ask the user whether to kill the subprocesses -- does
> > it?
>
> Yes it does, should we change this?
no, I don't think so. It's just that no one here mentioned that
question, so I assumed it isn't being asked.
> > P.S. Andrea, I see you use "path" in comp.el (and perhaps elsewhere)
> > to mean "file name", but the GNU Coding Standards frown on using this
> > for anything other than PATH-style directory lists. So this should at
> > some point be replaced with "file name".
>
> da4da88c76 fix one case of this.
>
> We use `paths' in `native-compile-async' and `native--compile-async' as
> arg name. This can be either a file, a list of file or a list of
> directories. What would be the suggested name for something like that?
"files"?
This bug report was last modified 4 years and 69 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.