emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building a release tarball generates trampoline files in eln-cache


From: Eli Zaretskii
Subject: Re: Building a release tarball generates trampoline files in eln-cache
Date: Sat, 13 Nov 2021 16:47:02 +0200

> From: Andrea Corallo <akrl@sdf.org>
> Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
> Date: Thu, 11 Nov 2021 21:01:37 +0000
> 
> > Would the code to implement this be complicated?  If not, please show
> > the code you had in mind, so I could make sure we are on the same
> > page.
> 
> I'm attaching the following patch.  It is very much untested but should
> clarify what I had in mind.

Thanks.  I think we should do this on master, but on the release
branch compile gv.el AOT, as that will be safer.  WDYT?

> > And while I have your attention, another question: suppose that Emacs
> > with all the preloaded files compiled to *.eln is installed on a
> > system that has libgccjit (which AFAIU is necessary to run the
> > native-compiled code), but doesn't have Binutils -- what will happen
> > when Emacs loads some .el file and tries to compile it?  Will the
> > response to the compilation failure be graceful?  (This situation is
> > likely to happen when users install a binary distro, but don't have
> > Binutils available.)
> 
> I believe binutils is a dependecy of libgccjit, so I guess having
> libgccjit without binutils should be classified as missconfiguration no?

Dependency in what way?  maybe if one installs from a Linux distro,
Binutils will be installed as a dependency.  But if someone downloads
a precompiled libgccjit DLL on Windows, for example, they will not
have Binutils unless they also install it.  Because libgccjit is part
of GCC, and one can AFAIK install MinGW GCC without installing
Binutils.

So I think my question still stands.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]