From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri D'Elia Newsgroups: gmane.emacs.devel Subject: Re: Add a configure option for NATIVE_FULL_AOT? Date: Tue, 17 Aug 2021 19:12:28 +0200 Message-ID: <87zgtg3qev.fsf@wavexx.thregr.org> References: <83bl5w70vw.fsf@gnu.org> <834kbo6xm5.fsf@gnu.org> <87zgtg3x4i.fsf@wavexx.thregr.org> <83zgtg57jv.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="33087"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.3; emacs 28.0.50 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 17 19:58:27 2021 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 1mG3M3-0008QN-1e for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Aug 2021 19:58:27 +0200 Original-Received: from localhost ([::1]:33656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mG3M1-0000Os-37 for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Aug 2021 13:58:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mG3LE-0007Mi-8i for emacs-devel@gnu.org; Tue, 17 Aug 2021 13:57:36 -0400 Original-Received: from erc.thregr.org ([2001:41c9:1:41f::63]:38946) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mG3LC-0003WA-HN; Tue, 17 Aug 2021 13:57:36 -0400 Original-Received: from [212.27.194.162] (helo=localhost) by erc.thregr.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) id 1mG3LH-001fVG-KN (envelope-from ); Tue, 17 Aug 2021 19:57:39 +0200 In-reply-to: <83zgtg57jv.fsf@gnu.org> Received-SPF: pass client-ip=2001:41c9:1:41f::63; envelope-from=wavexx@thregr.org; helo=erc.thregr.org X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) 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.23 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:272507 Archived-At: On Tue, Aug 17 2021, Eli Zaretskii wrote: > Well, then it's a pity you are speaking up just now, instead of 8 > months ago, or whenever you discovered NATIVE_FULL_AOT. We've spent > these months discovering non-trivial problems with the way Emacs is > built by default with natively-compiled Lisp, fixing those problems, > and stabilizing the solutions so that Emacs could go into pretest > soon. If we now change things under the assumption that > NATIVE_FULL_AOT will be used frequently, let alone by default, we'll > have to redo some of this work, or risk releasing Emacs with potential > build, installation, and usage problems. Eeh, I know. I try to keep up with emacs development but even though I like emacs and use it daily, I'm not involved enough to keep up at the same same rate I rebuild it ;). I have a few bug reports I submitted myself I'd wish to work on (I still think clicking in the scroll-margin zone is completely broken), but coulnd't put down any time on it. I browse through the list infrequently (sometimes ignoring it for months at time), so even such important discussions can escape my radar. My bad here. > compiled behind the scenes when first loaded. With all of them > compiled AOT, you will now have an outdated .eln file in the standard > place and a new one in your eln-cache, which will definitely confuse > or bite you some day. The way it works now seems logical to me, and I find the current behavior totally expected. A real question I had for a while now is whether emacs attempts to solve the cleanup problem in the user's eln-cache itself. > The XDG thing was discussed and we decided not to do that. Again, > perhaps if you and others spoke back then, maybe we would make a > different decision. I've currently symlinked the directory to the proper root in ~/.cache, mostly to avoid backing it up.