Received: (at 58509) by debbugs.gnu.org; 23 Oct 2022 11:44:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 23 07:44:08 2022 Received: from localhost ([127.0.0.1]:43790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1omZOi-0002Yp-FX for submit <at> debbugs.gnu.org; Sun, 23 Oct 2022 07:44:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1omZOh-0002Yd-9X for 58509 <at> debbugs.gnu.org; Sun, 23 Oct 2022 07:44:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1omZOZ-0007T4-EO; Sun, 23 Oct 2022 07:43:59 -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=UUQZuA67T+x6xTWfaNGCjmK+lnIqLcNc9+lr/MRavsI=; b=qTgqoQOb1sDF yZ/mJCEBNe+dcoFSAl3kBw83cv7dv7Pksn3ZCUm9PUX9vMS4k7IorqL/BqweNg3N4sSiLZ0IoELMr Q+vRMSn3bsv5l81HN7X0ksyCh5hdIXsha9D/7cQgi+hoRXASkyfX9K1nBeTNLARKoZBt0VrakPWVG T8wrUb0LSG5oPvdflvdetcPwmbUWtyuM6Oln7MXGhe8Cg6GVcqtEB51zlnsHg7323Rng2TybSX/lV RSVNFl+vqUV5wOG0h5xKWIHfq+Izp8AS4z+P8JwyYStP7DRm9NdRHnkcd92xL7/SzU3beAS2aQaPs T3kayAjcdxlPI53ADECZQA==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1omZOY-0002OB-PY; Sun, 23 Oct 2022 07:43:59 -0400 Date: Sun, 23 Oct 2022 14:43:42 +0300 Message-Id: <83lep6sr2p.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Andrea Corallo <akrl@HIDDEN> In-Reply-To: <xjfwn8q4xul.fsf@HIDDEN> (message from Andrea Corallo on Sun, 23 Oct 2022 10:51:14 +0000) Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp References: <87a65yd715.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> <87edv6ckof.fsf@HIDDEN> <83fsfl1c3r.fsf@HIDDEN> <xjfo7u9tewp.fsf@HIDDEN> <83mt9tynr9.fsf@HIDDEN> <xjfv8of7i1o.fsf@HIDDEN> <838rlbzl0a.fsf@HIDDEN> <xjfedv37gqu.fsf@HIDDEN> <83tu3zxaeu.fsf@HIDDEN> <xjfpmen556c.fsf@HIDDEN> <83pmemyl4o.fsf@HIDDEN> <xjfwn8q4xul.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: larsi@HIDDEN, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Andrea Corallo <akrl@HIDDEN> > Cc: larsi@HIDDEN, 58509 <at> debbugs.gnu.org > Date: Sun, 23 Oct 2022 10:51:14 +0000 > > Eli Zaretskii <eliz@HIDDEN> writes: > > >> Okay so IIUC your suggestion would be to: when we identify '--batch' we > >> search for a signature in the commandline to identify the trampoline > >> compilation and set in case `comp-no-spawn'? > > > > Yes. And if that works, my next question is: can we then remove the > > new -no-comp-spawn command-line option, or do we need it for some > > other cases? > > If it works I think it should be equivalent at that point. But at the > moment is not so trivial to identify this condition as we have no clear > marker of it. > > The current invocation for compilations is just like: > > emacs --batch -l sometmpfile.el > > I don't know if we have some other option for adding a marker other than > the most obvious (the dedicated flag). At some point during compilation, we surely know that we are compiling a trampoline, right? So I thought to avoid forking at that point, so that we don't need yet another command-line option for internal purposes. But if this is too complicated and cumbersome, I'm okay with a command-line switch. Thanks.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 23 Oct 2022 10:51:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 23 06:51:22 2022 Received: from localhost ([127.0.0.1]:43716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1omYZe-0007XB-7Y for submit <at> debbugs.gnu.org; Sun, 23 Oct 2022 06:51:22 -0400 Received: from mx.sdf.org ([205.166.94.24]:62365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <akrl@HIDDEN>) id 1omYZa-0007X0-N6 for 58509 <at> debbugs.gnu.org; Sun, 23 Oct 2022 06:51:21 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 29NApEi9028009 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sun, 23 Oct 2022 10:51:15 GMT From: Andrea Corallo <akrl@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <83pmemyl4o.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 20 Oct 2022 11:06:31 +0300") References: <87a65yd715.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> <87edv6ckof.fsf@HIDDEN> <83fsfl1c3r.fsf@HIDDEN> <xjfo7u9tewp.fsf@HIDDEN> <83mt9tynr9.fsf@HIDDEN> <xjfv8of7i1o.fsf@HIDDEN> <838rlbzl0a.fsf@HIDDEN> <xjfedv37gqu.fsf@HIDDEN> <83tu3zxaeu.fsf@HIDDEN> <xjfpmen556c.fsf@HIDDEN> <83pmemyl4o.fsf@HIDDEN> Date: Sun, 23 Oct 2022 10:51:14 +0000 Message-ID: <xjfwn8q4xul.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58509 Cc: larsi@HIDDEN, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Andrea Corallo <akrl@HIDDEN> >> Cc: larsi@HIDDEN, 58509 <at> debbugs.gnu.org >> Date: Thu, 20 Oct 2022 07:23:55 +0000 >> >> Eli Zaretskii <eliz@HIDDEN> writes: >> >> >> From: Andrea Corallo <akrl@HIDDEN> >> >> Cc: larsi@HIDDEN, 58509 <at> 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 >> >> We invoke a sync compilation for trampolines (but I think it's not >> relevant here) >> >> > 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? >> >> Okay so IIUC your suggestion would be to: when we identify '--batch' we >> search for a signature in the commandline to identify the trampoline >> compilation and set in case `comp-no-spawn'? > > Yes. And if that works, my next question is: can we then remove the > new -no-comp-spawn command-line option, or do we need it for some > other cases? If it works I think it should be equivalent at that point. But at the moment is not so trivial to identify this condition as we have no clear marker of it. The current invocation for compilations is just like: emacs --batch -l sometmpfile.el I don't know if we have some other option for adding a marker other than the most obvious (the dedicated flag). Best Regards Andrea
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 20 Oct 2022 08:07:04 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 20 04:07:04 2022 Received: from localhost ([127.0.0.1]:32880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1olQZy-0005He-Pz for submit <at> debbugs.gnu.org; Thu, 20 Oct 2022 04:07:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1olQZt-0005H7-EG for 58509 <at> debbugs.gnu.org; Thu, 20 Oct 2022 04:07:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1olQZn-0007M4-20; Thu, 20 Oct 2022 04:06:51 -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=Q4hnYpWSnUmVqmmPxFUZaj8vq1lFqi+XKXa1MjiW5pY=; b=H6G8BCyJV/5i 0aRVEJrEiFMeP6s4hksZqYiRlQuOYVtXP8CqQvm6h4ke8EZ0nuajD2iktKtKYkGT4kJqKbsQ+IenA q9+NGzh2M6Px1mSfCcz8h00ZIdYL/8rytXU1hrpqpRX6JzUmBuN0oXO/i/ckvJJsXtHvTlW0eE0Sk aXAxxj9pyrZ5pjg1084a5iPojXj6VSunWT0F37uw9IoeFtfAIngXeZxebrG0PJpFZ1qjcZQaEYDl9 zLoLJk6PmFdSthFYNksiFudONyrIrDHnIRbPkMpcIfZftxpW1iksgGFA7+dYM3J97c1GIIo0f5gmD yPAM3rXQyWy8Yu8ksG+/ng==; Received: from [87.69.77.57] (port=3668 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1olQZX-00063w-5y; Thu, 20 Oct 2022 04:06:49 -0400 Date: Thu, 20 Oct 2022 11:06:31 +0300 Message-Id: <83pmemyl4o.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Andrea Corallo <akrl@HIDDEN> In-Reply-To: <xjfpmen556c.fsf@HIDDEN> (message from Andrea Corallo on Thu, 20 Oct 2022 07:23:55 +0000) Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp References: <87a65yd715.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> <87edv6ckof.fsf@HIDDEN> <83fsfl1c3r.fsf@HIDDEN> <xjfo7u9tewp.fsf@HIDDEN> <83mt9tynr9.fsf@HIDDEN> <xjfv8of7i1o.fsf@HIDDEN> <838rlbzl0a.fsf@HIDDEN> <xjfedv37gqu.fsf@HIDDEN> <83tu3zxaeu.fsf@HIDDEN> <xjfpmen556c.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: larsi@HIDDEN, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Andrea Corallo <akrl@HIDDEN> > Cc: larsi@HIDDEN, 58509 <at> debbugs.gnu.org > Date: Thu, 20 Oct 2022 07:23:55 +0000 > > Eli Zaretskii <eliz@HIDDEN> writes: > > >> From: Andrea Corallo <akrl@HIDDEN> > >> Cc: larsi@HIDDEN, 58509 <at> 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 > > We invoke a sync compilation for trampolines (but I think it's not > relevant here) > > > 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? > > Okay so IIUC your suggestion would be to: when we identify '--batch' we > search for a signature in the commandline to identify the trampoline > compilation and set in case `comp-no-spawn'? Yes. And if that works, my next question is: can we then remove the new -no-comp-spawn command-line option, or do we need it for some other cases?
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 20 Oct 2022 07:24:02 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 20 03:24:02 2022 Received: from localhost ([127.0.0.1]:32830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1olPuM-00049s-Di for submit <at> debbugs.gnu.org; Thu, 20 Oct 2022 03:24:02 -0400 Received: from mx.sdf.org ([205.166.94.24]:49545) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <akrl@HIDDEN>) id 1olPuJ-00049P-2W for 58509 <at> debbugs.gnu.org; Thu, 20 Oct 2022 03:24:01 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 29K7NtpU004272 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Thu, 20 Oct 2022 07:23:56 GMT From: Andrea Corallo <akrl@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <83tu3zxaeu.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 20 Oct 2022 09:43:21 +0300") References: <87a65yd715.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> <87edv6ckof.fsf@HIDDEN> <83fsfl1c3r.fsf@HIDDEN> <xjfo7u9tewp.fsf@HIDDEN> <83mt9tynr9.fsf@HIDDEN> <xjfv8of7i1o.fsf@HIDDEN> <838rlbzl0a.fsf@HIDDEN> <xjfedv37gqu.fsf@HIDDEN> <83tu3zxaeu.fsf@HIDDEN> Date: Thu, 20 Oct 2022 07:23:55 +0000 Message-ID: <xjfpmen556c.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58509 Cc: larsi@HIDDEN, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Andrea Corallo <akrl@HIDDEN> >> Cc: larsi@HIDDEN, 58509 <at> 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 We invoke a sync compilation for trampolines (but I think it's not relevant here) > 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? Okay so IIUC your suggestion would be to: when we identify '--batch' we search for a signature in the commandline to identify the trampoline compilation and set in case `comp-no-spawn'? Andrea
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 20 Oct 2022 06:43:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 20 02:43:42 2022 Received: from localhost ([127.0.0.1]:32775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1olPHJ-00033z-Rs for submit <at> debbugs.gnu.org; Thu, 20 Oct 2022 02:43:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1olPHF-00033k-Vn for 58509 <at> debbugs.gnu.org; Thu, 20 Oct 2022 02:43:40 -0400 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 <eliz@HIDDEN>) 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==; 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 <eliz@HIDDEN>) id 1olPH3-0007NU-IK; Thu, 20 Oct 2022 02:43:27 -0400 Date: Thu, 20 Oct 2022 09:43:21 +0300 Message-Id: <83tu3zxaeu.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Andrea Corallo <akrl@HIDDEN> In-Reply-To: <xjfedv37gqu.fsf@HIDDEN> (message from Andrea Corallo on Wed, 19 Oct 2022 19:31:05 +0000) Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> <87edv6ckof.fsf@HIDDEN> <83fsfl1c3r.fsf@HIDDEN> <xjfo7u9tewp.fsf@HIDDEN> <83mt9tynr9.fsf@HIDDEN> <xjfv8of7i1o.fsf@HIDDEN> <838rlbzl0a.fsf@HIDDEN> <xjfedv37gqu.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: larsi@HIDDEN, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Andrea Corallo <akrl@HIDDEN> > Cc: larsi@HIDDEN, 58509 <at> 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.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 19 Oct 2022 19:31:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 19 15:31:12 2022 Received: from localhost ([127.0.0.1]:60087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1olEmV-0002jm-VA for submit <at> debbugs.gnu.org; Wed, 19 Oct 2022 15:31:12 -0400 Received: from mx.sdf.org ([205.166.94.24]:63794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <akrl@HIDDEN>) id 1olEmT-0002jc-Dh for 58509 <at> debbugs.gnu.org; Wed, 19 Oct 2022 15:31:10 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 29JJV5cg024700 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 19 Oct 2022 19:31:06 GMT From: Andrea Corallo <akrl@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <838rlbzl0a.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 19 Oct 2022 22:11:33 +0300") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> <87edv6ckof.fsf@HIDDEN> <83fsfl1c3r.fsf@HIDDEN> <xjfo7u9tewp.fsf@HIDDEN> <83mt9tynr9.fsf@HIDDEN> <xjfv8of7i1o.fsf@HIDDEN> <838rlbzl0a.fsf@HIDDEN> Date: Wed, 19 Oct 2022 19:31:05 +0000 Message-ID: <xjfedv37gqu.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58509 Cc: larsi@HIDDEN, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Andrea Corallo <akrl@HIDDEN> >> Cc: larsi@HIDDEN, 58509 <at> debbugs.gnu.org >> Date: Wed, 19 Oct 2022 19:02:59 +0000 >> >> Eli Zaretskii <eliz@HIDDEN> writes: >> >> >> From: Andrea Corallo <akrl@HIDDEN> >> >> Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 58509 <at> debbugs.gnu.org >> >> Date: Tue, 18 Oct 2022 13:55:18 +0000 >> >> >> >> The attached works for me for fixing the trampoline issue (unless I did >> >> something wrong reproducing). >> >> >> >> I named the flag -no-comp-spawn from the variable it controls. Happy to >> >> rename it if we have something better, but being for internal use only >> >> maybe is already okay? >> > >> > On second thought: why do we need a special knob for that? Could we >> > instead _always_ compile trampolines "without spawning" in a --batch >> > session? >> >> Hi Eli, >> >> unfortunately we cannot as libgccjit leaks memory :/ > > I think there could be a misunderstanding here. What I meant is to do > whatever we do under -no-comp-spawn, but do it always for trampolines > in the --batch invocations, without the need to see -no-comp-spawn on > the command line. > "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? But I'm not sure I understand 100%, hope the explaination that follows helps clarifying. > Or maybe I misunderstand what -no-comp-spawn does, in which case can > you tell me what I missed? -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. Andrea
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 19 Oct 2022 19:11:52 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 19 15:11:52 2022 Received: from localhost ([127.0.0.1]:60052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1olETn-0002FL-Sk for submit <at> debbugs.gnu.org; Wed, 19 Oct 2022 15:11:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1olETj-0002F0-1z for 58509 <at> debbugs.gnu.org; Wed, 19 Oct 2022 15:11:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34130) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1olETb-0005s1-Mj; Wed, 19 Oct 2022 15:11:39 -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=iheFnC9qzCdRddIJu3w1XhuIh7ZNx4PCWLL+1pffFGA=; b=FWli4wenFOq1 igdd5uy/Dp83V+DjLfud4Vg6fN5n5cWSvRNGnP6PYs/GKwIYcaMK/Sb+mm6pqW0JTSZum/D4PgJBU r2x3LM31VGpEoWSwUaP+GYgL5FmKC6vdQTdSnTnq1jXMeL9DZTlBAdBWskiX5nmW2KDxiTYKDQSLq VqiZZSJZbLOqZQeJTnVbQO2dbzagZaQOkC1nDgEMOPGELTZvAvVKQrTVZxdQeKTm66IrssBadlKUh YJF2rVJLNrMRLU3xdYHp0veD9nwSUPxQMhWmLVNsYuF4SB6RqWltE4vdqT9xJW8Sf7guucTNKxdMP nK5enVYoTzvGcpcUHMGDBA==; Received: from [87.69.77.57] (port=3426 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1olETa-0007jY-Nc; Wed, 19 Oct 2022 15:11:39 -0400 Date: Wed, 19 Oct 2022 22:11:33 +0300 Message-Id: <838rlbzl0a.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Andrea Corallo <akrl@HIDDEN> In-Reply-To: <xjfv8of7i1o.fsf@HIDDEN> (message from Andrea Corallo on Wed, 19 Oct 2022 19:02:59 +0000) Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> <87edv6ckof.fsf@HIDDEN> <83fsfl1c3r.fsf@HIDDEN> <xjfo7u9tewp.fsf@HIDDEN> <83mt9tynr9.fsf@HIDDEN> <xjfv8of7i1o.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: larsi@HIDDEN, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Andrea Corallo <akrl@HIDDEN> > Cc: larsi@HIDDEN, 58509 <at> debbugs.gnu.org > Date: Wed, 19 Oct 2022 19:02:59 +0000 > > Eli Zaretskii <eliz@HIDDEN> writes: > > >> From: Andrea Corallo <akrl@HIDDEN> > >> Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 58509 <at> debbugs.gnu.org > >> Date: Tue, 18 Oct 2022 13:55:18 +0000 > >> > >> The attached works for me for fixing the trampoline issue (unless I did > >> something wrong reproducing). > >> > >> I named the flag -no-comp-spawn from the variable it controls. Happy to > >> rename it if we have something better, but being for internal use only > >> maybe is already okay? > > > > On second thought: why do we need a special knob for that? Could we > > instead _always_ compile trampolines "without spawning" in a --batch > > session? > > Hi Eli, > > unfortunately we cannot as libgccjit leaks memory :/ I think there could be a misunderstanding here. What I meant is to do whatever we do under -no-comp-spawn, but do it always for trampolines in the --batch invocations, without the need to see -no-comp-spawn on the command line. Or maybe I misunderstand what -no-comp-spawn does, in which case can you tell me what I missed? Thanks.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 19 Oct 2022 19:06:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 19 15:06:31 2022 Received: from localhost ([127.0.0.1]:60044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1olEOd-00027G-5F for submit <at> debbugs.gnu.org; Wed, 19 Oct 2022 15:06:31 -0400 Received: from mx.sdf.org ([205.166.94.24]:49594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <akrl@HIDDEN>) id 1olEOb-000278-E0 for 58509 <at> debbugs.gnu.org; Wed, 19 Oct 2022 15:06:29 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 29JJ6ShL017725 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 19 Oct 2022 19:06:28 GMT From: Andrea Corallo <akrl@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <875yghatgo.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Tue, 18 Oct 2022 20:15:51 +0200") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> <87edv6ckof.fsf@HIDDEN> <83fsfl1c3r.fsf@HIDDEN> <xjfo7u9tewp.fsf@HIDDEN> <875yghatgo.fsf@HIDDEN> Date: Wed, 19 Oct 2022 19:06:28 +0000 Message-ID: <xjfr0z37hvv.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58509 Cc: Eli Zaretskii <eliz@HIDDEN>, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Lars Ingebrigtsen <larsi@HIDDEN> writes: > Andrea Corallo <akrl@HIDDEN> writes: > > [...] > >> (put 'site-run-file 'standard-value '(nil))) >> + ((equal argi "-no-comp-spawn") > > That is not a good command line argument name, As I mentioned it would be for internal use only, but feel free to offer a better one. > and you haven't said why > you want to introduce yet another command line argument to tweak > behaviour in this area when we've already discussed adding the > --native-compile-sync command line argument. IIUC --native-compile-sync has a different semantic (and it might go in at a different time as well), this patch is avoid compilation recursion. I posted it in this bug as (as you mentioned) there was some related discussion. Best Regards Andrea
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 19 Oct 2022 19:03:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 19 15:03:12 2022 Received: from localhost ([127.0.0.1]:60036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1olELP-00022U-Pi for submit <at> debbugs.gnu.org; Wed, 19 Oct 2022 15:03:12 -0400 Received: from mx.sdf.org ([205.166.94.24]:49988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <akrl@HIDDEN>) id 1olELE-00021t-Px for 58509 <at> debbugs.gnu.org; Wed, 19 Oct 2022 15:03:11 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 29JJ2xiD027084 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 19 Oct 2022 19:02:59 GMT From: Andrea Corallo <akrl@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <83mt9tynr9.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 18 Oct 2022 21:45:14 +0300") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> <87edv6ckof.fsf@HIDDEN> <83fsfl1c3r.fsf@HIDDEN> <xjfo7u9tewp.fsf@HIDDEN> <83mt9tynr9.fsf@HIDDEN> Date: Wed, 19 Oct 2022 19:02:59 +0000 Message-ID: <xjfv8of7i1o.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58509 Cc: larsi@HIDDEN, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Andrea Corallo <akrl@HIDDEN> >> Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 58509 <at> debbugs.gnu.org >> Date: Tue, 18 Oct 2022 13:55:18 +0000 >> >> The attached works for me for fixing the trampoline issue (unless I did >> something wrong reproducing). >> >> I named the flag -no-comp-spawn from the variable it controls. Happy to >> rename it if we have something better, but being for internal use only >> maybe is already okay? > > On second thought: why do we need a special knob for that? Could we > instead _always_ compile trampolines "without spawning" in a --batch > session? Hi Eli, unfortunately we cannot as libgccjit leaks memory :/ BR Andrea
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 19 Oct 2022 09:06:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 19 05:06:52 2022 Received: from localhost ([127.0.0.1]:55798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ol52K-0001c9-MG for submit <at> debbugs.gnu.org; Wed, 19 Oct 2022 05:06:52 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1ol52G-0001bt-Ad for 58509 <at> debbugs.gnu.org; Wed, 19 Oct 2022 05:06:52 -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=Drwq4qcGCMDqHH7IWue4tv9JIFMZ8UR/L+GoUbRXmic=; b=gmerz5RH8JZMmuo1sQajDJQb+B JwDGkfvibJ0vYwj/Xg6Gv7xeBlprksa/GieQUE9dpe/PaiiSbI1v4DoKct0iMY42UITrNXdOAm2A1 O7lH/LsrPx1TpKW8+UCaU4A37sLH0qNA/uzMrIqzD7+MTL/WmmThaTXKX0VHQyDnQttI=; 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 <larsi@HIDDEN>) id 1ol526-0004JA-1R; Wed, 19 Oct 2022 11:06:40 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <83o7u9yo0q.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 18 Oct 2022 21:39:33 +0300") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> <87edv6ckof.fsf@HIDDEN> <83fsfl1c3r.fsf@HIDDEN> <87a65tatjc.fsf@HIDDEN> <83r0z5yobq.fsf@HIDDEN> <83o7u9yo0q.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEVSUlA2NjaQkI// ///QsdNOAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YKEwkGHElfcqkAAAFQSURBVCjPTZJNbuMwDIUf CwooupIG0qy7yKLHoAbJngakYo7jCXqFdp2jzqPioiEMG5/490gZ+DHBhpKSjnoRNPjrFR/Ab1yR 8I4X+/j79uv6hU96nvWE037aJWH6bPMwzAcjpNZNLEEbhg5CMxWdGG1koDkkE/bJ5sn4IvwLHdWY ER5ottJ7IUxYU5NuOTyojeHdVk4dCTI3uwWcfYAtcIvSRR3OlH1EGDpqzvQS2B+V5VEPEIrJoQ1Q PqK1LqjhQo0ReLwDz15zu+fYch9A60tO1mOh1DjDk52RUU2+Bw1QRZaBpz1FH8Z5xp9bWyB82dMd VCzGPgrIGV28t1gIqzaK1diOMTt6JSc0M90obC7gYcVlzkE54+LKXWntVO3TkrcuY64lVsK6S1Yb ZW5Fi4eCAsfF7pO+F97a7N7k3NZtj8erHyz9AHj4Kfq2Pv8BawJds+E/PckAAAAldEVYdGRhdGU6 Y3JlYXRlADIwMjItMTAtMTlUMDk6MDY6MjgrMDA6MDDmN2IcAAAAJXRFWHRkYXRlOm1vZGlmeQAy MDIyLTEwLTE5VDA5OjA2OjI4KzAwOjAwl2raoAAAAABJRU5ErkJggg== X-Now-Playing: Xeno & Oaklander's _Topiary_: "Marble" Date: Wed, 19 Oct 2022 11:06:37 +0200 Message-ID: <87o7u89o82.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> The sync case doesn't need a command-line switch, though? You can do >> it with --eval. > > Or with -f. OK, I'm done. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Eli Zaretskii <eliz@HIDDEN> writes: >> The sync case doesn't need a command-line switch, though? You can do >> it with --eval. > > Or with -f. OK, I'm done.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 18 Oct 2022 18:46:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 18 14:46:15 2022 Received: from localhost ([127.0.0.1]:54137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1okrbS-0000w9-R3 for submit <at> debbugs.gnu.org; Tue, 18 Oct 2022 14:46:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1okrbP-0000vt-Kc for 58509 <at> debbugs.gnu.org; Tue, 18 Oct 2022 14:46:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45070) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1okrbJ-0006Ip-Qq; Tue, 18 Oct 2022 14:46:05 -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=+sIyPjUPpKt9vufzfLO3xR5Q3qr2zOtZI2F2gzCtWTs=; b=rym/n33DF6Oi LLFf3A6eAYGUTimlowDrAJuQHYxbyHc3eG1P97NcIcNpSpxMIm6r4vFVHGrwL2YNK1/VaV5vVpPZb 911oyBYGmCOnyGMj3WAtfEPO6UgPKs2mEhMBsy49p5oDjeqmXw1SVSvrA/lMq0R/1za8q2qzF8kIQ WTuoxGz+63J9oNVlOlFvjidUErzd6NpRTERqRoDZbo6Zcn4pARHuJ4lX6NMf3lm20KddEliWyoO4u k25EaxZlCmZZ/46snBGioh+kMc8NMjEpx4LONBjNH3s45fV2K7BRZzYaeySMIgfJgl8LDSXFbChpP /Ldl4xhL02amr+Nbc6HbEQ==; Received: from [87.69.77.57] (port=1421 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1okrac-0003JQ-J0; Tue, 18 Oct 2022 14:45:26 -0400 Date: Tue, 18 Oct 2022 21:45:14 +0300 Message-Id: <83mt9tynr9.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Andrea Corallo <akrl@HIDDEN> In-Reply-To: <xjfo7u9tewp.fsf@HIDDEN> (message from Andrea Corallo on Tue, 18 Oct 2022 13:55:18 +0000) Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> <87edv6ckof.fsf@HIDDEN> <83fsfl1c3r.fsf@HIDDEN> <xjfo7u9tewp.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: larsi@HIDDEN, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Andrea Corallo <akrl@HIDDEN> > Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 58509 <at> debbugs.gnu.org > Date: Tue, 18 Oct 2022 13:55:18 +0000 > > The attached works for me for fixing the trampoline issue (unless I did > something wrong reproducing). > > I named the flag -no-comp-spawn from the variable it controls. Happy to > rename it if we have something better, but being for internal use only > maybe is already okay? On second thought: why do we need a special knob for that? Could we instead _always_ compile trampolines "without spawning" in a --batch session? IOW, when do we need --batch to compile trampolines asynchronously?
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 18 Oct 2022 18:39:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 18 14:39:56 2022 Received: from localhost ([127.0.0.1]:54131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1okrVM-0000lY-0s for submit <at> debbugs.gnu.org; Tue, 18 Oct 2022 14:39:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1okrVH-0000lH-0S for 58509 <at> debbugs.gnu.org; Tue, 18 Oct 2022 14:39:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1okrVB-00059g-Po; Tue, 18 Oct 2022 14:39:45 -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=WnSF3qWcSHC9jIecBeGhlpa3oPt9zis2mKinM3xGIhI=; b=jH4VF1VDvW3h rts7N8hBBZGZcEUdQ1Rf5Ua3GQnV4KFJAYQnZSJXWthoFUq0G277PnqrfNwH+7MRphfhkwMp2cAN9 ytfmrMb62T8brjAeYJwaUGp3PBEWcv/UGom4+70GVSyg/3znn9Pt66dxGQC3yTBSavpH1ICIpBgYk dtN4KX26Bzk5B+GfhCcasXEotjFz8/uOO9r0d6m6UIFeztN2nT+FZPA/qeZf6UrLBKCHVDkAihu4/ ZHR1dgIvzCK92HuBy77eYeZrA8RL1UnLy5RfxP1xhYhwlhhhd+XAkXnODDtO7B8/nRHcVioD0h3U7 FA8CmYtLPHfUhTE2fb4DDw==; Received: from [87.69.77.57] (port=1077 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1okrV7-0007jl-4T; Tue, 18 Oct 2022 14:39:45 -0400 Date: Tue, 18 Oct 2022 21:39:33 +0300 Message-Id: <83o7u9yo0q.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: larsi@HIDDEN In-Reply-To: <83r0z5yobq.fsf@HIDDEN> (message from Eli Zaretskii on Tue, 18 Oct 2022 21:32:57 +0300) Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> <87edv6ckof.fsf@HIDDEN> <83fsfl1c3r.fsf@HIDDEN> <87a65tatjc.fsf@HIDDEN> <83r0z5yobq.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN > Date: Tue, 18 Oct 2022 21:32:57 +0300 > From: Eli Zaretskii <eliz@HIDDEN> > > > From: Lars Ingebrigtsen <larsi@HIDDEN> > > Cc: akrl@HIDDEN, 58509 <at> debbugs.gnu.org > > Date: Tue, 18 Oct 2022 20:14:15 +0200 > > > > > 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? > > The sync case doesn't need a command-line switch, though? You can do > it with --eval. Or with -f.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 18 Oct 2022 18:33:37 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 18 14:33:37 2022 Received: from localhost ([127.0.0.1]:54113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1okrP7-0000bb-Lq for submit <at> debbugs.gnu.org; Tue, 18 Oct 2022 14:33:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1okrOw-0000bB-88 for 58509 <at> debbugs.gnu.org; Tue, 18 Oct 2022 14:33:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59248) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1okrOo-0004Eh-K2; Tue, 18 Oct 2022 14:33:10 -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=f4KpQOfrPG8uhjXoasjDp8EA9CWCPdjgmywItop96YA=; b=XMJTwl6e0lD3 aNdFdWM1cLxjxx4MhCHhx0XpGRf9WFvhnd/gP1Vm0TB+FPDcZ4Q/LsfcsuN5Xwp3nAgGhkDCf0LZR 7zEaFpiSqxrQAftrXZcuI4WwxIEVX+hp/vVTngOQQtywA4QfqdQNE/UjL5d0dGnbyLd39hVRftNSp 8z8Rc5skqRBfBmKhpG/A5QBGlvRxUspDdRi7b6cgjQvMh6SMmZQ587yXlBp7lTQQFZVStB5wwpg2x OxV0BZe+3tUS3mvEdDdhYKJ4w73mVDObI40mK63wFBYPthN6TpEQP8Ksk/4FHVhmXUA1rtYiSCfey 7uaAMgGjQ3PYIqVE0DfBsw==; Received: from [87.69.77.57] (port=4645 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1okrOj-0003Yo-Kg; Tue, 18 Oct 2022 14:33:09 -0400 Date: Tue, 18 Oct 2022 21:32:57 +0300 Message-Id: <83r0z5yobq.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> In-Reply-To: <87a65tatjc.fsf@HIDDEN> (message from Lars Ingebrigtsen on Tue, 18 Oct 2022 20:14:15 +0200) Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> <87edv6ckof.fsf@HIDDEN> <83fsfl1c3r.fsf@HIDDEN> <87a65tatjc.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen <larsi@HIDDEN> > Cc: akrl@HIDDEN, 58509 <at> debbugs.gnu.org > Date: Tue, 18 Oct 2022 20:14:15 +0200 > > > 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? The sync case doesn't need a command-line switch, though? You can do it with --eval.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 18 Oct 2022 18:16:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 18 14:16:05 2022 Received: from localhost ([127.0.0.1]:54085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1okr8H-00008k-56 for submit <at> debbugs.gnu.org; Tue, 18 Oct 2022 14:16:05 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1okr8E-00007t-Uo for 58509 <at> debbugs.gnu.org; Tue, 18 Oct 2022 14:16:04 -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=onhxf9B+AVbQrak6FJCZ83GXfS+2vJ6xgWz88ubwkiE=; b=b7UXbQm8GiSfABCXEhQe2SHF4H e9D4wIXcZjv6kllvOsKfceRoemuUAs+zdu+QYo4RaNI2fnm0cvyeOIOUKjjdnF77gQS6FBGg1ybrX jmzsCPzWWok6bh/Eu2Y788FuKX1WD5UgIGmpTrx8emolQu0+okS/f8SppTtfJr893sG0=; 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 <larsi@HIDDEN>) id 1okr86-0005RU-4U; Tue, 18 Oct 2022 20:15:56 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Andrea Corallo <akrl@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <xjfo7u9tewp.fsf@HIDDEN> (Andrea Corallo's message of "Tue, 18 Oct 2022 13:55:18 +0000") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> <87edv6ckof.fsf@HIDDEN> <83fsfl1c3r.fsf@HIDDEN> <xjfo7u9tewp.fsf@HIDDEN> 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" Date: Tue, 18 Oct 2022 20:15:51 +0200 Message-ID: <875yghatgo.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andrea Corallo <akrl@HIDDEN> writes: [...] > (put 'site-run-file 'standard-value '(nil))) > + ((equal argi "-no-comp-spawn") Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: Eli Zaretskii <eliz@HIDDEN>, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Andrea Corallo <akrl@HIDDEN> writes: [...] > (put 'site-run-file 'standard-value '(nil))) > + ((equal argi "-no-comp-spawn") That is not a good command line argument name, and you haven't said why you want to introduce yet another command line argument to tweak behaviour in this area when we've already discussed adding the --native-compile-sync command line argument.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 18 Oct 2022 18:14:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 18 14:14:34 2022 Received: from localhost ([127.0.0.1]:54077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1okr6o-000050-Dv for submit <at> debbugs.gnu.org; Tue, 18 Oct 2022 14:14:34 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1okr6k-0008WO-ON for 58509 <at> 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=; 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 <larsi@HIDDEN>) id 1okr6W-0005Ov-FR; Tue, 18 Oct 2022 20:14:18 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <83fsfl1c3r.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 18 Oct 2022 16:43:20 +0300") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> <87edv6ckof.fsf@HIDDEN> <83fsfl1c3r.fsf@HIDDEN> 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" Date: Tue, 18 Oct 2022 20:14:15 +0200 Message-ID: <87a65tatjc.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii <eliz@HIDDEN> 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? > [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Eli Zaretskii <eliz@HIDDEN> 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.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 18 Oct 2022 13:55:26 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 18 09:55:26 2022 Received: from localhost ([127.0.0.1]:52027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1okn3y-00054Q-DJ for submit <at> debbugs.gnu.org; Tue, 18 Oct 2022 09:55:26 -0400 Received: from mx.sdf.org ([205.166.94.24]:58540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <akrl@HIDDEN>) id 1okn3w-00052B-ED for 58509 <at> debbugs.gnu.org; Tue, 18 Oct 2022 09:55:21 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 29IDtIcW007194 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 18 Oct 2022 13:55:18 GMT From: Andrea Corallo <akrl@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <83fsfl1c3r.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 18 Oct 2022 16:43:20 +0300") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> <87edv6ckof.fsf@HIDDEN> <83fsfl1c3r.fsf@HIDDEN> Date: Tue, 18 Oct 2022 13:55:18 +0000 Message-ID: <xjfo7u9tewp.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58509 Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Eli Zaretskii <eliz@HIDDEN> writes: >> From: Lars Ingebrigtsen <larsi@HIDDEN> >> Cc: akrl@HIDDEN, 58509 <at> debbugs.gnu.org >> Date: Mon, 17 Oct 2022 21:30:24 +0200 >> >> Sure, we can do it via a command-line argument instead. Perhaps this >> fits well with the proposed --native-compile-sync switch, even. >> >> 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. The attached works for me for fixing the trampoline issue (unless I did something wrong reproducing). I named the flag -no-comp-spawn from the variable it controls. Happy to rename it if we have something better, but being for internal use only maybe is already okay? BR Andrea --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Set-comp-no-spawn-earlier-using-no-comp-spawn.patch From 01e8bc45a34f754af13e6ff05de71b320a15ffc0 Mon Sep 17 00:00:00 2001 From: Andrea Corallo <andrea.corallo@HIDDEN> Date: Tue, 18 Oct 2022 15:14:32 +0200 Subject: [PATCH] Set `comp-no-spawn' earlier using -no-comp-spawn * src/emacs.c (standard_args): Add '-no-comp-spawn' cmd line option. * lisp/startup.el (command-line): Parse '-no-comp-spawn' cmd line option. * lisp/emacs-lisp/comp.el (comp-run-async-workers, comp-final): Use '-no-comp-spawn'. --- lisp/emacs-lisp/comp.el | 10 +++++----- lisp/startup.el | 5 ++++- src/emacs.c | 1 + 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 2c9b79334b..ddfdbf286a 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -3689,8 +3689,7 @@ comp-final (print-circle t) (print-escape-multibyte t) (expr `((require 'comp) - (setf comp-no-spawn t - native-comp-verbose ,native-comp-verbose + (setf native-comp-verbose ,native-comp-verbose comp-libgccjit-reproducer ,comp-libgccjit-reproducer comp-ctxt ,comp-ctxt native-comp-eln-load-path ',native-comp-eln-load-path @@ -3716,7 +3715,8 @@ comp-final (if (zerop (call-process (expand-file-name invocation-name invocation-directory) - nil t t "--batch" "-l" temp-file)) + nil t t "-no-comp-spawn" "--batch" "-l" + temp-file)) (progn (delete-file temp-file) output) @@ -3947,7 +3947,6 @@ comp-run-async-workers source-file (comp-el-to-eln-filename source-file)))) do (let* ((expr `((require 'comp) (setq comp-async-compilation t - comp-no-spawn t warning-fill-column most-positive-fixnum) ,(let ((set (list 'setq))) (dolist (var '(comp-file-preloaded-p @@ -4004,7 +4003,8 @@ comp-run-async-workers :command (list (expand-file-name invocation-name invocation-directory) - "--batch" "-l" temp-file) + "-no-comp-spawn" "--batch" "-l" + temp-file) :sentinel (lambda (process _event) (run-hook-with-args diff --git a/lisp/startup.el b/lisp/startup.el index 725984b815..70267fc857 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -1198,7 +1198,7 @@ command-line ("--user") ("--iconic") ("--icon-type") ("--quick") ("--no-blinking-cursor") ("--basic-display") ("--dump-file") ("--temacs") ("--seccomp") - ("--init-directory"))) + ("--init-directory" "--no-comp-spawn"))) (argi (pop args)) (orig-argi argi) argval) @@ -1255,6 +1255,9 @@ command-line ((equal argi "-no-site-file") (setq site-run-file nil) (put 'site-run-file 'standard-value '(nil))) + ((equal argi "-no-comp-spawn") + (defvar comp-no-spawn) + (setq comp-no-spawn t)) ((equal argi "-debug-init") (setq init-file-debug t)) ((equal argi "-iconic") diff --git a/src/emacs.c b/src/emacs.c index 43e81b912c..8ad70fecd4 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -2564,6 +2564,7 @@ main (int argc, char **argv) { "-init-directory", "--init-directory", 30, 1 }, { "-no-x-resources", "--no-x-resources", 40, 0 }, { "-no-site-file", "--no-site-file", 40, 0 }, + { "-no-comp-spawn", "--no-comp-spawn", 60, 0 }, { "-u", "--user", 30, 1 }, { "-user", 0, 30, 1 }, { "-debug-init", "--debug-init", 20, 0 }, -- 2.25.1 --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 18 Oct 2022 13:43:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 18 09:43:44 2022 Received: from localhost ([127.0.0.1]:51647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1okmsi-0004eE-10 for submit <at> debbugs.gnu.org; Tue, 18 Oct 2022 09:43:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1okmsc-0004dt-8d for 58509 <at> debbugs.gnu.org; Tue, 18 Oct 2022 09:43:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37370) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1okmsV-0007MH-Fl; Tue, 18 Oct 2022 09: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=hfnUAWR0m3/cyG9d7OMVKBVBJG/qBDSEqPggzN6DzTo=; b=T77KzBALNUGk uzY07IBN0l2Ycsp9Neb5uXSwRwXo5vI+abnssuruhiwXkwrmUdvs5pVeTQUAKnUzqn17zHUC+3biP rUPOflvJmcxOnc3mjqqLHHwwMXKMDlorWLU7acxykcC7jB3Ut0qUyhgdpQxH9t9PQoXhT2yBrSuyS CsWbN/EvXvdCELepzjBnvYRFiQgyAQ4O6VSz7AgYa3CWABgxVc7lBvgKxiozRLJRgYrvQVRl9V614 lN0Apbqit29Mm2v9g+7FElPkmdZeQ3eUmlZrOZlnYOibZIk69HVe9HI2aUmk+oju/RqBpDROJ+v+k ZFvChADFMwXp/Tx6ZA9Yjg==; Received: from [87.69.77.57] (port=2283 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1okmsT-0005iH-GW; Tue, 18 Oct 2022 09:43:30 -0400 Date: Tue, 18 Oct 2022 16:43:20 +0300 Message-Id: <83fsfl1c3r.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> In-Reply-To: <87edv6ckof.fsf@HIDDEN> (message from Lars Ingebrigtsen on Mon, 17 Oct 2022 21:30:24 +0200) Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> <87edv6ckof.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen <larsi@HIDDEN> > Cc: akrl@HIDDEN, 58509 <at> debbugs.gnu.org > Date: Mon, 17 Oct 2022 21:30:24 +0200 > > Sure, we can do it via a command-line argument instead. Perhaps this > fits well with the proposed --native-compile-sync switch, even. > > 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.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 17 Oct 2022 19:30:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 17 15:30:39 2022 Received: from localhost ([127.0.0.1]:50081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1okVos-0006FZ-Tm for submit <at> debbugs.gnu.org; Mon, 17 Oct 2022 15:30:39 -0400 Received: from quimby.gnus.org ([95.216.78.240]:59316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1okVop-0006FH-IM for 58509 <at> debbugs.gnu.org; Mon, 17 Oct 2022 15:30:37 -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=sXyCgGJgSpvlHMviE/+XKH4DzSsVRlIMOJgBWz3GwH8=; b=YsjWKVpjv/g5ovrY3WidKITtxT SiiR6gyu6C7TNw1/QKil2A8Ibs8XNkDCjahNJ7PbhMs0y+VRFJcVAV8R7I76Iufm9ZOfBxY7+a6PZ g1oRdnrOt8fMFq7YDiOq+65deKdNrTcxodh0QWDsHulb1DBtZZ5TpNZbhvGdmO5oe2t4=; 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 <larsi@HIDDEN>) id 1okVoe-0003AX-VM; Mon, 17 Oct 2022 21:30:28 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <834jw236v8.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 17 Oct 2022 16:41:15 +0300") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> <834jw236v8.fsf@HIDDEN> X-Now-Playing: Laurel Halo's _Quarantine_: "Morcom" Date: Mon, 17 Oct 2022 21:30:24 +0200 Message-ID: <87edv6ckof.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > Thanks, but passing information via environment variable is not a good > idea, IME. It is much better to pass that via command-line arguments. > We've been moving away of the environment variables, [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Eli Zaretskii <eliz@HIDDEN> writes: > Thanks, but passing information via environment variable is not a good > idea, IME. It is much better to pass that via command-line arguments. > We've been moving away of the environment variables, albeit slowly, so > adding a new one would be a step back. Sure, we can do it via a command-line argument instead. Perhaps this fits well with the proposed --native-compile-sync switch, even. 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? Or a better name for the switch, if anybody has an idea -- I don't much like "mode" here, since that can be confused with Emacs modes...
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 17 Oct 2022 13:41:37 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 17 09:41:37 2022 Received: from localhost ([127.0.0.1]:47886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1okQN6-0000Wo-Ow for submit <at> debbugs.gnu.org; Mon, 17 Oct 2022 09:41:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1okQN4-0000Wc-O3 for 58509 <at> debbugs.gnu.org; Mon, 17 Oct 2022 09:41:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50362) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1okQMx-0005kf-99; Mon, 17 Oct 2022 09:41:28 -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=VzM3lOZg6CMoSx13EuND1ggUuP38vPqx2V7lHuyoF3k=; b=M1FxIPIFTtZR Ydfuw+QgQtqpJ3dlNM3HKoLx7nuLK9RKtKbXzwsvkx2Q3qPipIcKtI2CCn4wPNgYaNIeiX2hJkyBP RG8teUKxZYNLAC2lT7ky0sZKwL6YuaaUPYFEOIsaXs5IGlblXd52WV9Ak/h8pQTF7V/bZGRqFpwea 2kUTp8MDaxKlrGBdBMnkUETP1Gomsplb3e+dj6HKhvWbxnNzZkdlBxLlCLEp8RKpu3sqxY6MIxTH0 K9Zqh2IO5NngnY4+xRrNGrIh/nP/S4MsEUkdRNoi42aQNXhMcYtrmdQxrZVPJ9TalYsPdIuG0i/pc PmkEDl3c+q/FXOfIb6XcEw==; Received: from [87.69.77.57] (port=1811 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1okQMw-0007F0-Kv; Mon, 17 Oct 2022 09:41:27 -0400 Date: Mon, 17 Oct 2022 16:41:15 +0300 Message-Id: <834jw236v8.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> In-Reply-To: <878rleek7y.fsf@HIDDEN> (message from Lars Ingebrigtsen on Mon, 17 Oct 2022 13:57:21 +0200) Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> <878rleek7y.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen <larsi@HIDDEN> > Cc: Eli Zaretskii <eliz@HIDDEN>, 58509 <at> debbugs.gnu.org > Date: Mon, 17 Oct 2022 13:57:21 +0200 > > Lars Ingebrigtsen <larsi@HIDDEN> writes: > > > I.e., EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION=full when forking the > > compiling Emacs would do the trick without introducing yet another > > twiddle here. > > Something like the following simple patch. Thanks, but passing information via environment variable is not a good idea, IME. It is much better to pass that via command-line arguments. We've been moving away of the environment variables, albeit slowly, so adding a new one would be a step back.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 17 Oct 2022 11:57:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 17 07:57:44 2022 Received: from localhost ([127.0.0.1]:47612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1okOka-0006AU-G3 for submit <at> debbugs.gnu.org; Mon, 17 Oct 2022 07:57:44 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1okOkN-0006A3-LT for 58509 <at> debbugs.gnu.org; Mon, 17 Oct 2022 07:57:43 -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=kclyI/nrr04pFBe5XTWczjvUL33g+jNjLX7e1ilJgaM=; b=TW9XHLtdik/B1DlFGbn0T7PB6A d27eIMfpINGF9D3C29FQwHoqt94fJy6MGQS9Gzsyw/+NNWSSpoTLRyxaOwYwsMQgx7zhItOlLX24Q 7a/OeAMIDlsZ9TVwewuVQU9yg4CnuB2Jjmygr0hZzMDppNgX661U0sVjThcoYeYrsRlI=; 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 <larsi@HIDDEN>) id 1okOkD-00088d-OQ; Mon, 17 Oct 2022 13:57:24 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Andrea Corallo <akrl@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <87v8oielxp.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Mon, 17 Oct 2022 13:20:18 +0200") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> <87v8oielxp.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEXQ7fzb7vyr0MGG vF9noUlckzpIcjFMUTM/SDA1WCf////YdfGiAAAAAWJLR0QKaND0VgAAAAd0SU1FB+YKEQsUGJ9L 2oYAAAGASURBVDjLlZHhcYMwDIXFBmGFdIOSDWJyHQCbCVDCAAleoMEsAPW2lWQMJi137fvBHfr0 noQA2CrLs1wEvyj7F8jyw2EH5D9nZId81d9AvgNgB2wMKTjsAdgFmzA4vhXH4r1gnVQRdCSBmqXV RucIyhegZqARMUGnBZSGSBXrPIeA1roSTwRnAaUOQIVnNBTAdUkvk8mncwGIhkipxLm6FIFGXgmo xR1AeOHu1ASo19IlyQrDAzPdfUlSUEmKpg1s3X9ybBVPIoZ66Gr7vCfDw56qd1PtnJNV2FIGUGnU tiPw4GNqrkH4FZemslR3TwEskFBju57Kg+vleyMoKb135PDYpQ7alWOs8yNeo6ERgPaLgzzq69xv ELijc5Pjfmo38yEMYIN4GyYrBmzmJES67vVxG5z17CCZ+cGgd8PURRBFgAb7iZK2BEZsPakngC9A xI4NAR/ByGBNA7pDSwXHhjYFVGj92LrRE38BtM+HE+7n1WifAPzg/KJRGiCpbPQNJEFHZWYdcbIA AAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMTAtMTdUMTE6MjA6MjQrMDA6MDCTawVeAAAAJXRFWHRk YXRlOm1vZGlmeQAyMDIyLTEwLTE3VDExOjIwOjI0KzAwOjAw4ja94gAAAABJRU5ErkJggg== X-Now-Playing: Squid's _Bright Green Field_: "Peel St." Date: Mon, 17 Oct 2022 13:57:21 +0200 Message-ID: <878rleek7y.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen <larsi@HIDDEN> writes: > I.e., EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION=full when forking the > compiling Emacs would do the trick without introducing yet another > twiddle here. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58509 Cc: Eli Zaretskii <eliz@HIDDEN>, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Lars Ingebrigtsen <larsi@HIDDEN> writes: > I.e., EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION=full when forking the > compiling Emacs would do the trick without introducing yet another > twiddle here. Something like the following simple patch. I think this should fix the fork bomb problem, and it doesn't seem to introduce any other problems, but I've only tested it for a couple minutes. diff --git a/doc/lispref/compile.texi b/doc/lispref/compile.texi index 6f8431c55c..3ac4e90c2a 100644 --- a/doc/lispref/compile.texi +++ b/doc/lispref/compile.texi @@ -993,10 +993,14 @@ Native-Compilation Variables While setting this variable disables automatic compilation of Lisp files, the compiler may still be invoked to install @dfn{trampolines} if any built-in functions are redefined. However, these trampolines -will not get written to your cache directory. +will not get written to your cache directory. If this variable has +the special value @code{full}, even trampoline installation is +inhibited, which means that redefinition of built-in functions isn't +possible. You can also use the @samp{EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION} -environment variable to disable native compilation. +environment variable to disable automatic native compilation. If it's +@samp{"full"}, trampoline generation is also inhibited. @end defvar @defopt native-comp-speed diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index c300c44a8d..91851ad0f4 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -693,6 +693,7 @@ 'native-compiler-error-empty-byte (defun comp-subr-trampoline-install (subr-name) "Make SUBR-NAME effectively advice-able when called from native code." (unless (or (null comp-enable-subr-trampolines) + (eq inhibit-automatic-native-compilation 'full) (memq subr-name native-comp-never-optimize-functions) (gethash subr-name comp-installed-trampolines-h)) (cl-assert (subr-primitive-p (symbol-function subr-name))) @@ -3713,9 +3714,13 @@ comp-final (with-temp-buffer (unwind-protect (if (zerop - (call-process (expand-file-name invocation-name - invocation-directory) - nil t t "--batch" "-l" temp-file)) + (let ((process-environment + (cons + "EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION=full" + process-environment))) + (call-process (expand-file-name invocation-name + invocation-directory) + nil t t "--batch" "-l" temp-file))) (progn (delete-file temp-file) output) diff --git a/lisp/startup.el b/lisp/startup.el index 725984b815..7238bcc1cf 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -580,8 +580,12 @@ normal-top-level reads the initialization files, etc. It is the default value of the variable `top-level'." ;; Allow disabling automatic .elc->.eln processing. - (setq inhibit-automatic-native-compilation - (getenv "EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION")) + (let ((inhibit (getenv "EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION"))) + (when inhibit + (setq inhibit-automatic-native-compilation + (if (equal inhibit "full") + 'full + t)))) (if command-line-processed (message internal--top-level-message) diff --git a/src/comp.c b/src/comp.c index 14012634cc..946816e069 100644 --- a/src/comp.c +++ b/src/comp.c @@ -5682,6 +5682,12 @@ syms_of_comp (void) Vinhibit_automatic_native_compilation, doc: /* If non-nil, inhibit automatic native compilation of loaded .elc files. +If `full', also inhibit trampoline generation. Any other non-nil +value will inhibit automatic native compilation of loaded .elc files, +but will still generate trampolines (without writing them to the eln +cache). If `full', it's no longer possible to reliably redefine +built-in functions. + After compilation, each function definition is updated to the native compiled one. */); Vinhibit_automatic_native_compilation = Qnil;
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 17 Oct 2022 11:20:33 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 17 07:20:33 2022 Received: from localhost ([127.0.0.1]:47505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1okOAa-0002uT-N5 for submit <at> debbugs.gnu.org; Mon, 17 Oct 2022 07:20:32 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1okOAW-0002tu-Hg for 58509 <at> debbugs.gnu.org; Mon, 17 Oct 2022 07:20:31 -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=b6FR/kSo+CSu9hJIbjZ/kHBRqtXvZV82/ZIazuno7Hc=; b=m47qnZeQXmyy7n8+L2ST5Yc8Ur wdbeaYqDGW0/Ni6dU+6uFRZjmo0MsjYtiYHneJQPk2dKEmrl6joB0TgpmVt7TBBQgWQLeBT0bzmz1 Bs0qC2487uFAvI+K3UBFyZJ6BD9EsMhB4K8VuU1BugD6JIem2bnBr+DCT67qCEMyfSF0=; 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 <larsi@HIDDEN>) id 1okOAM-0007nY-Uw; Mon, 17 Oct 2022 13:20:21 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Andrea Corallo <akrl@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <xjfk04yvqdv.fsf@HIDDEN> (Andrea Corallo's message of "Mon, 17 Oct 2022 07:52:12 +0000") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> <xjfk04yvqdv.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUhHh0sKylYVlZ8 i6a3trb///8ShPSjAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YKEQolBTvS29oAAAGKSURBVDjLddLr tcMgCABgyARgFvDRBSou0BP2n+kC9mFuG09/9PgFBBSAYxU+rTIAAH9Ac4BfIDBXuoLtDPQF9AX1 BYRwBgshZIIo8wNpBWZYYOYKAErfwJ6K2r5A1BXZmPo3WC6CM9QZAYTI+X3GXmeI94FYHTig9Wcu OwJR/0HxGXvB3Rucf5t0j7Bf9BFQa3YQz1X9K7+dCYXeQD5fWmAcL/DcSPsCPeB500vEeELUnD+g apAqUbyZbKl8SoSqKg6M2fYx3yZwQHfYHLa8D7Ah1QdaqqP7IAOssJtDeyC3PiaUSBWQmgJuYqe3 zuhjmUBbUxspjy7SacsfsIhsYxhiq3ygW37vYUJO5Q3EdWTgpAGtRrkOuRoM3fUwuC9QMqeiDtbL CnebaFVt1rweD6vYgAxSrzZI1Zta9/poNmCMiC2nhB7hR3Sp8U4ILKJY76KHf6/32xEZRQboxfoJ fVxARFi6KxA55LxpWwp2PfbaZAyrZXjJsXpcbZN1+UXa+OD/vvQ24aqqPyJujKlnYVEjAAAAJXRF WHRkYXRlOmNyZWF0ZQAyMDIyLTEwLTE3VDEwOjM3OjA0KzAwOjAwL4ofHwAAACV0RVh0ZGF0ZTpt b2RpZnkAMjAyMi0xMC0xN1QxMDozNzowNCswMDowMF7Xp6MAAAAASUVORK5CYII= X-Now-Playing: Joni Mitchell's _Archives: The Reprise Years (3)_: "Michael From Mountains" Date: Mon, 17 Oct 2022 13:20:18 +0200 Message-ID: <87v8oielxp.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andrea Corallo <akrl@HIDDEN> writes: > I think `inhibit-automatic-native-compilation' does already too many > things (with an abstraction I find definitely too weak), that's the > reason I'm against it. I don't think I want it to do even [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: Eli Zaretskii <eliz@HIDDEN>, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Andrea Corallo <akrl@HIDDEN> writes: > I think `inhibit-automatic-native-compilation' does already too many > things (with an abstraction I find definitely too weak), that's the > reason I'm against it. I don't think I want it to do even more. Well, the "more" here is very small. A new value like `full' or `total' to `inhibit-automatic-native-compilation' would solve the fork bomb subr problem. I.e., EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION=full when forking the compiling Emacs would do the trick without introducing yet another twiddle here.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 17 Oct 2022 07:52:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 17 03:52:16 2022 Received: from localhost ([127.0.0.1]:47114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1okKv1-00035t-OZ for submit <at> debbugs.gnu.org; Mon, 17 Oct 2022 03:52:16 -0400 Received: from mx.sdf.org ([205.166.94.24]:61476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <akrl@HIDDEN>) id 1okKuz-00035l-MW for 58509 <at> debbugs.gnu.org; Mon, 17 Oct 2022 03:52:14 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 29H7qCJn000513 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 17 Oct 2022 07:52:13 GMT From: Andrea Corallo <akrl@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <871qr82lu6.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Sun, 16 Oct 2022 10:50:57 +0200") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> <871qr82lu6.fsf@HIDDEN> Date: Mon, 17 Oct 2022 07:52:12 +0000 Message-ID: <xjfk04yvqdv.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58509 Cc: Eli Zaretskii <eliz@HIDDEN>, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Lars Ingebrigtsen <larsi@HIDDEN> writes: > Andrea Corallo <akrl@HIDDEN> writes: > >> Yes, ATM we break circularity as in noninteractive sessions we disable >> native compilation, if we allow for it we just have to handle the case. >> The mechanism discussed for trampolines on emacs-devel should be >> extended for lisp code as well and should do the job. > > Yup. Perhaps we could just have a special value for > `inhibit-automatic-native-compilation' to also skip trampoline > generation totally? I think `inhibit-automatic-native-compilation' does already too many things (with an abstraction I find definitely too weak), that's the reason I'm against it. I don't think I want it to do even more. Andrea
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 16 Oct 2022 08:51:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 16 04:51:11 2022 Received: from localhost ([127.0.0.1]:43329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojzMV-0005uI-8o for submit <at> debbugs.gnu.org; Sun, 16 Oct 2022 04:51:11 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1ojzMT-0005u3-5Q for 58509 <at> debbugs.gnu.org; Sun, 16 Oct 2022 04:51:09 -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=sFVTyvv35fvkP5/taptNLonj6rs7aOQyAOtkg00IOBs=; b=hbN/RbSJoL4a5qZrr0Om41QSv7 yIwOnW6ipsKkiG4YR/3/SDsNhRzqnt/KTyrz4Sv7eWRwNg8XN3xd51BuvQkhwruYWpIpr5dGeD0af 7E/qnkzL5sdo/5VBIeAIMBWsLXQBbWxOnAHYQUr0g3rMsy/qamF5uAKZ0pTlhyZYEb10=; 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 <larsi@HIDDEN>) id 1ojzMK-0004G9-0g; Sun, 16 Oct 2022 10:51:02 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Andrea Corallo <akrl@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <xjfedv9vymg.fsf@HIDDEN> (Andrea Corallo's message of "Sat, 15 Oct 2022 16:29:43 +0000") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> <xjfedv9vymg.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEX9/f3duqakYVKt invZ1M8ZFhRfS0apoZn///8B22NGAAAAAWJLR0QIht6VegAAAAd0SU1FB+YKEAggEJBAeH8AAAGu SURBVDjL3ZJNV+owEIaLRrpt2mq3CBfdWlC7bTHndnulTtgqknRbpDR/33xCFX7BnUV6Ok/ed2aS eN7/E+EkP5sfjKfVWXAxnjy/n3fCYeWhNiYFQQXBZVwY63E6D3nucxV/acbr2a5ReTROw3AdIKIC EYFbbBQva4zD9cgZ4yhOcaAEd5UEdHOm2WqOI/Z62tRsGeEbzkcnIKQY/3lmHydgwSivp0BPjqVj sJwCwG/JgAP9VIA1PwGacegoAw5LlyrMh7BVJwWcQW12ckiN19NowpQVwKP6vwR2ayT7XCggQ3c2 BLDVrh+SjhpSSTKkYG9nMSqzNRw0UvHm2ih3O5uHlXcNcrHh7yJThXKoWU+BtvOp81LLynPnU6YO gJY2DvjpPYOjxs0qvb6y0mmYcqOtBeFXcwm9qGMLokkz7IPWFkFCKEBlv6aWK47w1igCD+01sKQQ IlCAqk09BYqFaH0LvL39KkBKA+BBDQWw6YGttnjTXq+H2nHSCQ0qfYX/joeYiCwHW8Snx/ci2jxL DmBzfHsk8MpEjkbV4V38esZ6QKJqvP8EV26wgX5F342HlaYHMLL1AAAAJXRFWHRkYXRlOmNyZWF0 ZQAyMDIyLTEwLTE2VDA4OjMyOjE2KzAwOjAw+/JmZgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0x MC0xNlQwODozMjoxNiswMDowMIqv3toAAAAASUVORK5CYII= X-Now-Playing: =?utf-8?B?UsOzaXPDrW4=?= Murphy's _Ruby Blue_: "Sow Into You" Date: Sun, 16 Oct 2022 10:50:57 +0200 Message-ID: <871qr82lu6.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andrea Corallo <akrl@HIDDEN> writes: > Yes, ATM we break circularity as in noninteractive sessions we disable > native compilation, if we allow for it we just have to handle the case. > The mechanism discussed for trampolines on emacs-de [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: Eli Zaretskii <eliz@HIDDEN>, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Andrea Corallo <akrl@HIDDEN> writes: > Yes, ATM we break circularity as in noninteractive sessions we disable > native compilation, if we allow for it we just have to handle the case. > The mechanism discussed for trampolines on emacs-devel should be > extended for lisp code as well and should do the job. Yup. Perhaps we could just have a special value for `inhibit-automatic-native-compilation' to also skip trampoline generation totally?
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 15 Oct 2022 16:29:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 15 12:29:51 2022 Received: from localhost ([127.0.0.1]:42577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojk2p-0003tA-IU for submit <at> debbugs.gnu.org; Sat, 15 Oct 2022 12:29:51 -0400 Received: from mx.sdf.org ([205.166.94.24]:60926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <akrl@HIDDEN>) id 1ojk2k-0003sz-49 for 58509 <at> debbugs.gnu.org; Sat, 15 Oct 2022 12:29:49 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 29FGThCG005511 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sat, 15 Oct 2022 16:29:44 GMT From: Andrea Corallo <akrl@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <87a65x786i.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Sat, 15 Oct 2022 11:22:29 +0200") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> <87a65x786i.fsf@HIDDEN> Date: Sat, 15 Oct 2022 16:29:43 +0000 Message-ID: <xjfedv9vymg.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58509 Cc: Eli Zaretskii <eliz@HIDDEN>, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Lars Ingebrigtsen <larsi@HIDDEN> writes: > Andrea Corallo <akrl@HIDDEN> writes: > >> to get practical I think what Lars'd like to have is: at the end of >> 'maybe_swap_for_eln', in case the .eln is not found, a syncronous >> invocation of the native compiler to produce and use the .eln file >> (indeed only when this flag is used). >> >> In principal as decribed it should be relatively easy, the only >> technical caveat I can think of now are potential circular dependecies >> generated by loading comp.el. > > It's kinda the same problem as with the infinite recursion problem with > the trampolines, so perhaps this could have the same solution? I.e., in > the Emacs that we fork to do the nativecomp, we should switch off both > JIT and trampoline generation? (We'd need to add such a mechanism, of > course.) Yes, ATM we break circularity as in noninteractive sessions we disable native compilation, if we allow for it we just have to handle the case. The mechanism discussed for trampolines on emacs-devel should be extended for lisp code as well and should do the job.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 15 Oct 2022 09:22:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 15 05:22:56 2022 Received: from localhost ([127.0.0.1]:39451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojdNf-0007Sj-Nk for submit <at> debbugs.gnu.org; Sat, 15 Oct 2022 05:22:56 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1ojdNQ-0007SD-IU for 58509 <at> debbugs.gnu.org; Sat, 15 Oct 2022 05:22:53 -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=XpI9ZcGRmL7J5kj7FMDFeyPvp7ai9C4A9NJImaip1Bs=; b=a92iygc4/2evs9tvJlQKwLVnnb +PaiMp4Vz9Ffs+x03MqNc3DYpcVEVd4N1JL6CIKLu/cb2Q5vMSDJaeaNWlc5Sjp3vLzJM672rnTT+ yiFrcJYi/c5odwox5FMMyoQLk/HThy1vksvDiSgCH/YAZLZP8JnSqJHTIgbFee7mKSSg=; 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 <larsi@HIDDEN>) id 1ojdNH-0006bV-Q6; Sat, 15 Oct 2022 11:22:33 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Andrea Corallo <akrl@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <xjf1qraythl.fsf@HIDDEN> (Andrea Corallo's message of "Fri, 14 Oct 2022 21:40:06 +0000") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXGfIbRPEBTVrX/ //8XHU2tAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YKDwkFMEplpa4AAAF1SURBVCjPNdC9bqQwEAfw v6MQnbZiJbvZJ7jbp8CnuKEyKw8FXaRsEZ6CFDTpLoqbVJuC1TJPeTM4cYHmx3xh4LpUjRRID2JM bshdQWMj9Usq8Lbz1Vrq4O59ZVra6gB7b0M7kyMKgHuM4WF9kUSWaVbmcf4XaEETjLWuzWklhxh8 APXXxDOBUq1jxw/+IlSp9pRwWHg5oYrUUARW5h2MbHIJ/jczQ49N7nE8CpoKv2qENGyQ7hqO/n4K DJGJ8sC1wDeyDX8UIcnA09zsSgYwpxl3P5DL0E/G6DV1tPZWlDRRIFWtxKvUR0EvMX+hdg32/lCw PwP7NCpeQccJljRmWS5wSeOLQTxe4E6KySCzYJD4Jpc+CyrtvwhIX/E3ZvmKu61FIIOmXUGHN/4+ U0U4anBTuILri36/zdDEQu/MXm45bBj4ZqRH9y3nXld3G/IzcYbpMdxGybRMnnqQ1C/yC/J+A/GV Pg8T8KAY+Cn3HAu2w5n6/2Byy0hq/tYqAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTEwLTE1VDA5 OjA1OjQ4KzAwOjAwbE0DUAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0xMC0xNVQwOTowNTo0OCsw MDowMB0Qu+wAAAAASUVORK5CYII= X-Now-Playing: Bill Callahan & Bonnie Prince Billy's _Blind Date Party (1)_: "Wish You Were Gay" Date: Sat, 15 Oct 2022 11:22:29 +0200 Message-ID: <87a65x786i.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andrea Corallo <akrl@HIDDEN> writes: > to get practical I think what Lars'd like to have is: at the end of > 'maybe_swap_for_eln', in case the .eln is not found, a syncronous > invocation of the native compiler to produce and use the .el [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58509 Cc: Eli Zaretskii <eliz@HIDDEN>, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Andrea Corallo <akrl@HIDDEN> writes: > to get practical I think what Lars'd like to have is: at the end of > 'maybe_swap_for_eln', in case the .eln is not found, a syncronous > invocation of the native compiler to produce and use the .eln file > (indeed only when this flag is used). > > In principal as decribed it should be relatively easy, the only > technical caveat I can think of now are potential circular dependecies > generated by loading comp.el. It's kinda the same problem as with the infinite recursion problem with the trampolines, so perhaps this could have the same solution? I.e., in the Emacs that we fork to do the nativecomp, we should switch off both JIT and trampoline generation? (We'd need to add such a mechanism, of course.) > The comment I have is that we could have this mode capable of being used > also in interactive sessions, in case I think we should really think of > a better name for the flag, something like --native-compile-sync? Or > anyway something that highlights the "synchronousness" of the enabled > mechanism. Yes, that's a better name for the switch.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 15 Oct 2022 06:46:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 15 02:46:12 2022 Received: from localhost ([127.0.0.1]:39288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojaw0-0000yR-26 for submit <at> debbugs.gnu.org; Sat, 15 Oct 2022 02:46:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ojavx-0000yB-UD for 58509 <at> debbugs.gnu.org; Sat, 15 Oct 2022 02:46:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40268) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1ojavs-0003ri-Mm; Sat, 15 Oct 2022 02:46:04 -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=Pl8bzJevKIzupTVo/7b4AVfctQ/9va5pX4w2A9v9HRU=; b=ZAbR+8EBD2Yp gOszrlelCYrgImpeW9GQyZXeVlRk9V5jQbEIKKa3c9l+TR6IKuX5ZXjndBLk+wVZN683ECUsbpEcI med4i5QdmgNg+gqVPjPCxxEYe71oBoWGebpCi+ELwQw7mzF6Mga9C8vbvpSS44xe9TmmyxupOpxSV QKNkGkP7gwV/IZjsXTys648zXVsce3a8c5dgKjdsGrEb+T859TD80YVI2OPkrbwsdnVv8AF0gZ5sD yg5wEaSRhEaMnMzgdx+yGnMwgX/jZO4vz6iJ738gnh2mp+qcVrIe6LtuaKrOz0/02Rss0xRYyY5OP 2SzRQyfXFo9LuFiMeY5wlA==; Received: from [87.69.77.57] (port=2431 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1ojavs-0002jd-5O; Sat, 15 Oct 2022 02:46:04 -0400 Date: Sat, 15 Oct 2022 09:45:52 +0300 Message-Id: <83pmet7ffj.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Andrea Corallo <akrl@HIDDEN> In-Reply-To: <xjf1qraythl.fsf@HIDDEN> (message from Andrea Corallo on Fri, 14 Oct 2022 21:40:06 +0000) Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <xjf1qraythl.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: larsi@HIDDEN, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Andrea Corallo <akrl@HIDDEN> > Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 58509 <at> debbugs.gnu.org > Date: Fri, 14 Oct 2022 21:40:06 +0000 > > to get practical I think what Lars'd like to have is: at the end of > 'maybe_swap_for_eln', in case the .eln is not found, a syncronous > invocation of the native compiler to produce and use the .eln file > (indeed only when this flag is used). > > In principal as decribed it should be relatively easy, the only > technical caveat I can think of now are potential circular dependecies > generated by loading comp.el. Exactly. Couldn't this cause an infinite recursion, if compiling a file needs to load some other file that also needs to be compiled, etc. etc.? For example, if some primitive is advised, we'd need to compile the same trampoline, recursively, no? How do we break such vicious circles? > The comment I have is that we could have this mode capable of being used > also in interactive sessions, in case I think we should really think of > a better name for the flag, something like --native-compile-sync? Or > anyway something that highlights the "synchronousness" of the enabled > mechanism. I don't think the synchronous part is important here. What is important is that the Lisp code is natively-compiled before it is loaded into Emacs. So something like native-compile-before-load, perhaps? Which also suggests a way out of the circular dependency thing: we could start the compilation in a subprocess and wait for it to finish. Then any circular dependencies would be solved in the subprocess -- which will run with --batch, so it will simply use byte-compiled Lisp for its compilation when the corresponding .eln files aren't available. Of course, this means when the "main" Emacs loads the just-produced .eln file, it will find that dependency .el files were not yet compiled, and will have to stop and wait for their compilation. But that is inevitable, I think, and will simply mean we are serializing the recursion in a brute-force manner. Does this make sense?
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 14 Oct 2022 21:40:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 17:40:11 2022 Received: from localhost ([127.0.0.1]:38847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojSPa-0000f7-Oz for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 17:40:10 -0400 Received: from mx.sdf.org ([205.166.94.24]:55075) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <akrl@HIDDEN>) id 1ojSPY-0000ev-Op for 58509 <at> debbugs.gnu.org; Fri, 14 Oct 2022 17:40:09 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 29ELe6H3011841 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Fri, 14 Oct 2022 21:40:07 GMT From: Andrea Corallo <akrl@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <83k0528w1w.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 14 Oct 2022 14:49:15 +0300") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> Date: Fri, 14 Oct 2022 21:40:06 +0000 Message-ID: <xjf1qraythl.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58509 Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 58509 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: [...] > Let's wait for Andrea to chime in. Hi Eli, to get practical I think what Lars'd like to have is: at the end of 'maybe_swap_for_eln', in case the .eln is not found, a syncronous invocation of the native compiler to produce and use the .eln file (indeed only when this flag is used). In principal as decribed it should be relatively easy, the only technical caveat I can think of now are potential circular dependecies generated by loading comp.el. The comment I have is that we could have this mode capable of being used also in interactive sessions, in case I think we should really think of a better name for the flag, something like --native-compile-sync? Or anyway something that highlights the "synchronousness" of the enabled mechanism. Best Regards Andrea
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 14 Oct 2022 13:15:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 09:15:43 2022 Received: from localhost ([127.0.0.1]:36225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojKXP-0002qD-5M for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 09:15:43 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1ojKXN-0002pz-JW for 58509 <at> debbugs.gnu.org; Fri, 14 Oct 2022 09:15:42 -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=4ihL8BASe57Rja5SP98mqZCjNeIqhTlfYXLddT6EZbY=; b=pSinYnHjcye246OeVwwYCGba7G dSeNhaWHuhGF4VjDhrV9/XiqGxKEp83ofUfeqVtYWXR+ei1A3YuyRzuggqgErjc2Qh2QHsgaph+vp +kAzJs/z8ZIc+Jhvm9GLCvnOJ6k8XC4oAZqC9ifDibd0n/7ZX4HuiDD/lAKOvLKkSE0g=; 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 <larsi@HIDDEN>) id 1ojKXD-0006F7-L8; Fri, 14 Oct 2022 15:15:33 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <838rli8siw.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 14 Oct 2022 16:05:27 +0300") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <87pmeuaaio.fsf@HIDDEN> <83ilkm8vv7.fsf@HIDDEN> <87lepiaa4s.fsf@HIDDEN> <83edva8v1j.fsf@HIDDEN> <874jw6a96f.fsf@HIDDEN> <83bkqe8t0i.fsf@HIDDEN> <87mt9y8ssr.fsf@HIDDEN> <838rli8siw.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEWHX0hULyM/KiX/ //9fL2cNAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YKDgsSKZC1OvMAAAHESURBVCjPRZFNi5MxEMen sivsbYU+4vbuwX6KIj4Fe9otm2DmpmyCM59CRBfsaZ/SBJNbpRM28ylND+LcfmTm/0IA/s8MzONm nM1nZ7iAITlrvM0PNwPCUMg8+Rgnf8uwcGQmN6Xt7Z3C8I5k8my3Zl3gta1fxePaxssN3CSKzafk 4p2FNyEcZDABx3kCw07MwihfzRFqRrd0vtDVYIHEOjbE7t5byPRwcsao+yQdrDSDVVO87JDijZ7n 0G9aOQwrMNpyf2kmv1wB6KnYDm9zWcEL1Zgs1LCPH/BYxEeEFEP8qR3QFhDTbNKqz2osPPv25aws 3BNEz6EQa0XCbkoa6VWpFBCapSptpjqGLsCjNr1m3mq/kaTarlGOaLtPZG23qNLjiFJRPW7USYBW nQh3eKQEUjf5sDyOumva11B+L08jIyNEJfq1fPKMFkEKmh8A5zwLUKz4DYbu5RYwZSLu4oq8hgmR XGu12B6nN9Srmu9abAtoEgUrOefdFvQjH4P6EvJ9gobGf871e2oX56CJQ+Y9y/o9TFR53cpeZAwQ T5HSWPY72fRfyNnI2iZWDJAbpt42yAEZel2XQkB3jwh/dKf/5i+i6AE30+DuCQAAACV0RVh0ZGF0 ZTpjcmVhdGUAMjAyMi0xMC0xNFQxMToxODo0MSswMDowMKTBsXkAAAAldEVYdGRhdGU6bW9kaWZ5 ADIwMjItMTAtMTRUMTE6MTg6NDErMDA6MDDVnAnFAAAAAElFTkSuQmCC X-Now-Playing: Badsista's _L'Esprit de Nyege 2020_: "Nile River Dancing" Date: Fri, 14 Oct 2022 15:15:31 +0200 Message-ID: <875ygm8s24.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> That doesn't sound like a good interface, and fortunately that's not >> how Emacs works interactively. > > Interactively, async compilation is triggered by actually _loading_ > stuff. You cannot ha [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Eli Zaretskii <eliz@HIDDEN> writes: >> That doesn't sound like a good interface, and fortunately that's not >> how Emacs works interactively. > > Interactively, async compilation is triggered by actually _loading_ > stuff. You cannot have Emacs load everything that is need for some > function call, unless you let the code of that function actually run, > because only running it will reveal all that's needed to be loaded. > Think about autoloads, eval-after-load, etc. How can Emacs know what > files to compile ahead of running the code you are asking it to run? > Or what am I missing? It really sounds like you're not familiar with how the nativecomp machinery works? When Emacs is asked to load a file, no matter how it is asked to do so, it (eventually) looks at the .elc file (if any). This makes the native-comp machinery kick in, and at present (like I said in the original description here) it adds the .el file to a list of files that will be native-compiled in the background, and then loads the .eln file later. And like I said, at that point, we could instead just go ahead and native-compile the .el file, and then load the .eln file instead of loading the .elc file, synchronously. Nothing needs to be known in advance, because the nativecomp machinery already has all this under control. And, yes, this thread has been really annoying, because I explained all this in the first message already.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 14 Oct 2022 13:06:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 09:06:01 2022 Received: from localhost ([127.0.0.1]:36203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojKO0-0002ZH-Gw for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 09:06:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ojKNu-0002Yz-7c for 58509 <at> debbugs.gnu.org; Fri, 14 Oct 2022 09:05:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1ojKNo-0002vr-Vh; Fri, 14 Oct 2022 09:05:49 -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=dZbiadE1T/MxDlYL2pTtFE5spp1dA29sCGBRulEZOMQ=; b=ksGi2zVOq/Q1 oc8M3FQrrlRcMH88UbQazmu647vfL2Vshz8wPJPseQGeTwOt1TEJuqqx9GWcib6l3tjXw7rz5OYrZ VVTQI5/2fGqwgVXUoiwtnDBgCUOZJqCy7AAaCbZfYDAdURS9qkPc9AwD9CifuPnZ+OZ5lFwwRJ23j /Jioqunhla0G2LocX5Zi+bn58xfhlaAmUMhf2xS1xILQyn9ZcN69cQtaZG12usVtO7qdAfthVqUjb FL15y9VHKbafoGH+cShajJRhl9rJ3abGv9/bTV6fjVaAsFBsQ8mjlMF84chnuEoereNFR9HHKaGEF OG4my3G/QQrAozBk2nDaeg==; Received: from [87.69.77.57] (port=1068 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1ojKNh-0002Fv-2o; Fri, 14 Oct 2022 09:05:48 -0400 Date: Fri, 14 Oct 2022 16:05:27 +0300 Message-Id: <838rli8siw.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> In-Reply-To: <87mt9y8ssr.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 14 Oct 2022 14:59:32 +0200) Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <87pmeuaaio.fsf@HIDDEN> <83ilkm8vv7.fsf@HIDDEN> <87lepiaa4s.fsf@HIDDEN> <83edva8v1j.fsf@HIDDEN> <874jw6a96f.fsf@HIDDEN> <83bkqe8t0i.fsf@HIDDEN> <87mt9y8ssr.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen <larsi@HIDDEN> > Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN > Date: Fri, 14 Oct 2022 14:59:32 +0200 > > > emacs --batch --batch-native-compile lisp/gnus/gnus*.el --eval '(gnus) > > > > which is what I had in mind? > > You're suggesting that users should compute with files a command will > load, then compile those, and then start the command? What else is possible in --batch? > That doesn't sound like a good interface, and fortunately that's not > how Emacs works interactively. Interactively, async compilation is triggered by actually _loading_ stuff. You cannot have Emacs load everything that is need for some function call, unless you let the code of that function actually run, because only running it will reveal all that's needed to be loaded. Think about autoloads, eval-after-load, etc. How can Emacs know what files to compile ahead of running the code you are asking it to run? Or what am I missing?
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 14 Oct 2022 12:59:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 08:59:46 2022 Received: from localhost ([127.0.0.1]:36184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojKHx-0002Ms-O3 for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 08:59:46 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46334) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1ojKHv-0002MV-6c for 58509 <at> debbugs.gnu.org; Fri, 14 Oct 2022 08:59:43 -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=D+4tj5LyBm6nsiya4JW/+vW3HuURP/xe++I0I2z/BOo=; b=k+dB77jpaY/O3PfJP3D+yAnrbl GwbZJTD6zvS8UcHxdwivpjMLd48uZ2kaSpyyv3RJlM9mwokgGdPmz5GzX1wJTGAb+VFHtFHbAN1fB OIIFUzY32Ee908PwbuDTFerrL5PdLJSgrXMWoL8Lmj/3NxwecwfLktEgTdNtrpAgJnDE=; 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 <larsi@HIDDEN>) id 1ojKHk-00065R-S4; Fri, 14 Oct 2022 14:59:34 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <83bkqe8t0i.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 14 Oct 2022 15:54:53 +0300") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <87pmeuaaio.fsf@HIDDEN> <83ilkm8vv7.fsf@HIDDEN> <87lepiaa4s.fsf@HIDDEN> <83edva8v1j.fsf@HIDDEN> <874jw6a96f.fsf@HIDDEN> <83bkqe8t0i.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEWHX0hULyM/KiX/ //9fL2cNAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YKDgsSKZC1OvMAAAHESURBVCjPRZFNi5MxEMen sivsbYU+4vbuwX6KIj4Fe9otm2DmpmyCM59CRBfsaZ/SBJNbpRM28ylND+LcfmTm/0IA/s8MzONm nM1nZ7iAITlrvM0PNwPCUMg8+Rgnf8uwcGQmN6Xt7Z3C8I5k8my3Zl3gta1fxePaxssN3CSKzafk 4p2FNyEcZDABx3kCw07MwihfzRFqRrd0vtDVYIHEOjbE7t5byPRwcsao+yQdrDSDVVO87JDijZ7n 0G9aOQwrMNpyf2kmv1wB6KnYDm9zWcEL1Zgs1LCPH/BYxEeEFEP8qR3QFhDTbNKqz2osPPv25aws 3BNEz6EQa0XCbkoa6VWpFBCapSptpjqGLsCjNr1m3mq/kaTarlGOaLtPZG23qNLjiFJRPW7USYBW nQh3eKQEUjf5sDyOumva11B+L08jIyNEJfq1fPKMFkEKmh8A5zwLUKz4DYbu5RYwZSLu4oq8hgmR XGu12B6nN9Srmu9abAtoEgUrOefdFvQjH4P6EvJ9gobGf871e2oX56CJQ+Y9y/o9TFR53cpeZAwQ T5HSWPY72fRfyNnI2iZWDJAbpt42yAEZel2XQkB3jwh/dKf/5i+i6AE30+DuCQAAACV0RVh0ZGF0 ZTpjcmVhdGUAMjAyMi0xMC0xNFQxMToxODo0MSswMDowMKTBsXkAAAAldEVYdGRhdGU6bW9kaWZ5 ADIwMjItMTAtMTRUMTE6MTg6NDErMDA6MDDVnAnFAAAAAElFTkSuQmCC X-Now-Playing: Nilotika Cultural Ensemble's _L'Esprit de Nyege 2020_: "We Love Nilotika" Date: Fri, 14 Oct 2022 14:59:32 +0200 Message-ID: <87mt9y8ssr.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> You missed that the --native-compile there is in no way related to the >> -l that follows. I.e., for instance: >> >> emacs --batch --native-compile --eval '(gnus)' > > (There was no "--eval '(gnus) [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Eli Zaretskii <eliz@HIDDEN> writes: >> You missed that the --native-compile there is in no way related to the >> -l that follows. I.e., for instance: >> >> emacs --batch --native-compile --eval '(gnus)' > > (There was no "--eval '(gnus)" in the original report.) It's just an example. Substitute with `(calculate-the-535325th-prime-number)' or whatever. > Just one last thing: if the intent is to tell Emacs "compile > natively, but do that in the same Emacs session instead of in > subprocesses", then how is this different from > > emacs --batch --batch-native-compile lisp/gnus/gnus*.el --eval '(gnus) > > which is what I had in mind? You're suggesting that users should compute with files a command will load, then compile those, and then start the command? That doesn't sound like a good interface, and fortunately that's not how Emacs works interactively.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 14 Oct 2022 12:55:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 08:55:32 2022 Received: from localhost ([127.0.0.1]:36179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojKDs-0002GO-2k for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 08:55:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ojKDo-0002GB-DJ for 58509 <at> debbugs.gnu.org; Fri, 14 Oct 2022 08:55:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46226) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1ojKDj-0000jR-5e; Fri, 14 Oct 2022 08:55:23 -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=Imd7KZBAWwYZuj5mFufSI5rANeqgSahGZwCIdwvUsfs=; b=d3FkEvxOVe1l 6KcJ/yNuzuj7Jr6LOHDgo0vVtwJSZuxF52EjAY3DjIn0Rjjf47+9GowVm+C9uMuR54XRSZKkQidHP bfPTFKOWny1qfnDdGgZae26A6irhqEmRAoAj3YE7Ewe2Kat8tpQ9SgJigF/42YpYZs6I8hkGtBRJz iaN6CGgw86Jbk62sXa+9Nv4FZQ1vq95ZA9GK7OVxpPf9v+8oDgAKpKSNQwOSKTZgHwNkxmPvfIxvA oCieJIzEoxO/tmBYcoKDCGR/1s5X0sSvs1ko/irbJy/ABUf5cOgC1TpKpF/ZcadooOpHXOkhkp+jw qPCuNNn7yv74q/TZwXfaYw==; Received: from [87.69.77.57] (port=4397 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1ojKDT-0005a4-EL; Fri, 14 Oct 2022 08:55:19 -0400 Date: Fri, 14 Oct 2022 15:54:53 +0300 Message-Id: <83bkqe8t0i.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> In-Reply-To: <874jw6a96f.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 14 Oct 2022 14:20:24 +0200) Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <87pmeuaaio.fsf@HIDDEN> <83ilkm8vv7.fsf@HIDDEN> <87lepiaa4s.fsf@HIDDEN> <83edva8v1j.fsf@HIDDEN> <874jw6a96f.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen <larsi@HIDDEN> > Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN > Date: Fri, 14 Oct 2022 14:20:24 +0200 > > You missed that the --native-compile there is in no way related to the > -l that follows. I.e., for instance: > > emacs --batch --native-compile --eval '(gnus)' (There was no "--eval '(gnus)" in the original report.) > should native-compile all parts of running Gnus. Gnus is an interactive program, and I'm quite sure what exactly is loaded as side effect of "M-x gnus RET" depends on what you do next, after Gnus starts up. So the above could perhaps compile everything that just starting Gnus loads, but it cannot compile anything else. Besides, what is the semantics of emacs --batch --eval '(gnus) ? IOW, what does it mean to run Gnus in batch mode? So I still don't understand the request and its semantics. I also don't understand how it differs from just starting Gnus interactively and having whatever is needed compiled asynchronously. But since my questions seem to annoy you, I will stop asking them; I'm sorry I started. Just one last thing: if the intent is to tell Emacs "compile natively, but do that in the same Emacs session instead of in subprocesses", then how is this different from emacs --batch --batch-native-compile lisp/gnus/gnus*.el --eval '(gnus) which is what I had in mind?
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 14 Oct 2022 12:20:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 08:20:35 2022 Received: from localhost ([127.0.0.1]:36100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojJg3-0001FL-2Z for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 08:20:35 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1ojJg1-0001Ew-AT for 58509 <at> debbugs.gnu.org; Fri, 14 Oct 2022 08:20: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=TMK8DBKEjg8Km0Qar64rCl3pTFlhoW/iTIv0NvfqEho=; b=dimtYVITxb2HXPsTM3JKarhXEa rivSrAR+EI4ChdgPd8wyAK2/Zu93ELM/XHoMrKIapUIlfE/v6D/arivwbPtuHMJNob+ZmY4mTF8NE CzcyIE3UwAYykU0ZBQQAfdVjH0yzz1HbfNodlYdzs3nBY9a4BAVuLLtvg5yeoGzdhIOU=; 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 <larsi@HIDDEN>) id 1ojJfs-0005nl-Po; Fri, 14 Oct 2022 14:20:26 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <83edva8v1j.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 14 Oct 2022 15:11:04 +0300") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <87pmeuaaio.fsf@HIDDEN> <83ilkm8vv7.fsf@HIDDEN> <87lepiaa4s.fsf@HIDDEN> <83edva8v1j.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEWHX0hULyM/KiX/ //9fL2cNAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YKDgsSKZC1OvMAAAHESURBVCjPRZFNi5MxEMen sivsbYU+4vbuwX6KIj4Fe9otm2DmpmyCM59CRBfsaZ/SBJNbpRM28ylND+LcfmTm/0IA/s8MzONm nM1nZ7iAITlrvM0PNwPCUMg8+Rgnf8uwcGQmN6Xt7Z3C8I5k8my3Zl3gta1fxePaxssN3CSKzafk 4p2FNyEcZDABx3kCw07MwihfzRFqRrd0vtDVYIHEOjbE7t5byPRwcsao+yQdrDSDVVO87JDijZ7n 0G9aOQwrMNpyf2kmv1wB6KnYDm9zWcEL1Zgs1LCPH/BYxEeEFEP8qR3QFhDTbNKqz2osPPv25aws 3BNEz6EQa0XCbkoa6VWpFBCapSptpjqGLsCjNr1m3mq/kaTarlGOaLtPZG23qNLjiFJRPW7USYBW nQh3eKQEUjf5sDyOumva11B+L08jIyNEJfq1fPKMFkEKmh8A5zwLUKz4DYbu5RYwZSLu4oq8hgmR XGu12B6nN9Srmu9abAtoEgUrOefdFvQjH4P6EvJ9gobGf871e2oX56CJQ+Y9y/o9TFR53cpeZAwQ T5HSWPY72fRfyNnI2iZWDJAbpt42yAEZel2XQkB3jwh/dKf/5i+i6AE30+DuCQAAACV0RVh0ZGF0 ZTpjcmVhdGUAMjAyMi0xMC0xNFQxMToxODo0MSswMDowMKTBsXkAAAAldEVYdGRhdGU6bW9kaWZ5 ADIwMjItMTAtMTRUMTE6MTg6NDErMDA6MDDVnAnFAAAAAElFTkSuQmCC X-Now-Playing: EQ WHY's _L'Esprit de Nyege 2020_: "Ride" Date: Fri, 14 Oct 2022 14:20:24 +0200 Message-ID: <874jw6a96f.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > The original report said: > >> I thought I'd open a bug report for something I mentioned elsewhere: It >> should be possible for --batch Emacsen to do native compilation. > [...] >> So I'd like to b [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Eli Zaretskii <eliz@HIDDEN> writes: > The original report said: > >> I thought I'd open a bug report for something I mentioned elsewhere: It >> should be possible for --batch Emacsen to do native compilation. > [...] >> So I'd like to be able to say "emacs --batch --native-compile -l ..." or >> something along those lines. > > So it seemed to me like being able to say > > emacs --batch -f batch-native-compile FILE... > > is what you want? If not, please tell what I missed in the original > report. You missed that the --native-compile there is in no way related to the -l that follows. I.e., for instance: emacs --batch --native-compile --eval '(gnus)' should native-compile all parts of running Gnus.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 14 Oct 2022 12:11:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 08:11:24 2022 Received: from localhost ([127.0.0.1]:36083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojJXA-0000zr-AF for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 08:11:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ojJX8-0000zZ-Po for 58509 <at> debbugs.gnu.org; Fri, 14 Oct 2022 08:11:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54822) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1ojJX3-0000HF-JQ; Fri, 14 Oct 2022 08:11:17 -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=x6SEQjrNj+VsTcPMmyzcSZ8wlqUEfkEnKHqVkDtZm2A=; b=o7+zDKd3yMug SxKCszA55U2/gci86P7YjWjU+g0RZALJoQ1eJ7qMrlsfNTbpWFORSTbxfThuwza5UHEhjAvZQHzjV zUcPgDt48M+12uuql0JZtWux6al8D+9HQvJHwMP7THTv+cej8BhhMXygXqWEDsYz8E2EJHAnHuU2q 2vNd760kMqj6+11nNlrjS5loALhQsVny91SMfCla87xKcagRRi9XFIle5ut2o/IUjeRWJJYEGJ+jb lJffEeMuE7Ny6XHSyEpdW9m1JmBs0uUxnGDxMy94yJPfyg0rjIndGeE3ch7qSTzjH09BwHfPhlzl+ +a/hldiKz66RSV9cxf/F+w==; Received: from [87.69.77.57] (port=1696 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1ojJX3-0004e5-1F; Fri, 14 Oct 2022 08:11:17 -0400 Date: Fri, 14 Oct 2022 15:11:04 +0300 Message-Id: <83edva8v1j.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> In-Reply-To: <87lepiaa4s.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 14 Oct 2022 13:59:47 +0200) Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <87pmeuaaio.fsf@HIDDEN> <83ilkm8vv7.fsf@HIDDEN> <87lepiaa4s.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen <larsi@HIDDEN> > Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN > Date: Fri, 14 Oct 2022 13:59:47 +0200 > > Eli Zaretskii <eliz@HIDDEN> writes: > > > Then maybe I'm misunderstanding the use case? Didn't you say you > > wanted to compile a bunch of Lisp files natively? > > I said I wanted Emacs to native-compile stuff (almost as normal) when > using --batch. > > But perhaps it'd be helpful if you read the original report; I don't > really have much to add to it, and I've just been repeating things > already in it in these responses. The original report said: > I thought I'd open a bug report for something I mentioned elsewhere: It > should be possible for --batch Emacsen to do native compilation. [...] > So I'd like to be able to say "emacs --batch --native-compile -l ..." or > something along those lines. So it seemed to me like being able to say emacs --batch -f batch-native-compile FILE... is what you want? If not, please tell what I missed in the original report.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 14 Oct 2022 11:59:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 07:59:59 2022 Received: from localhost ([127.0.0.1]:36032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojJM6-0000dD-NX for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 07:59:58 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1ojJM4-0000cy-S3 for 58509 <at> debbugs.gnu.org; Fri, 14 Oct 2022 07:59:57 -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=sKhT+nX48QNYImPkYwO+oDvBBo+opHiKSTGxKcuF1tE=; b=BW+bHfjMVeV0DBRRDx6Vp2bOWG jbsa/6mise8rFwpXzHqW8te1sW552a3vdw4qHwDqf5fowHCjBfsYHPVMgrTHOYW8MJLMo7vMjDv8z vChLpo7U1/fpSSnDTklwFbmhfiuacSXENCf6X7sScuKr/SGdEgAf/OGAhEAJK1GVyXRk=; 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 <larsi@HIDDEN>) id 1ojJLv-0005cb-Nw; Fri, 14 Oct 2022 13:59:49 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <83ilkm8vv7.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 14 Oct 2022 14:53:16 +0300") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <87pmeuaaio.fsf@HIDDEN> <83ilkm8vv7.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEWHX0hULyM/KiX/ //9fL2cNAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YKDgsSKZC1OvMAAAHESURBVCjPRZFNi5MxEMen sivsbYU+4vbuwX6KIj4Fe9otm2DmpmyCM59CRBfsaZ/SBJNbpRM28ylND+LcfmTm/0IA/s8MzONm nM1nZ7iAITlrvM0PNwPCUMg8+Rgnf8uwcGQmN6Xt7Z3C8I5k8my3Zl3gta1fxePaxssN3CSKzafk 4p2FNyEcZDABx3kCw07MwihfzRFqRrd0vtDVYIHEOjbE7t5byPRwcsao+yQdrDSDVVO87JDijZ7n 0G9aOQwrMNpyf2kmv1wB6KnYDm9zWcEL1Zgs1LCPH/BYxEeEFEP8qR3QFhDTbNKqz2osPPv25aws 3BNEz6EQa0XCbkoa6VWpFBCapSptpjqGLsCjNr1m3mq/kaTarlGOaLtPZG23qNLjiFJRPW7USYBW nQh3eKQEUjf5sDyOumva11B+L08jIyNEJfq1fPKMFkEKmh8A5zwLUKz4DYbu5RYwZSLu4oq8hgmR XGu12B6nN9Srmu9abAtoEgUrOefdFvQjH4P6EvJ9gobGf871e2oX56CJQ+Y9y/o9TFR53cpeZAwQ T5HSWPY72fRfyNnI2iZWDJAbpt42yAEZel2XQkB3jwh/dKf/5i+i6AE30+DuCQAAACV0RVh0ZGF0 ZTpjcmVhdGUAMjAyMi0xMC0xNFQxMToxODo0MSswMDowMKTBsXkAAAAldEVYdGRhdGU6bW9kaWZ5 ADIwMjItMTAtMTRUMTE6MTg6NDErMDA6MDDVnAnFAAAAAElFTkSuQmCC X-Now-Playing: 03-xOJ's _L'Esprit de Nyege 2020_: "Stasix" Date: Fri, 14 Oct 2022 13:59:47 +0200 Message-ID: <87lepiaa4s.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > Then maybe I'm misunderstanding the use case? Didn't you say you > wanted to compile a bunch of Lisp files natively? I said I wanted Emacs to native-compile stuff (almost as normal) when using --batch. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Eli Zaretskii <eliz@HIDDEN> writes: > Then maybe I'm misunderstanding the use case? Didn't you say you > wanted to compile a bunch of Lisp files natively? I said I wanted Emacs to native-compile stuff (almost as normal) when using --batch. But perhaps it'd be helpful if you read the original report; I don't really have much to add to it, and I've just been repeating things already in it in these responses.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 14 Oct 2022 11:53:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 07:53:54 2022 Received: from localhost ([127.0.0.1]:36023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojJGE-0000Th-8k for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 07:53:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ojJGC-0000TS-57 for 58509 <at> debbugs.gnu.org; Fri, 14 Oct 2022 07:53:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58998) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1ojJG6-0005Of-S0; Fri, 14 Oct 2022 07:53:46 -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=LVYU/EkzkOzD+aR/ZvNLFNlSlhT9S7HIn6+HA0cMz8o=; b=Ts455zgR2Gx5 SaCgmlrhYUUrGj0m6ORAqfuNyjdQGbsAA+bv9zcbUcWz7buStG1m5Z6e5NE7N/80SQyeVjDbzSfho DxuFtYcdcC2FJ/Jf3Gmc2dnwVt8FbbKRtPwEcsKS2JeqeiRchf4A+nI1JdmlCCCkg8ReEnBRLjYIM o52VAZq4XTRnv6nwKbJHggIXUVGtxoNeB2i8t7w1/ULKv2VntCjUzzHNPq9sNyislTZCnpZ6tRUtY 2U+E9SKA31pOUP2ygDcwLRhFbvwxgxzjRCnPwGBnKhEnYk2PBkbqUQGrb4UvT7yS1b+GeEFEBxCJN e7VyauCpW0el2AiFQE6puA==; Received: from [87.69.77.57] (port=4586 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1ojJFp-0007Z0-Ew; Fri, 14 Oct 2022 07:53:46 -0400 Date: Fri, 14 Oct 2022 14:53:16 +0300 Message-Id: <83ilkm8vv7.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> In-Reply-To: <87pmeuaaio.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 14 Oct 2022 13:51:27 +0200) Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> <87pmeuaaio.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen <larsi@HIDDEN> > Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN > Date: Fri, 14 Oct 2022 13:51:27 +0200 > > Eli Zaretskii <eliz@HIDDEN> writes: > > > It is documented as "Native compilation equivalent of > > `batch-byte-compile'", so if it doesn't do what it's advertised to do, > > it should be fixed to do it. > > It is, but it seems fully irrelevant for the use case described in this > bug report, unless I'm missing something? Then maybe I'm misunderstanding the use case? Didn't you say you wanted to compile a bunch of Lisp files natively?
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 14 Oct 2022 11:51:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 07:51:42 2022 Received: from localhost ([127.0.0.1]:36016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojJE5-0000Pu-Nn for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 07:51:42 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1ojJE3-0000Pg-M4 for 58509 <at> debbugs.gnu.org; Fri, 14 Oct 2022 07:51:40 -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=lNXD9qTnzozDwdRZsC1eZ+qTnjUdKrYhF5gLa1/2t6E=; b=AnRmVXnf2GbTZ81nsgFPeRwv0i Gk2wq5yqgBeX1r4MfkEeN2xoyRCvWJ/TehdSbulQLw2F113qeOBzQUeL6kkAIaL0U2xFDSz3LWXYR j6dIrAVLfIkLZYVkgpColGabRbaLelDdgxI6iWbPIb1O7vRnBWyoBK1HQ2WBTpbcUcZ8=; 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 <larsi@HIDDEN>) id 1ojJDt-0005ZJ-P3; Fri, 14 Oct 2022 13:51:31 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <83k0528w1w.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 14 Oct 2022 14:49:15 +0300") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> <83k0528w1w.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEWHX0hULyM/KiX/ //9fL2cNAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YKDgsSKZC1OvMAAAHESURBVCjPRZFNi5MxEMen sivsbYU+4vbuwX6KIj4Fe9otm2DmpmyCM59CRBfsaZ/SBJNbpRM28ylND+LcfmTm/0IA/s8MzONm nM1nZ7iAITlrvM0PNwPCUMg8+Rgnf8uwcGQmN6Xt7Z3C8I5k8my3Zl3gta1fxePaxssN3CSKzafk 4p2FNyEcZDABx3kCw07MwihfzRFqRrd0vtDVYIHEOjbE7t5byPRwcsao+yQdrDSDVVO87JDijZ7n 0G9aOQwrMNpyf2kmv1wB6KnYDm9zWcEL1Zgs1LCPH/BYxEeEFEP8qR3QFhDTbNKqz2osPPv25aws 3BNEz6EQa0XCbkoa6VWpFBCapSptpjqGLsCjNr1m3mq/kaTarlGOaLtPZG23qNLjiFJRPW7USYBW nQh3eKQEUjf5sDyOumva11B+L08jIyNEJfq1fPKMFkEKmh8A5zwLUKz4DYbu5RYwZSLu4oq8hgmR XGu12B6nN9Srmu9abAtoEgUrOefdFvQjH4P6EvJ9gobGf871e2oX56CJQ+Y9y/o9TFR53cpeZAwQ T5HSWPY72fRfyNnI2iZWDJAbpt42yAEZel2XQkB3jwh/dKf/5i+i6AE30+DuCQAAACV0RVh0ZGF0 ZTpjcmVhdGUAMjAyMi0xMC0xNFQxMToxODo0MSswMDowMKTBsXkAAAAldEVYdGRhdGU6bW9kaWZ5 ADIwMjItMTAtMTRUMTE6MTg6NDErMDA6MDDVnAnFAAAAAElFTkSuQmCC X-Now-Playing: Don Zilla's _L'Esprit de Nyege 2020_: "x-X-x" Date: Fri, 14 Oct 2022 13:51:27 +0200 Message-ID: <87pmeuaaio.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > It is documented as "Native compilation equivalent of > `batch-byte-compile'", so if it doesn't do what it's advertised to do, > it should be fixed to do it. It is, but it seems fully irrelevant for the use case described in this bug report, unless I'm missing something? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Eli Zaretskii <eliz@HIDDEN> writes: > It is documented as "Native compilation equivalent of > `batch-byte-compile'", so if it doesn't do what it's advertised to do, > it should be fixed to do it. It is, but it seems fully irrelevant for the use case described in this bug report, unless I'm missing something?
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 14 Oct 2022 11:49:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 07:49:58 2022 Received: from localhost ([127.0.0.1]:36005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojJCQ-0000M8-J7 for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 07:49:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ojJCO-0000Ls-Jm for 58509 <at> debbugs.gnu.org; Fri, 14 Oct 2022 07:49:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36634) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1ojJCA-0004fI-H3; Fri, 14 Oct 2022 07:49:51 -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=tADtAeXNKh04HImnezg/TX8BLWhEil1UV+g1TXhdSwE=; b=nrBy1i+L4GPW QHonYxz62uZtHIAXu0nTHUP3q/wBoAINrjSZuQzSy0JrYQjLssb00P8Agz5PBQpCMTM9682TD5DP2 tdiQWDUSq4BYVXwLMvXi8kY5dboxspQ01OPiUIBpdRBEy9B1zF/4vp7T3ysK6/zG7X9jH0nxsB9cK y/eTMsrbYOtCe1AvdOqKjTg1zZH5v90pNCWC1gWSwUsOTQ0C9bc+agR/okSWcmTPh76Y/W7Y4UhD5 HaoM1unL+XAZjR7DFK4p7MJhBEKFdxCmD8gxunQ7CxsjqXWmkdF1F9QJjx3DuXfQbiSDhYH3Oi5Cg Q/EnZMcji03ovdwiw3Cuxw==; Received: from [87.69.77.57] (port=4321 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1ojJBw-00074L-Pk; Fri, 14 Oct 2022 07:49:42 -0400 Date: Fri, 14 Oct 2022 14:49:15 +0300 Message-Id: <83k0528w1w.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> In-Reply-To: <87ilkmbqu3.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 14 Oct 2022 13:13:40 +0200) Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> <87ilkmbqu3.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen <larsi@HIDDEN> > Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN > Date: Fri, 14 Oct 2022 13:13:40 +0200 > > So I'm not sure why you're bringing up batch-native-compile at all -- it > seems irrelevant, but perhaps I'm missing something? It is documented as "Native compilation equivalent of `batch-byte-compile'", so if it doesn't do what it's advertised to do, it should be fixed to do it. Let's wait for Andrea to chime in.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 14 Oct 2022 11:13:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 07:13:57 2022 Received: from localhost ([127.0.0.1]:35929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojIdZ-0005XC-5n for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 07:13:57 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1ojIdX-0005Wu-4P for 58509 <at> debbugs.gnu.org; Fri, 14 Oct 2022 07:13:55 -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=ku1+w+y3RramwVqVawGmb30jKHm63sF8WanniRBnV24=; b=M3eIunBqRnZLpfX8w2FkKApAC1 zv/NMnNJ2dW1+YdYcb+BGK7KO0hjzfedw7Ja21nSxVvlPCK97z1K7f9uS6I8rdzIhABDJrxDnOza/ l1pZHUIE3UBOKEIxkstjGvKsM3DNF2IlGq5TAKz1v8O+0bMpT79c9VzDkBBqmGIVpoE0=; 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 <larsi@HIDDEN>) id 1ojIdI-0005N2-Q2; Fri, 14 Oct 2022 13:13:43 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <83lepi8y4l.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 14 Oct 2022 14:04:26 +0300") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> <83lepi8y4l.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUtOohUX543RI8d K4Jpcaf///89eE6PAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YKDgo2LWfydXsAAAF9SURBVDjLlZSN ccMgDIUF7gBIYQBBOkDqLhB83n+mPvET4ybpXe27CFvofTyBQ+SyCyo5eRey4E7ZBguRUxdIyBIe M7xThLAQZqQ2sQbuAyWOXK8eig0KbkjhMXFgSiIYJTwKB2PEDy73zSZuG3/yzrHskEIictx4l4IL L2NP5C4VQ2ck+5ng/TU3OBtcvapooqRYpWSXPQzSSOREEWQ2Q5bQljDnxOWz7FtzbvC/nZcReHJO kAqQahpdqsJdXRXeQIG9wbXBRyJvYhWvEgEVri/3gEcu5dT2WgH4qgFb6c8GsSqPmSXIw2CtqHu+ 72XviVYxfKx6uWCGJRBObS9z2+0cjV7J0as8tyTfzy2hDkdLhkFtFetoIoUZ/uaiaYckTeHXfkxS zXmo8GmjZviXhfwPeAIV59wOrLSTSOvVpG5rl6IBp1dwmuD+7PzNSczPqzo+g8XgC+DX1/DnljTL T21/U+HP8HL8E1SpSr0NqQNeEwejJ75HRVvDI/ED2wdVdiJRlzIAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjItMTAtMTRUMTA6NTQ6NDUrMDA6MDAn/d/jAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTEw LTE0VDEwOjU0OjQ1KzAwOjAwVqBnXwAAAABJRU5ErkJggg== X-Now-Playing: Xeno & Oaklander's _Par Avion_: "Nuage d'Ivoire" Date: Fri, 14 Oct 2022 13:13:40 +0200 Message-ID: <87ilkmbqu3.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> `batch-native-compile' just calls `byte-compile-file' on the command >> line arguments. > > It does? I see this: > > (cl-loop for file in command-line-args-left > if (or (null byte+native-compile) [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Eli Zaretskii <eliz@HIDDEN> writes: >> `batch-native-compile' just calls `byte-compile-file' on the command >> line arguments. > > It does? I see this: > > (cl-loop for file in command-line-args-left > if (or (null byte+native-compile) > (cl-notany (lambda (re) (string-match re file)) > native-comp-bootstrap-deny-list)) > collect (comp--native-compile file) <<<<<<<<<<<<<<<<<<<<<< > else > collect (byte-compile-file file)))) > > What did I miss? Sorry, I meant "it just calls comp--native-compile on the command line arguments". Which is irrelevant for the proposed use case, which is enabling normal opportunistic .eln generation, but synchronously. I.e., if you say emacs --batch --native-comp -l foo and foo requires bar, then bar should be native-compiled before being used. So I'm not sure why you're bringing up batch-native-compile at all -- it seems irrelevant, but perhaps I'm missing something?
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 14 Oct 2022 11:04:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 07:04:50 2022 Received: from localhost ([127.0.0.1]:35898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojIUk-0005GZ-Li for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 07:04:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ojIUj-0005GL-70 for 58509 <at> debbugs.gnu.org; Fri, 14 Oct 2022 07:04:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40910) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1ojIUc-00055S-JS; Fri, 14 Oct 2022 07:04:43 -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=VXU/r8g6O3X4I3KAxOVMXGxmDNUPh/+as85QnOrYFMo=; b=UmmfuHEw3H1l aHKrugOQUJm/HdcLipl90jTeoceq7GMBrWcurDMigUUKRNWMDMZ6m4t8xZabcPpJYHtQhVMlfbFRQ F5NpaG/CoXgbO1zsMc1LUG6tXo0xaqYrW/rzGqIYV9t3ObWGwZqcfuVJxWvYHfsiwjmQyB1PN9llO 9ZDTXnsT2Mye+HP6ZOuhfKg5APY45kEvHc18dP18R8rzHHW3yv59A+UXn4Lk21ihpBphYZ15lzEtd ufz7+K5bKOwafSmL6X+Anf+jsgavmZIbMbFPgayZHqIbTcsaOvKensgt1vtwuQzS/Frzy+LpuLzw+ 1EBnLYkao44zcnn8hQJGKg==; Received: from [87.69.77.57] (port=1600 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1ojIUa-0007eo-7P; Fri, 14 Oct 2022 07:04:42 -0400 Date: Fri, 14 Oct 2022 14:04:26 +0300 Message-Id: <83lepi8y4l.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> In-Reply-To: <87zgdybrnc.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 14 Oct 2022 12:56:07 +0200) Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> <87zgdybrnc.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen <larsi@HIDDEN> > Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN > Date: Fri, 14 Oct 2022 12:56:07 +0200 > > Eli Zaretskii <eliz@HIDDEN> writes: > > >> However, this also almost requires that we allow the nativecomp to > >> happen synchronously -- the batch job may end before nativecomp finished > >> otherwise, leading to cleanup problems and loss of efficiency. > > > > The above-mentioned functions do work synchronously. > > `batch-native-compile' just calls `byte-compile-file' on the command > line arguments. It does? I see this: (cl-loop for file in command-line-args-left if (or (null byte+native-compile) (cl-notany (lambda (re) (string-match re file)) native-comp-bootstrap-deny-list)) collect (comp--native-compile file) <<<<<<<<<<<<<<<<<<<<<< else collect (byte-compile-file file)))) What did I miss?
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 14 Oct 2022 10:56:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 06:56:18 2022 Received: from localhost ([127.0.0.1]:35893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojIMT-00051Y-Ls for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 06:56:17 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1ojIMS-00051M-Cw for 58509 <at> debbugs.gnu.org; Fri, 14 Oct 2022 06:56:16 -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=bYN7t1ebvENr/6+x72H01KzDhnXVvrqJkb49g8cGGhM=; b=ErZ9q/O/tLYdbqKNuS3PNAQIdp 8Wfqs5SSOGqu8VfkH/btozVTV+Lcv6O55Nvt4+ACPJrElvsDIgz9MCW48cZCGLAgCJwA+UnmjICMv 0xpRZWoVjCdSXkxSbWgkF86TUyX6579KCVcOe3tU0dST854IHbiANqy25T2CfJRm0z/M=; 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 <larsi@HIDDEN>) id 1ojIMJ-0005Ex-HM; Fri, 14 Oct 2022 12:56:09 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp In-Reply-To: <83mt9y8ynk.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 14 Oct 2022 13:53:03 +0300") References: <87a65yd715.fsf@HIDDEN> <83mt9y8ynk.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUtOohUX543RI8d K4Jpcaf///89eE6PAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YKDgo2LWfydXsAAAF9SURBVDjLlZSN ccMgDIUF7gBIYQBBOkDqLhB83n+mPvET4ybpXe27CFvofTyBQ+SyCyo5eRey4E7ZBguRUxdIyBIe M7xThLAQZqQ2sQbuAyWOXK8eig0KbkjhMXFgSiIYJTwKB2PEDy73zSZuG3/yzrHskEIictx4l4IL L2NP5C4VQ2ck+5ng/TU3OBtcvapooqRYpWSXPQzSSOREEWQ2Q5bQljDnxOWz7FtzbvC/nZcReHJO kAqQahpdqsJdXRXeQIG9wbXBRyJvYhWvEgEVri/3gEcu5dT2WgH4qgFb6c8GsSqPmSXIw2CtqHu+ 72XviVYxfKx6uWCGJRBObS9z2+0cjV7J0as8tyTfzy2hDkdLhkFtFetoIoUZ/uaiaYckTeHXfkxS zXmo8GmjZviXhfwPeAIV59wOrLSTSOvVpG5rl6IBp1dwmuD+7PzNSczPqzo+g8XgC+DX1/DnljTL T21/U+HP8HL8E1SpSr0NqQNeEwejJ75HRVvDI/ED2wdVdiJRlzIAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjItMTAtMTRUMTA6NTQ6NDUrMDA6MDAn/d/jAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTEw LTE0VDEwOjU0OjQ1KzAwOjAwVqBnXwAAAABJRU5ErkJggg== X-Now-Playing: Xeno & Oaklander's _Par Avion_: "Sheen" Date: Fri, 14 Oct 2022 12:56:07 +0200 Message-ID: <87zgdybrnc.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> However, this also almost requires that we allow the nativecomp to >> happen synchronously -- the batch job may end before nativecomp finished >> otherwise, leading to cleanup problems and loss of [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Eli Zaretskii <eliz@HIDDEN> writes: >> However, this also almost requires that we allow the nativecomp to >> happen synchronously -- the batch job may end before nativecomp finished >> otherwise, leading to cleanup problems and loss of efficiency. > > The above-mentioned functions do work synchronously. `batch-native-compile' just calls `byte-compile-file' on the command line arguments. That's not what's needed here at all.
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at 58509) by debbugs.gnu.org; 14 Oct 2022 10:53:26 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 06:53:26 2022 Received: from localhost ([127.0.0.1]:35885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojIJh-0004wW-Og for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 06:53:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ojIJe-0004wG-Jz for 58509 <at> debbugs.gnu.org; Fri, 14 Oct 2022 06:53:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43336) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1ojIJY-00037H-Ok; Fri, 14 Oct 2022 06:53:16 -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=ppTvsnC99ee45Qw/V223LwC4mc0Ra9xg6h9OpqmUfsI=; b=YOJpErH507hB rPznIxxGxBHaGkWtARbL0t2l/UqdEBUgC9/vg1cE8HuTerMYXWOVeocSgRzwmmg+2xqiKOmLj+m1P uwl8CIUTHlsHUxT085BEXYYAx/5Jc1+fvCuLnc0/JIGvn2sksEI3Ggi1tdIk+cuXD0UV00hRFLzwm 4ZoJVNrLfQ2Go4LvXtXPd3yg/OWHFFIIUQEffttVtUw7hdJ564YaHvRnHqkd9sO9342TfmEVP7y3r oJbaEW0nj0ODLZ/YnlzDqk+31J3fHcv5Q70n/x8vDu32m1LMSEjHfIIvKQfQlEke0ggCiPjmuJaID UGYFNfFvZmFC8WOBktuhxw==; Received: from [87.69.77.57] (port=4869 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1ojIJX-0006I3-Vh; Fri, 14 Oct 2022 06:53:16 -0400 Date: Fri, 14 Oct 2022 13:53:03 +0300 Message-Id: <83mt9y8ynk.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> In-Reply-To: <87a65yd715.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 14 Oct 2022 12:38:30 +0200) Subject: Re: bug#58509: 29.0.50; Synchronous nativecomp References: <87a65yd715.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58509 Cc: 58509 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: Andrea Corallo <akrl@HIDDEN> > From: Lars Ingebrigtsen <larsi@HIDDEN> > Date: Fri, 14 Oct 2022 12:38:30 +0200 > > > I thought I'd open a bug report for something I mentioned elsewhere: It > should be possible for --batch Emacsen to do native compilation. We already have that, and we use it when users build a release tarball. Here's the lisp/Makefile snippet which does it: ifeq ($(HAVE_NATIVE_COMP),yes) .PHONY: $(THEFILE)n $(THEFILE)n: $(AM_V_ELN)$(emacs) $(BYTE_COMPILE_FLAGS) \ -l comp -f byte-compile-refresh-preloaded \ --eval '(batch-native-compile t)' $(THEFILE) We also have the batch-native-compile function, which is probably a better match for what you want to do in your case (compile a bunch of your own Lisp files, AFAIU). > However, this also almost requires that we allow the nativecomp to > happen synchronously -- the batch job may end before nativecomp finished > otherwise, leading to cleanup problems and loss of efficiency. The above-mentioned functions do work synchronously. So what is actually missing?
bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 14 Oct 2022 10:38:48 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 06:38:48 2022 Received: from localhost ([127.0.0.1]:35846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojI5X-0004UP-OE for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 06:38:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:57792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1ojI5R-0004U9-Ab for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 06:38:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <larsi@HIDDEN>) id 1ojI5Q-0005tL-SZ for bug-gnu-emacs@HIDDEN; Fri, 14 Oct 2022 06:38:40 -0400 Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:34566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <larsi@HIDDEN>) id 1ojI5O-00018G-Dy for bug-gnu-emacs@HIDDEN; Fri, 14 Oct 2022 06:38:39 -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:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=nPnI5iwTYy5piGFDs12uaQjhN+ncDxxxsMO0XAreLfU=; b=tZjqemBFi0ybILVxzQZENWFCOL DAN561La/rje1iR5+UDkOCRrRtjJyihQA8ABwPIdFFcdwrLVu07EQjbZbPDPIfS36/sMyGuypMIfH Vi8w+X+HzfojBT9Vbu2p+0RwHhhRZIOkisDo28R9+Fkjo5ulmSgzph9T+4bjqIh6cpl8=; 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 <larsi@HIDDEN>) id 1ojI5H-000564-PS for bug-gnu-emacs@HIDDEN; Fri, 14 Oct 2022 12:38:34 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 29.0.50; Synchronous nativecomp X-Debbugs-Cc: Andrea Corallo <akrl@HIDDEN> X-Now-Playing: Xeno & Oaklander's _Topiary_: "Palms" Date: Fri, 14 Oct 2022 12:38:30 +0200 Message-ID: <87a65yd715.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: I thought I'd open a bug report for something I mentioned elsewhere: It should be possible for --batch Emacsen to do native compilation. I've got a bunch of Elisp scripts, and some of them do a lot of stuff, and it'd be nice if they were native-compiled. This will happen if I also use the same packages interactively, but that often doe [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@HIDDEN; helo=quimby.gnus.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) I thought I'd open a bug report for something I mentioned elsewhere: It should be possible for --batch Emacsen to do native compilation. I've got a bunch of Elisp scripts, and some of them do a lot of stuff, and it'd be nice if they were native-compiled. This will happen if I also use the same packages interactively, but that often doesn't happen. (And besides, since there's a bunch of different Emacs versions, they won't use the same eln cache anyway.) So I'd like to be able to say "emacs --batch --native-compile -l ..." or something along those lines. However, this also almost requires that we allow the nativecomp to happen synchronously -- the batch job may end before nativecomp finished otherwise, leading to cleanup problems and loss of efficiency. So in this mode, loading an .elc file (with missing .eln file) should instead just trigger .eln generation, and then we load the .eln file. And then perhaps we don't actually have to fork an Emacs to do the .eln generation? We can just do it in the currently running one, leading to further efficiency gains. This is also useful as a general tool for debugging: Today, things aren't really reproducible, because things happen asynchronously and unpredictably. So if we have this, we can also use it as a debugging tool in general, and not just in --batch. In GNU Emacs 29.0.50 (build 144, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2022-10-13 built on downe Repository revision: cbd04ad3d572850775f18bde868c71abcde733ed Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Ubuntu 22.04.1 LTS
Lars Ingebrigtsen <larsi@HIDDEN>
:akrl@HIDDEN, bug-gnu-emacs@HIDDEN
.
Full text available.akrl@HIDDEN, bug-gnu-emacs@HIDDEN
:bug#58509
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.