GNU bug report logs - #48578
28.0.50; Native-compiled files of some preloaded files not loaded at dump time

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sat, 22 May 2021 07:21:01 UTC

Severity: normal

Found in version 28.0.50

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: Andrea Corallo <akrl <at> sdf.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 48578 <at> debbugs.gnu.org
Subject: bug#48578: 28.0.50; Native-compiled files of some preloaded files not loaded at dump time
Date: Mon, 24 May 2021 06:55:10 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:

> Something strange is going on on this GNU/Linux system, unlike other
> systems where I build Emacs with native-compilation: when dumping,
> some of the preloaded files seem to be loaded in their byte-compiled
> form, not native-compiled form.  The files are the ones loaded at the
> very beginning of 'loadup':
>
>   Loading emacs-lisp/byte-run...
>   Loading emacs-lisp/backquote...
>   Loading subr...
>   Loading version...
>   Loading widget...
>   Loading custom...
>   Loading emacs-lisp/map-ynp...
>   Loading international/mule...
>   Loading international/mule-conf...
>   Loading env...
>   Loading format...
>   Loading bindings...
>   Loading window...
>   Loading files...
>
> All the preloaded files after these ones are loaded as native-compiled
> Lisp, as expected.
>
> I forced native compilation of the offending files, and verified the
> corresponding *.eln files are refreshed in the native-lisp directory,
> but the problem persists.
>
> Why does this happen, and how do I fix it?

Hi Eli,

I just did a fresh build on GNU/Linux and I cannot reproduce this.

===
Loading emacs-lisp/byte-run (native compiled elisp)...
Loading emacs-lisp/backquote (native compiled elisp)...
Loading subr (native compiled elisp)...
Loading version (native compiled elisp)...
Loading widget (native compiled elisp)...
Loading custom (native compiled elisp)...
Loading emacs-lisp/map-ynp (native compiled elisp)...
Loading international/mule (native compiled elisp)...
Loading international/mule-conf (native compiled elisp)...
Loading env (native compiled elisp)...
Loading format (native compiled elisp)...
Loading bindings (native compiled elisp)...
Loading window (native compiled elisp)...
Loading files (native compiled elisp)...
Loading emacs-lisp/macroexp (native compiled elisp)...
===

Maybe related to the fix for bug#48497 and some state of your build?

Regards

  Andrea




This bug report was last modified 3 years and 355 days ago.

Previous Next


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