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.devel Subject: Re: Suppressing native compilation (short and long term) Date: Fri, 30 Sep 2022 19:06:04 +0300 Message-ID: <83tu4odez7.fsf@gnu.org> References: <87bkqxf1ij.fsf@tethera.net> <8335c9dkyf.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36411"; mail-complaints-to="usenet@ciao.gmane.io" Cc: david@tethera.net, emacs-devel@gnu.org, akrl@sdf.org, rlb@defaultvalue.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 30 18:11:05 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 1oeIbQ-0009HD-0K for ged-emacs-devel@m.gmane-mx.org; Fri, 30 Sep 2022 18:11:04 +0200 Original-Received: from localhost ([::1]:51802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeIbO-00019J-RP for ged-emacs-devel@m.gmane-mx.org; Fri, 30 Sep 2022 12:11:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeIWo-0006To-G7 for emacs-devel@gnu.org; Fri, 30 Sep 2022 12:06:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39414) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeIWo-0006HJ-0q; Fri, 30 Sep 2022 12:06:18 -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=KkiDgKWdU9VLon3BZsaZHAkUn20Ql8BgOkLGaN+MQl4=; b=hSF9hYAxtd9G oD9rbgM0ZTPKG7HKV2Vib7PYFVQ+8Q/H7PbW7bVvKXhHd0F2aTFzrhSUga4Y6TahK+XZZ90wiAeW7 B0hSes1lPLQMsDYo+PrCorjatTjYOauni6Zexlt2PxyTNUkowPYnzO5oEbOptuZxTo2YoVWjDL1sD 5VGnQlkNuLtQritRJrng9ijggmcFu37rgCnXQmotjXFLvT/GRsaHyx210Qvh1ougIWwpD1Pi9OXRR Eob2/lbhs5mERI2JAjIFMa8JkwI05m/mcXzhRaJUzTVgKVDt/SwMHjIfwDp/EAbXZ+Q98IIbYFHci vBgHd2nV6w/hSlfgWCzFnA==; Original-Received: from [87.69.77.57] (port=3185 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 1oeIWn-0004zz-E1; Fri, 30 Sep 2022 12:06:17 -0400 In-Reply-To: (message from Stefan Monnier on Fri, 30 Sep 2022 11:32:57 -0400) 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:296527 Archived-At: > From: Stefan Monnier > Cc: David Bremner , emacs-devel@gnu.org, akrl@sdf.org, > rlb@defaultvalue.org > Date: Fri, 30 Sep 2022 11:32:57 -0400 > > Byte-compilation does load files (not the one being compiled, but many > others, starting with `bytecomp` of course), so it can trigger > native-compilation of some files (including some of the files being > byte-compiled, if they `require` each other, which is very common). The solution for this that I'd suggest is to precompile them, so that the package comes with those files already as *.eln. That's what we did in Emacs 28.1 for -nw sessions, which always load the terminal support file from lisp/term/.