From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#44238: 28.0.50; [feature/native-comp] Build trampolines for FULL_AOT builds Date: Fri, 06 Nov 2020 22:53:34 +0000 Message-ID: References: Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23525"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 44238@debbugs.gnu.org To: Andrew Whatson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 06 23:54:26 2020 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 1kbAck-00060Z-18 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Nov 2020 23:54:26 +0100 Original-Received: from localhost ([::1]:49536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbAcj-00023u-3F for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Nov 2020 17:54:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbAcM-0001iQ-6C for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2020 17:54:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46025) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbAcL-0003vj-SA for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2020 17:54:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kbAcL-0003dY-Ql for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2020 17:54:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Nov 2020 22:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44238 X-GNU-PR-Package: emacs Original-Received: via spool by 44238-submit@debbugs.gnu.org id=B44238.160470321913928 (code B ref 44238); Fri, 06 Nov 2020 22:54:01 +0000 Original-Received: (at 44238) by debbugs.gnu.org; 6 Nov 2020 22:53:39 +0000 Original-Received: from localhost ([127.0.0.1]:57571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbAby-0003ca-Tw for submit@debbugs.gnu.org; Fri, 06 Nov 2020 17:53:39 -0500 Original-Received: from mab.sdf.org ([205.166.94.33]:58172 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbAbw-0003cM-FI for 44238@debbugs.gnu.org; Fri, 06 Nov 2020 17:53:37 -0500 Original-Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kbAbv-00042r-0T; Fri, 06 Nov 2020 22:53:35 +0000 In-Reply-To: (Andrew Whatson's message of "Sat, 7 Nov 2020 08:43:30 +1000") 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" Xref: news.gmane.io gmane.emacs.bugs:192804 Archived-At: Andrew Whatson writes: > Andrea Corallo wrote: > >> as I mentioned I think is really not worth, I'd be for closing >> this. WDYT about? > > Sorry for the delay, I have been (slowly) working on a patch to build > the trampolines as part of a NATIVE_FULL_AOT build. Adding a step to > the Makefile was easy, but all the trampolines end up in > ~/.emacs.d/eln-cache instead of the build directory. I'll invest some > more time over the weekend to get this working. > > I understand that these are relatively cheap to build, but my > motivation is that when building binary packages for wider > distribution, any work ahead-of-time will pay off many times over. > I'd at least like to gather some data on the impact to build times and > package size from pre-building the trampolines before closing this > issue, if you don't strongly disagree. Sure take your time. Andrea