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#58509: 29.0.50; Synchronous nativecomp Date: Thu, 20 Oct 2022 09:43:21 +0300 Message-ID: <83tu3zxaeu.fsf@gnu.org> References: <87a65yd715.fsf@gnus.org> <83mt9y8ynk.fsf@gnu.org> <87zgdybrnc.fsf@gnus.org> <83lepi8y4l.fsf@gnu.org> <87ilkmbqu3.fsf@gnus.org> <83k0528w1w.fsf@gnu.org> <87a65x786i.fsf@gnus.org> <871qr82lu6.fsf@gnus.org> <87v8oielxp.fsf@gnus.org> <878rleek7y.fsf@gnus.org> <834jw236v8.fsf@gnu.org> <87edv6ckof.fsf@gnus.org> <83fsfl1c3r.fsf@gnu.org> <83mt9tynr9.fsf@gnu.org> <838rlbzl0a.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34004"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 58509@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 20 09:00:25 2022 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 1olPXU-0008eE-NG for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 09:00:24 +0200 Original-Received: from localhost ([::1]:58174 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olPXN-0002H3-RP for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 03:00:19 -0400 Original-Received: from [::1] (port=55242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olPJ9-0000TU-S5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 02:45:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olPHf-0000OW-9i for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2022 02:44:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33697) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1olPHe-0000VD-Un for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2022 02:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1olPHe-00034g-Dj for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2022 02:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Oct 2022 06:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58509 X-GNU-PR-Package: emacs Original-Received: via spool by 58509-submit@debbugs.gnu.org id=B58509.166624822211784 (code B ref 58509); Thu, 20 Oct 2022 06:44:02 +0000 Original-Received: (at 58509) by debbugs.gnu.org; 20 Oct 2022 06:43:42 +0000 Original-Received: from localhost ([127.0.0.1]:32775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olPHJ-00033z-Rs for submit@debbugs.gnu.org; Thu, 20 Oct 2022 02:43:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olPHF-00033k-Vn for 58509@debbugs.gnu.org; Thu, 20 Oct 2022 02:43:40 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33646) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olPH7-0000QT-Er; Thu, 20 Oct 2022 02:43:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=nnSaVJx64qXF/jMT0JDoJSJfDh3ER/yvTFWLMUy47lQ=; b=PmDQXvh0/4IS S/w39E6CB9gvm5c18KENp6zY03P8qzcDFtsifANSEUTBwdMEZ3sjBgQbCAaQdEts5g1a1Hx3XcoP6 PUsAKExNCDcgR7tycMuJxMiTa/Tpy0j15kyymAk+0nhJvotgOy96gvWIFpt9WQKsrNFCHXrKmcGtW jGKOAX94DoSLmMnW8t8e8w92Q1M5oNF3OXZ7ga9q5AZRDmwNCt4fVzrkOiINIlNoYygYivP8xBUDa vh85hXDFtkpEUDRl7aZmMKKadBYixBHvrKCjL9ar9srhfd3TZqzIrOjXmGi9YLNIA9B8uO2UyaDW1 v3OPyHUXQg/ASyEynbo7Rw==; Original-Received: from [87.69.77.57] (port=2452 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olPH3-0007NU-IK; Thu, 20 Oct 2022 02:43:27 -0400 In-Reply-To: (message from Andrea Corallo on Wed, 19 Oct 2022 19:31:05 +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:245921 Archived-At: > From: Andrea Corallo > Cc: larsi@gnus.org, 58509@debbugs.gnu.org > Date: Wed, 19 Oct 2022 19:31:05 +0000 > > > "do it always for trampolines in the --batch invocations" > > So you mean identifying that we are doing a trampoline compilation and > disable the native compiler without a specific flag? Yes, but only in -batch sessions. I believe this is our logic now: if we are going to compile a trampoline, we invoke an async subprocess with both -batch and the -no-comp-spawn options. But if the --batch session can figure out that it's compiling a trampoline, it can automatically behave as if -no-comp-spawn was passed on the command line, no? > -no-comp-spawn makes sure that in the spawend compilation processes, no > matter what, we never spawn again other compilation processes. > > We have two invocations for spawning processes, one for sync > compilations and one of async (none of the invocation is specific to > trampolines). This patch is using -no-comp-spawn for both. I'm asking why compilation of trampolines could behave like that automatically, when the compilation is done in a -batch invocation. Thanks.