From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#46494: 28.0.50; [native-comp] Problems with async background compile Date: Mon, 22 Feb 2021 05:28:37 +0200 Message-ID: <83mtvwwzkq.fsf@gnu.org> References: <52dad420-fd72-fe1c-6f74-f4c114a2deb8@gmail.com> <83sg5ybr95.fsf@gnu.org> <834ki710ug.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3132"; mail-complaints-to="usenet@ciao.gmane.io" Cc: andrewjmoreton@gmail.com, 46494@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 22 04:30:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lE1vH-0000j5-CK for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Feb 2021 04:30:11 +0100 Original-Received: from localhost ([::1]:51086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE1vF-0004Xm-UT for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Feb 2021 22:30:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lE1v8-0004XT-7Y for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2021 22:30:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lE1v8-0005Xr-01 for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2021 22:30:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lE1v7-00034X-Ro for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2021 22:30:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Feb 2021 03:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46494 X-GNU-PR-Package: emacs Original-Received: via spool by 46494-submit@debbugs.gnu.org id=B46494.161396454311723 (code B ref 46494); Mon, 22 Feb 2021 03:30:01 +0000 Original-Received: (at 46494) by debbugs.gnu.org; 22 Feb 2021 03:29:03 +0000 Original-Received: from localhost ([127.0.0.1]:55334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE1u8-00032i-QF for submit@debbugs.gnu.org; Sun, 21 Feb 2021 22:29:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE1u6-00032U-9J for 46494@debbugs.gnu.org; Sun, 21 Feb 2021 22:29:00 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45563) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE1tx-0004yi-SJ; Sun, 21 Feb 2021 22:28:49 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1199 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lE1tx-0007SB-5E; Sun, 21 Feb 2021 22:28:49 -0500 In-Reply-To: (message from Andrea Corallo on Sun, 21 Feb 2021 21:22:16 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:200537 Archived-At: > From: Andrea Corallo > Cc: andrewjmoreton@gmail.com, 46494@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@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"?