emacs-devel
[Top][All Lists]
Advanced

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

Re: Suppressing native compilation (short and long term)


From: Stefan Monnier
Subject: Re: Suppressing native compilation (short and long term)
Date: Fri, 14 Oct 2022 23:09:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Andrea Corallo [2022-10-14 22:37:51] wrote:
> Lars Ingebrigtsen <larsi@gnus.org> writes:
>> Lars Ingebrigtsen <larsi@gnus.org> writes:
>>> So we need a recursion blocker in the trampoline generation function.
>> Or -- since trampolines are really fast to generate and we need to do
>> that synchronously anyway -- we could just avoid forking an Emacs do
>> create the trampoline?
> We don't do that because libgccjit (well GCC really) leaks memory.

But we can do that *in the forked Emacs* (this one will exit after
compilation, so leakage is not an issue), so we do fork once but we avoid
forking infinitely.


        Stefan




reply via email to

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