From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Suppressing native compilation (short and long term) Date: Thu, 13 Oct 2022 22:57:51 +0200 Message-ID: <87ilkncugg.fsf@gnus.org> References: <87ill8paw7.fsf@trouble.defaultvalue.org> <83o7uzivey.fsf@gnu.org> <3ac9d2b9632f75018327a1bcde0c373f152c404a.camel@gmail.com> <835ygob7ja.fsf@gnu.org> <8335bra2rl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17897"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Stefan Monnier , liliana.prikler@gmail.com, rlb@defaultvalue.org, emacs-devel@gnu.org, Andrea Corallo To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 13 22:59:36 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oj5Im-0004VB-5X for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Oct 2022 22:59:36 +0200 Original-Received: from localhost ([::1]:43168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oj5Il-0007XY-39 for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Oct 2022 16:59:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oj5HO-0005uY-DH for emacs-devel@gnu.org; Thu, 13 Oct 2022 16:58:10 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:56840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oj5HM-00062n-Nq; Thu, 13 Oct 2022 16:58:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: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=P93cORsFkOUFjxER1ZXgkEDrA/mTbOXyDJSs4BxXihQ=; b=H6je+Vd04DQhIvQ/B0KhxeYwx3 oJVNocTWfON2oKVR4dVTha9+llrbUQApN4jFUYCAtxhtcudkzegjVeAJT1nsyGd7aug0kzWoifNLD NM5dU6zzJT/Vlj3arNrP78nhc65DZ5Bys09RAA6STiOqi4HSzZMIHLnNxrP2K/630Z1o=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oj5H6-0000HS-8A; Thu, 13 Oct 2022 22:57:54 +0200 In-Reply-To: <8335bra2rl.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 13 Oct 2022 23:26:38 +0300") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEU5LzCqPkGYgn++ tLP///9Aevk7AAAAAWJLR0QEj2jZUQAAAAlwSFlzAAALEgAACxIB0t1+/AAAAAd0SU1FB+YKDRQ0 F5fF798AAAGpSURBVDjLrZNRcsMgDEQRuQCiF5DFBWK4/926K8BO0/Svnkwm8WPFrhAp/e+jWv4A ovoZlPSZUPGbZCreiV27J3nf3yckqT8BHstmosJfV/kFuqOc3+QI0LBci8voRFifS1sAlr7sMUag lJtVm6VotrcxJrJcdO2BDWSsp9PL3pyKDcYy4PySCZ41SJI7oFR4GKZhQGhtJ68seWoGsBpx3Jyl IGhYW2AtzTSe+1zuKKIAz+wNzhKzVJ3vvcCCydHobFcCQGFtHUa4BkcCrzUE7H4FoLVYXo82KznW 4A1703l6CIcQANwE4aIxnCkUJYA/X2sYH/mNradDFMy7YwQeOQ56aOMGKJUyAPciOGdDo7+aasK+ kPANB6yxFE1qyWX2vktMOI++xxgqj1GnzzVDcX6MXKQQyDWroahbYS93YinCbLe4R8IcRasqWj2H xPA/JHLwBsgGOA/WlrAbE0pRPOe6XzJbr0V3n7BDZDnoGfHLBmfcJL6Dyq0ej/EiYfIYKxv9au0Z VycAM3QftyRtgFPE0bZbAvBEIhSlovktye05uxul8GlT8g038176wVDSpAAAACV0RVh0ZGF0ZTpj cmVhdGUAMjAyMi0xMC0xM1QyMDo1MjoyMyswMDowMA7ETrcAAAAldEVYdGRhdGU6bW9kaWZ5ADIw MjItMTAtMTNUMjA6NTI6MjMrMDA6MDB/mfYLAAAAAElFTkSuQmCC X-Now-Playing: Severed Heads's _Haul Ass_: "Chikibox + A Head is Born + Book Burner" Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; 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-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:297698 Archived-At: Eli Zaretskii writes: > No, it should not happen, because async JIT compilation processes run > Emacs in batch mode, and async compilation is disabled in batch mode > (for this very reason). As we've covered many times recently -- yes, but no. .elc -> .eln generation is off, but trampolines are on, and comp.el forks an Emacs to generate those, too, I think? So if the forked Emacs also needs to generate the same trampoline, you have an infinite recursion fork bomb. You'd need a pretty tortured setup to get there, but the build process here seems really tweaked anyway. Let's see if I can reproduce the phenomenon... Ooops! Just crashed my laptop! That's fun. =F0=9F=98=80 So don't follow this recipe: # cat /usr/local/share/emacs/29.0.50/site-lisp/site-start.el=20 (fset 'yes-or-no-p 'y-or-n-p) rm -r ~/.emacs.d/eln-cache/; ./src/emacs -Q M-: (fset 'yes-or-no-p 'y-or-n-p) RET Dead laptop (except for the fan that spins up), so handle with caution. So we need a recursion blocker in the trampoline generation function.