GNU bug report logs - #60208
28.1; Resource exhaustion with emacs 28's native compilation; need "-Q" for trampoline

Previous Next

Package: emacs;

Reported by: htl10 <at> users.sourceforge.net

Date: Mon, 19 Dec 2022 22:00:02 UTC

Severity: normal

Found in version 28.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: htl10 <at> users.sourceforge.net
Cc: 60208 <at> debbugs.gnu.org
Subject: bug#60208: 28.1; Resource exhaustion with emacs 28's native compilation; need "-Q" for trampoline
Date: Tue, 20 Dec 2022 05:32:15 +0200
> Date: Mon, 19 Dec 2022 21:59:26 +0000 (UTC)
> From: Hin-Tak Leung <htl10 <at> users.sourceforge.net>
> 
> Now,
> "/tmp/emacs-int-comp-subr--trampoline-64656c6574652d63686172_delete_char_0-*.el"
> seems to be some kind of stub which needs to be natively compiled as a
> prerequisite for any native compilation at all, and it needs to be done
> once ever, and it writes to
> ~/.emacs.d/eln-cache/28.1-b1f2d84a/subr--trampoline-64656c6574652d63686172_delete_char_0.eln
> , and do it exactly once.
> 
> However, currently, emacs 28 is doing this via:
> 
> "/usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline..."
> 
> missing a "-Q", and should be:
> 
> "/usr/bin/emacs -Q --batch -l /tmp/emacs-int-comp-subr--trampoline..."
> 
> The consequence of the missing "-Q" is that, this commands also loads
> emacs-ess, and which requires native compilation, which launches more
> copies of the process of "emacs ... --batch -l
> /tmp/emacs-int-comp-subr--trampoline...".

I'm not sure this conclusion is correct, because --batch implies -q.
There's a difference between -q and -Q, so are you saying that
emacs-ess is loaded from a site-init file in your case?




This bug report was last modified 2 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.