From: Andrew Whatson <whatson@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 44238@debbugs.gnu.org, Andrea Corallo <akrl@sdf.org>
Subject: bug#44238: 28.0.50; [feature/native-comp] Build trampolines for FULL_AOT builds
Date: Mon, 30 Aug 2021 07:23:08 +1000 [thread overview]
Message-ID: <CAPE069e7LF45D0tnH2_6m=zvrhPry4FMz5x+DS0SQenG+VaBaA@mail.gmail.com> (raw)
In-Reply-To: <87a6l2n6lw.fsf@gnus.org>
On Sat, 28 Aug 2021 at 03:24, Lars Ingebrigtsen <larsi@gnus.org> wrote:
>
> > 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.
>
> This was half a year ago -- did you make any progress in this area?
After playing with it some more, I have to agree with Andrea that
pre-compiling trampolines seems not really worth it. My reasonably
heavy emacs config needs only 37 trampolines, which take up 400K on
disk. It's difficult to justify building ~1500 trampolines to ship
~15M of binaries which would never be used.
I also didn't come up with a satisfactory Makefile patch, so at this
point probably best to close the ticket.
Cheers,
Andrew
next prev parent reply other threads:[~2021-08-29 21:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-26 12:20 bug#44238: 28.0.50; [feature/native-comp] Build trampolines for FULL_AOT builds Andrew Whatson
2020-10-26 13:40 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-06 20:56 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-06 22:43 ` Andrew Whatson
2020-11-06 22:53 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-27 17:24 ` Lars Ingebrigtsen
2021-08-29 21:23 ` Andrew Whatson [this message]
2021-08-29 21:26 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPE069e7LF45D0tnH2_6m=zvrhPry4FMz5x+DS0SQenG+VaBaA@mail.gmail.com' \
--to=whatson@gmail.com \
--cc=44238@debbugs.gnu.org \
--cc=akrl@sdf.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).