From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#58509: 29.0.50; Synchronous nativecomp Date: Tue, 18 Oct 2022 20:14:15 +0200 Message-ID: <87a65tatjc.fsf@gnus.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24642"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 58509@debbugs.gnu.org, akrl@sdf.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 18 20:19:13 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 1okrBI-00069x-GU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Oct 2022 20:19:12 +0200 Original-Received: from localhost ([::1]:47388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okrBG-0007Vl-Py for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Oct 2022 14:19:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okr7H-0007Q2-3G for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 14:15:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54999) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okr7G-0001Nh-Qf for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 14:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okr7G-000068-Ct for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 14:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Oct 2022 18:15: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.1666116874315 (code B ref 58509); Tue, 18 Oct 2022 18:15:02 +0000 Original-Received: (at 58509) by debbugs.gnu.org; 18 Oct 2022 18:14:34 +0000 Original-Received: from localhost ([127.0.0.1]:54077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okr6o-000050-Dv for submit@debbugs.gnu.org; Tue, 18 Oct 2022 14:14:34 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:41526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okr6k-0008WO-ON for 58509@debbugs.gnu.org; Tue, 18 Oct 2022 14:14:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hcJ3YB8MTLSKH/g3Z87LGBm5LTU5OEGq01g6YzUxP90=; b=Jsj//yEAX4Lk3mo7GVR1c2MYO0 /L/KSWsfcTv5mUBb0K0Q7r1gsE31fZK2e8pC82weAFSwrVwtST/FeaInDJZNnJS1CEzWLEkwedeCq gOM7X3ctEaxFkBD/2m3ErnagOeXLo/eNYHiRCf/cpKvBRfGX9WfZbkwXg4Tl8gQPppOI=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1okr6W-0005Ov-FR; Tue, 18 Oct 2022 20:14:18 +0200 In-Reply-To: <83fsfl1c3r.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 18 Oct 2022 16:43:20 +0300") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJFBMVEULCgshHh5QT08v Li+Pj4/Q0ND4+Pign55wcHCxsbE/Pj/////9TU4gAAAAAWJLR0QLH9fEwAAAAAd0SU1FB+YKEgsY IudH49YAAAGvSURBVDjLrZJLT8JAEICnLZDiadGIHCsEordWItFbYyJnYkKRGyId4IbxdW2iEI8m RIz/1t3u7HZBuDmH7WS+eXQeAFpKmVRrpcwOVgaagQm4MAoEi2XGg2YgSQo1sK8RsfeWJSV7JcL+ 6xfiI8WoVC6Oj0W2OT5YWTXOVxPyqMeeCc6nulZ7Yvykg6HWbUwycGh6tYaZvgoNYKOvVHfKnxNd ZfGptMK9iJJ+RwkUda5FSMAKWKsDTqxAxOgpYhzxPCtqZW+qaC5CnAE0ZhLkhjosj6KjckeCoqgN KJ4yj2Bk4G4DMa20YouP3qMUFEmg99P1wKVBlEVD1ncK0uy2CaTse2ugA+uiUhU2gSqev9sA6e8y 6VD3DVAYSGCPjVG7SxqJGAQyyKsdiv29eATaCd+63LQTJTR2Acq8emOcbnAx4rUnCrhj4ToKwJmL wEZHAeDxkEPsIi7FLfkapBdTeca+uGm6JSYvJtFNOFGYfmVjjZEGSvXJ7YbslyqYRpHDW5HUOhXl TcA946eP9whVpAZwwU8H4yv4A8A6q9YYbAEbsgtY/wrYLhCUtiHH/wX511YbTcUDIgAAACV0RVh0 ZGF0ZTpjcmVhdGUAMjAyMi0xMC0xOFQxMToyNDozNCswMDowMNjAwoAAAAAldEVYdGRhdGU6bW9k aWZ5ADIwMjItMTAtMThUMTE6MjQ6MzQrMDA6MDCpnXo8AAAAAElFTkSuQmCC X-Now-Playing: Tuff City Kids's _#savefabric (10) (Mixed by Terry Francis)_: "Edlost" 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:245819 Archived-At: Eli Zaretskii writes: >> That is, instead of that, we could have a --native-compile-mode command >> line switch with the values --native-compile-mode=none, >> --native-compile-mode=sync and --native-compile-mode=normal? > > I doubt we really need to have an option with 3 values. The default > already does TRT in almost all cases, so all we need is to suppress > async compilation of trampolines, because that could cause trouble. For bug bug#58509 we need the sync case; for the trampoline fork bomb we need the don't-do-anything case -- that's two cases, right? Then the default, normal, NO-OP case is the third, which is pretty normal practice when doing command line switches like this, so that you don't have to mogrify the command line arguments when exec-ing and choosing between the three cases.