From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrew Whatson Newsgroups: gmane.emacs.bugs Subject: bug#44238: 28.0.50; [feature/native-comp] Build trampolines for FULL_AOT builds Date: Sat, 7 Nov 2020 08:43:30 +1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19151"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44238@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 06 23:44:10 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 1kbASo-0004so-7H for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Nov 2020 23:44:10 +0100 Original-Received: from localhost ([::1]:42206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbASn-0006QN-1J for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Nov 2020 17:44:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbASg-0006Q0-HO for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2020 17:44:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46021) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbASg-0002Rd-8E for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2020 17:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kbASg-0003FT-5Z for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2020 17:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Whatson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Nov 2020 22:44:02 +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.160470263012445 (code B ref 44238); Fri, 06 Nov 2020 22:44:02 +0000 Original-Received: (at 44238) by debbugs.gnu.org; 6 Nov 2020 22:43:50 +0000 Original-Received: from localhost ([127.0.0.1]:57567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbASU-0003Ee-1H for submit@debbugs.gnu.org; Fri, 06 Nov 2020 17:43:50 -0500 Original-Received: from mail-ua1-f46.google.com ([209.85.222.46]:38046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbASR-0003EC-1s for 44238@debbugs.gnu.org; Fri, 06 Nov 2020 17:43:48 -0500 Original-Received: by mail-ua1-f46.google.com with SMTP id 91so902224uar.5 for <44238@debbugs.gnu.org>; Fri, 06 Nov 2020 14:43:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Haic36nlSKvPS3Z29/X36wXQZcTmR1Xe776D8Uwh8fE=; b=jCIR9GritZLjfRL5jFSHI4XE4U67hje8I47u/pq3sRQtOkPM/7KFbyicvIlOiSW/ig KGySZIugmsRzr8oqQps3AnMlOtXFnRFkcuqkBrbZWNmG8aOEc8Kgk1K4v+OjDLUcjhas UEIlPc85TQhZREq6zYjGUhG2Nq9x51a3OeyvYSUcy+/zWsmpnfbI9v1XpLwzwP/GhG6u DIZOSbfKhMbWbFsVs9BQYHuufkge5b9Al/TQuwrDV2rE0MBsg5vuVQGtvnsafdtVUVWX e0DWCaXcYFDZQu/nsgweNHgGxu5t+quu2IaPOd2SRqN08hZXgYdz4FdT1TxLyQIlTdAs ZILQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Haic36nlSKvPS3Z29/X36wXQZcTmR1Xe776D8Uwh8fE=; b=lZTZzsHDXOpDM42+E8lTBC8aZ4Dk0fbuOvFHTic2XKj6WIMCKSiK56rb8YVCzaW0S0 mGPx/IBvGn7rYB/Joi3PONIbpCp7P7jBt31s5qa4IpffSaDPJl8d+dVBBOr5N/LJ+SRY xCS1ueED3gf3g7gRdtwYpAJ+MqxO2V9ZSWXSFpwIkDMcse7BIKc32TFwoU7j81pwXRvm 5rGwUw9lgDFG8pDHj3s1f6SFPzXaxcH4O9VyBNogDQUxUX6RHfXJpc5FgQtVj+eukRsW aOIOns3u7RRS4q3frkklSJxn3xSSeBy6geZdl5EJ3QjnQWnYthFwCD09xbtkG3k8T1AG 5yfw== X-Gm-Message-State: AOAM532Bx/ytTyMKkrvOxeJAxWU3J/4Tew8D5YavShbmWxVSVn5kFng7 JcEyxiLMR12EBxHjQ4zJnEaUPZXthgajPqFVeV0= X-Google-Smtp-Source: ABdhPJyleblM7zTairOk7nTpMUuO/ehJHHK2upJQWIMMquVT9NAWpXXuow24s+gSjHOCX1jljAen2IIbxxqsLGnzQps= X-Received: by 2002:ab0:7313:: with SMTP id v19mr2183740uao.87.1604702621455; Fri, 06 Nov 2020 14:43:41 -0800 (PST) In-Reply-To: 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:192803 Archived-At: 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.