GNU bug report logs - #45858
28.0.50; [native-comp] compilation very slow

Previous Next

Package: emacs;

Reported by: Óscar Fuentes <ofv <at> wanadoo.es>

Date: Thu, 14 Jan 2021 12:26:02 UTC

Severity: normal

Found in version 28.0.50

Done: Óscar Fuentes <ofv <at> wanadoo.es>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 45858 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Óscar Fuentes <ofv <at> wanadoo.es>
Cc: 45858 <at> debbugs.gnu.org
Subject: Re: bug#45858: 28.0.50; [native-comp] compilation very slow
Date: Thu, 28 Jan 2021 21:20:39 +0000
Óscar Fuentes <ofv <at> wanadoo.es> writes:

> After starting a new instance of Emacs with an empty eln-cache,
> producing .eln files takes a long time. Any typical file takes more than
> five minutes, with some files (like lsp-protocol.el, right now)
> approaching two hours. Memory consumption is reasonable (155 MB for the
> process that is compiling lsp-protocol.el, about 60 MB for a typical
> compilation process).
>
> Right now, after 9 hours, there are 272 .eln files in the cache.
>
> The machine is a high-end desktop from 2015 and has dozens of GB of free
> memory and remains perfectly responsible, this is not the problem about
> excessive memory use that was reported previously. There is no other
> significant CPU activity.

This is behaviour is unexpected, but is kind of hard if not impossible
to guess the issue from here.

I guess both Emacs and and libgccjit are not debug build correct?

  Andrea




This bug report was last modified 4 years and 113 days ago.

Previous Next


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