[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs.pdmp not always rebuilt
From: |
Lars Ingebrigtsen |
Subject: |
Re: emacs.pdmp not always rebuilt |
Date: |
Sun, 03 Oct 2021 15:10:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> Maybe "make -jN" with N too high causes some issues with time stamps?
> Otherwise I don't understand how this could happen: the emacs
> executable depends on all the preloaded *.elc files, so recompiling
> any of them should re-dump Emacs.
That's what I thought, too, but:
larsi@elva:~/src/emacs/trunk$ ls -l src/emacs.pdmp
-rw-r--r-- 2 larsi larsi 10985296 Oct 3 14:47 src/emacs.pdmp
larsi@elva:~/src/emacs/trunk$ touch lisp/loadup.el
larsi@elva:~/src/emacs/trunk$ make
make -C lib all
make[1]: Entering directory '/home/larsi/src/emacs/trunk/lib'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/larsi/src/emacs/trunk/lib'
make -C lib-src all
make[1]: Entering directory '/home/larsi/src/emacs/trunk/lib-src'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/larsi/src/emacs/trunk/lib-src'
make -C src VCSWITNESS='$(srcdir)/../.git/logs/HEAD'
BIN_DESTDIR=''/usr/local/bin/'' \
ELN_DESTDIR='/usr/local/lib/emacs/29.0.50/' all
make[1]: Entering directory '/home/larsi/src/emacs/trunk/src'
GEN lisp.mk
make -C ../admin/charsets all
[...]
make[2]: Leaving directory '/home/larsi/src/emacs/trunk/admin/charsets'
GEN ../etc/DOC
rm -f emacs && cp -f temacs emacs
LC_ALL=C ./temacs -batch -l loadup --temacs=pdump \
--bin-dest /usr/local/bin/ --eln-dest /usr/local/lib/emacs/29.0.50/
Loading loadup.el (source)...
Dump mode: pdump
Using load-path (/home/larsi/src/emacs/trunk/lisp)
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...
Loading emacs-lisp/macroexp...
Loading cus-face...
Loading faces...
Loading loaddefs.el (source)...
Loading button...
Loading emacs-lisp/nadvice...
Loading emacs-lisp/cl-preloaded...
Loading obarray...
Loading abbrev...
Loading simple...
cp -f emacs.pdmp bootstrap-emacs.pdmp
make[1]: Leaving directory '/home/larsi/src/emacs/trunk/src'
make -C lisp all
[...]
make[1]: Leaving directory '/home/larsi/src/emacs/trunk/doc/misc'
larsi@elva:~/src/emacs/trunk$ !ls
ls -l src/emacs.pdmp
-rw-r--r-- 2 larsi larsi 10985296 Oct 3 14:47 src/emacs.pdmp
larsi@elva:~/src/emacs/trunk$ date
Sun Oct 3 15:05:37 CEST 2021
larsi@elva:~/src/emacs/trunk$
>> Even more frustratingly, deleting the .pdmp file just leads to "make"
>> not working at all.
>
> You need to delete the emacs executable as well, and touch temacs.
If I do that, I just end up with:
Loading abbrev...
Loading simple...
cp -f emacs.pdmp bootstrap-emacs.pdmp
cp: cannot stat 'emacs.pdmp': No such file or directory
Hm... perhaps what I'm working on is making the build process bug out
in a way that's not... communicated? I'm working on something in
subr.el...
Aha! That was it. OK, sorry for the noise -- I was working on a macro
in subr.el, and that make loading simple.elc fail -- but in a way that's
not reported? That sounds like a bug, but...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- emacs.pdmp not always rebuilt, Lars Ingebrigtsen, 2021/10/03
- Re: emacs.pdmp not always rebuilt, Eli Zaretskii, 2021/10/03
- Re: emacs.pdmp not always rebuilt,
Lars Ingebrigtsen <=
- Re: emacs.pdmp not always rebuilt, Stefan Monnier, 2021/10/03
- Re: emacs.pdmp not always rebuilt, Lars Ingebrigtsen, 2021/10/03
- Re: emacs.pdmp not always rebuilt, Gregory Heytings, 2021/10/03
- Re: emacs.pdmp not always rebuilt, Stefan Kangas, 2021/10/03
- Re: emacs.pdmp not always rebuilt, Eli Zaretskii, 2021/10/03
- Re: emacs.pdmp not always rebuilt, Gregory Heytings, 2021/10/04
- Re: emacs.pdmp not always rebuilt, Lars Ingebrigtsen, 2021/10/04
- Re: emacs.pdmp not always rebuilt, Stefan Kangas, 2021/10/04
- Re: emacs.pdmp not always rebuilt, Eli Zaretskii, 2021/10/04
- Re: emacs.pdmp not always rebuilt, Eli Zaretskii, 2021/10/04