emacs-devel
[Top][All Lists]
Advanced

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

Native compile: excessive recompilation?


From: Michael Welsh Duggan
Subject: Native compile: excessive recompilation?
Date: Mon, 17 May 2021 15:05:06 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

I, from scratch, built Emacs with native compilation and built and
installed using NATIVE_FULL_AOT=1.  There is indeed a
/usr/local/lib/emacs/28.0.50/native-lisp dir with a directory that
contains the natively-compiled files.  However, if I start emacs, even
with -Q, from a fresh user, files get compiled and put into the user
native compilation cache (~/.emacs.d/eln-cache/...).  Has anyone else
noticed this?  Or have I just made a mistake somewhere when testing
this?  

If I use emacs -Q and do `C-h i', I get compilations for the following
files:

bytecomp-12882072-ffdd30ae.eln  comp-cstr-ef162ef7-c492cd97.eln
byte-opt-9c5f25f5-b7c94b77.eln  gv-e0cf7478-eac584a4.eln
cconv-3b1f1f98-ac4628a4.eln     help-mode-d4dbae3d-034e8cf5.eln
cl-extra-d7051cba-ff815ded.eln  info-ce12c0ca-3d2b00fd.eln
cl-lib-8b938900-fbcee53d.eln    rx-627d8c83-18b6598f.eln
cl-macs-7ae82f81-d9748b96.eln   seq-c314b42f-4e726806.eln
cl-seq-f464c4e2-95d0eb23.eln    subr-x-02dfef32-04f2924b.eln
comp-7672a6ed-56d0b5ab.eln      warnings-28e75f4d-c98d4e00.eln

I would have thought that it would use the ones in
/usr/local/lib/emacs/28.0.50/native-lisp instead of recompiling them?
If it can be confirmed that this is a bug, I'll submit a proper bug
report.

-- 
Michael Welsh Duggan
(md5i@md5i.com)



reply via email to

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