* compiling emacs-23.4 with CANNOT_DUMP
@ 2019-12-27 9:13 rrandresf
2019-12-27 18:58 ` Paul Eggert
0 siblings, 1 reply; 3+ messages in thread
From: rrandresf @ 2019-12-27 9:13 UTC (permalink / raw)
To: emacs-devel
Hi.
I am trying to compile emacs 23.4 but I was hit with the glibc-unexec
issue. So emacs23 can not Dump. Then I remember Paul Eggert tried
CANNOT_DUMP in the past. Then I tried CANNOT_DUMP on emacs23 with the
result below.
I am getting this error:
--8<---------------cut here---------------start------------->8---
Symbol's function definition is void: dump-emacs
--8<---------------cut here---------------end--------------->8---
Any ideas how to continue the compilation?
AR
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: compiling emacs-23.4 with CANNOT_DUMP
2019-12-27 9:13 compiling emacs-23.4 with CANNOT_DUMP rrandresf
@ 2019-12-27 18:58 ` Paul Eggert
2019-12-30 23:16 ` andrés ramírez
0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggert @ 2019-12-27 18:58 UTC (permalink / raw)
To: rrandresf; +Cc: emacs-devel
On 12/27/19 1:13 AM, rrandresf@gmail.com wrote:
> Any ideas how to continue the compilation?
I suggest building emacs-27 with './configure --with-dumping=none'. You can get
it by cloning the emacs-27 branch from Savannah
<https://savannah.gnu.org/projects/emacs> and running './autogen.sh' before
running 'configure'.
I'm suggesting this partly because I don't want to think about Emacs 23 any
more, particularly with respect to obscure features like CANNOT_DUMP.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: compiling emacs-23.4 with CANNOT_DUMP
2019-12-27 18:58 ` Paul Eggert
@ 2019-12-30 23:16 ` andrés ramírez
0 siblings, 0 replies; 3+ messages in thread
From: andrés ramírez @ 2019-12-30 23:16 UTC (permalink / raw)
To: Paul Eggert; +Cc: emacs-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-12-30 23:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-27 9:13 compiling emacs-23.4 with CANNOT_DUMP rrandresf
2019-12-27 18:58 ` Paul Eggert
2019-12-30 23:16 ` andrés ramírez
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).