From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.devel Subject: Re: Finalizing 'inhibit-automatic-native-compilation' Date: Wed, 01 Feb 2023 22:18:32 -0700 Message-ID: <87sffo3as7.fsf@melete.silentflame.com> References: <837cx8cey0.fsf@gnu.org> <83357vauh5.fsf@gnu.org> <837cx6a8me.fsf@gnu.org> <83357ua6ja.fsf@gnu.org> <83zga28ra8.fsf@gnu.org> <83r0vd97s0.fsf@gnu.org> <83lell73yv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7787"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org, akrl@sdf.org, larsi@gnus.org, rlb@defaultvalue.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 02 06:19:24 2023 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 1pNS0H-0001oE-M8 for ged-emacs-devel@m.gmane-mx.org; Thu, 02 Feb 2023 06:19:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNRzd-0007Il-1U; Thu, 02 Feb 2023 00:18:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNRzb-0007IO-Ik for emacs-devel@gnu.org; Thu, 02 Feb 2023 00:18:39 -0500 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNRzZ-00039d-Ee; Thu, 02 Feb 2023 00:18:39 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 7777F5C010B; Thu, 2 Feb 2023 00:18:34 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 02 Feb 2023 00:18:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1675315114; x=1675401514; bh=Bf Jp9x1qYh5woXrtEWaStQI8FkkoxTLfEjfLT66itqk=; b=dUpBfekKe6j5uGo0n8 JO6+g5RvB0tnU8kAjkghDMYty1Gv9NKCEJn+OkwyX0HADqh6xhT20UnOzM1Clr4O iaZE1Ou3NqkpWYjJCu9MzeuhClw00H+ZpxUVcSfrnwp3b9tglpkyIWU6BzHFsdJx 766SEU2fqnuZ0p3eDeOT+0uCxUe6DzrHHqJlPJVV3qklR2FMbR9D1yiga9qenDWQ ZrwsqNdKyDLZ4obU3+UHqY5jDCpjTwaG81hYWewIYUXeOHmEd1apz6ELeCudXw83 A9umVSkfBEt3PPPItG5kWhncFSV+hBlmCY6j949pfbNeQQ/UAEVItQEyWkzfAAOe DkmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1675315114; x=1675401514; bh=BfJp9x1qYh5woXrtEWaStQI8Fkko xTLfEjfLT66itqk=; b=O1vpW6TNbKTUOZnplRQELmgV6vwM08rXWvcoNU35Jeh4 UlNRod5VBbA8XPloa6Z0eXVBM7zCrAYt4KZuj0DPaGLStwu+pOMn2n0X9LnyLFIE KmZMVVTzLpNnYNrs2nedklU5BWVXUrIHTYuu5SWj8P9Yasc4nZWTJSzc+jgRpx2S x3D/J24Jsy7S5QAnBk2rWjeXtX0urAhWEDZyOye8x1hbwbOdl/I7+s+C26VbIM+C wwZPRhFQV9hL+F6j/WUmpKOSf/DL79Dciil5+sLlwFgJjHDHzVtksaAIHRB53MkK iwJk5V7EGDubjisVwpVOJa0Xmee2uhlws4XrzsR0Hg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudefjedgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffffkfgggtgesthdttddttdertdenucfhrhhomhepufgvrghn ucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqe enucggtffrrghtthgvrhhnpedtffdvffeuleeuvdetkedvveehgfehvdegvefghfevudek geegleevgeejkeetkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: Feedback-ID: i23c04076:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 Feb 2023 00:18:33 -0500 (EST) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id 583967E5817; Wed, 1 Feb 2023 22:18:32 -0700 (MST) In-Reply-To: (Stefan Monnier's message of "Sun, 29 Jan 2023 21:30:41 -0500") Received-SPF: pass client-ip=66.111.4.27; envelope-from=spwhitton@spwhitton.name; helo=out3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302887 Archived-At: Hello, On Sun 29 Jan 2023 at 09:30PM -05, Stefan Monnier wrote: >>> > IMO, the "no writable eln-cache" scenario should be solved by tweaking >>> > native-comp-eln-load-path to include a writable directory. That >>> > writable directory could be temporary-file-directory, or it could be >>> > anything else, but it should be specified by the caller/user, not >>> > pulled out of our hat behind the scenes. >>> >>> That's where I disagree: when it comes to trampolines I think users >>> would be better served if we silently used an eln-cache in >>> `temporary-file-directory` rather than ignoring the subr's redefinition >>> (usually due to an advice). >> >> Why? in the Debian use case all they care about is that the file is >> not written to HOME, and my proposal doesn't break that. > > AFAIK your proposal breaks some uses of advice. > >> The trampoline isn't needed in their scenario, so there's no reason to >> generate it. > > I don't know if they need trampolines, but I wouldn't be surprised if > they do on occasion. Some of our addon package test suites use advice in ways that mean we need the trampolines. -- Sean Whitton