emacs-devel
[Top][All Lists]
Advanced

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

Re: compiling emacs-23.4 with CANNOT_DUMP


From: andrés ramírez
Subject: Re: compiling emacs-23.4 with CANNOT_DUMP
Date: Mon, 30 Dec 2019 23:16:30 +0000

Hi Paul.

Just for the record (perhaps in the future myself should check this info
again). 
--8<---------------cut here---------------start------------->8---
In GNU Emacs 23.4 (armv7l-unknown-linux-gnueabi)
 of 2019-12-30 on sacsa
configured using `configure  '--without-gif' '--with-jpeg=no' '--without-dbus' 
'--without-gconf' '--without-libotf' '--without-m17n-flt' '--without-gpm' 
'--program-suffix=emacs23' '--infodir=/share/info/emacs23' 
'--localstatedir=/var' '--without-x' '--with-x-toolkit=no' 'CFLAGS=-g3 -O0' 
'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' 
'CPPFLAGS=-D_FORTIFY_SOURCE=2''
--8<---------------cut here---------------end--------------->8---

compilation was completed (5 files were modified):

src/s/gnu-linux.h:163
#define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \
  ((FILE)->_IO_write_ptr - (FILE)->_IO_write_base)

src/config.h:924
#define CANNOT_DUMP 1

src/lread.c:4070
  if (!NILP (Vinstallation_directory))
    normal = PATH_DUMPLOADSEARCH;

src/Makefile.in {930; 1410}
just leaving the CANNOT_DUMP parts of the #ifdef

./Makefile.in:526 {just on armv7h, not needed on i686}
           fullversion=`./src/emacs --batch --eval '(princ (emacs-version))' | 
sed -n '1 s/GNU Emacs *//p'`; \

After compilation was completed the HOME var was not setted-up on the emacs
undumped-binary. added a file site-init.el with (setenv "HOME" "/home/my")

And that's it.

I tried also compiling it removing -O0 from CFLAGS. But it failed 
within a command "shadow paths" or something like that. So I need to
removed optimizations from the configure script.

BTW. I have also compiled with CANNOT_DUMP emacs-25 and emacs-26.
emacs-26 is ok
emacs-25 have some issues (i do not remember exactly which ones)

BR



reply via email to

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