From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline Date: Sun, 29 Jan 2023 09:01:16 +0200 Message-ID: <83a621964j.fsf@gnu.org> References: <74d13c46-5b26-9dd8-45dc-32b7fda25421@gmail.com> <833583ks9t.fsf@gnu.org> <86tu0iwx49.fsf@gmail.com> <83a629i3aj.fsf@gnu.org> <83r0vhcf9m.fsf@gnu.org> <83mt65c9vv.fsf@gnu.org> <86zga2pdih.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17233"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60996@debbugs.gnu.org To: Andy Moreton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 29 08:02:24 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pM1ho-0004Fh-6f for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Jan 2023 08:02:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pM1hf-0003ia-U2; Sun, 29 Jan 2023 02:02:15 -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 1pM1hZ-0003hZ-FW for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2023 02:02:09 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pM1hS-0003Qc-By for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2023 02:02:09 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pM1hS-0007q1-0N for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2023 02:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Jan 2023 07:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60996 X-GNU-PR-Package: emacs Original-Received: via spool by 60996-submit@debbugs.gnu.org id=B60996.167497569530090 (code B ref 60996); Sun, 29 Jan 2023 07:02:01 +0000 Original-Received: (at 60996) by debbugs.gnu.org; 29 Jan 2023 07:01:35 +0000 Original-Received: from localhost ([127.0.0.1]:42119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pM1h0-0007pG-LX for submit@debbugs.gnu.org; Sun, 29 Jan 2023 02:01:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pM1gy-0007p3-L0 for 60996@debbugs.gnu.org; Sun, 29 Jan 2023 02:01:33 -0500 Original-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 ) id 1pM1gt-0003LN-Dz; Sun, 29 Jan 2023 02:01:27 -0500 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=ulWqU1kBpBXIxetP7sYl+Sink87oNVxsGzAvGYvDqJY=; b=Qp/nXTynd0sO tGinBoph5u5cf57JJOWPL6po/TvGN3iXyicMBLhr661cKhVDoJYdjslyHbzPPMWiWnYoiIKaPiBFA t8QkpauoxqpgtM+qlKMvEuCxcAIbeGqbY5wjunuTPeteoN4kZCXZ16UcJhbRl2DHnbaLTPVnAqhpb /Z/iN4Em+WtwFbpf6JnBysYJ3vEk8D/hyBcF0hjc5msxx2B9vv3uXVtf70SsT8EnfJC6dGUCNgFp+ Blc9PvPzHyVMd1W4MfNp+XPBh2o7xVgCEP3KGIu+8JWIoJJg7Z/s3cd061q9zGhVO03mizlgbEnBk GBubRWNu7dsEJILswHpDnw==; Original-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 ) id 1pM1gs-0001Y7-HS; Sun, 29 Jan 2023 02:01:26 -0500 In-Reply-To: <86zga2pdih.fsf@gmail.com> (message from Andy Moreton on Sat, 28 Jan 2023 21:15:02 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254333 Archived-At: > From: Andy Moreton > Date: Sat, 28 Jan 2023 21:15:02 +0000 > > I know Eli is not a fan of inhibit-automatic-native-compilation, but I > think there is a place for it. Users may want to use precompiled .eln > files but not waste effort on native compiling other code. > > If this error can be suppressed such that the only effect is for a temp > file to be left around, that is a reasonable solution to this. What I dislike is that inhibit-automatic-native-compilation promises not to start compilation, but it actually does start compilation, for trampolines, and writes them to a directory we invent behind user's back. What I'd like to do is to go to the previous situation, where compilation of trampolines was disabled at startup if native-compilation is not available (something that happens on Windows only), and leave the rest to the user: if they want the trampolines to be compiled, but not written to eln-cache, let them tweak native-comp-eln-load-path to direct trampolines to another place, whether the temporary directory or any other directory.