bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#57309: 29.0.50; Build error "trying to dump non fixed-up eln file"


From: Gerd Möllmann
Subject: bug#57309: 29.0.50; Build error "trying to dump non fixed-up eln file"
Date: Sun, 21 Aug 2022 15:39:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin)

Gerd Möllmann <gerd.moellmann@gmail.com> writes:

> Two more tries, and it doesn't want to stop there.

And with this in loadup.el

diff --git a/lisp/loadup.el b/lisp/loadup.el
index 634a331436..ded700a671 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -473,6 +473,7 @@
 ;; At this point, we're ready to resume undo recording for scratch.
 (buffer-enable-undo "*scratch*")
 
+(message "XXX")
 (when (featurep 'native-compile)
   ;; Fix the compilation unit filename to have it working when
   ;; installed or if the source directory got moved.  This is set to be
@@ -480,7 +481,9 @@
   ;;     (rel-filename-from-install-bin . rel-filename-from-local-bin).
   (let ((bin-dest-dir (cadr (member "--bin-dest" command-line-args)))
         (eln-dest-dir (cadr (member "--eln-dest" command-line-args))))
+    (message "AAA %s %s" bin-dest-dir eln-dest-dir)
     (when (and bin-dest-dir eln-dest-dir)
+      (message "BBB")
       (setq eln-dest-dir
             (concat eln-dest-dir "native-lisp/" comp-native-version-dir "/"))
       (maphash (lambda (_ cu)
@@ -492,6 +495,7 @@
                                               (expand-file-name "preloaded"
                                                                 eln-dest-dir)
                                             eln-dest-dir)))
+                   (message "native-comp-set-file %s" file)
                    (native-comp-unit-set-file
                     cu
                    (cons

I see

Loading leim/leim-list.el (source)...
Loading emacs-lisp/rmc (native compiled elisp)...
Waiting for git...
Waiting for git...
Finding pointers to doc strings...
Finding pointers to doc strings...done
XXX
AAA --eln-dest nil
Pure-hashed: 14904 strings, 1759 vectors, 46342 conses, 1091 bytecodes, 348 
others
Dumping under the name emacs.pdmp

I guess we're almost there :-).

The temacs call in my original bug report looked like

rm -f emacs && cp -f temacs emacs
LC_ALL=C ./temacs -batch  -l loadup --temacs=pdump \
                --bin-dest  --eln-dest 
Loading loadup.el (source)...
Dump mode: pdump


Note that --bin-dest and --eln-dest have no arguments.





reply via email to

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