Sorry for hijacking the thread, but this sounds similar enough...
On Arch, building 21.5.34 gives me
[...]
Loading
/var/obj/pkgsrc/editors/xemacs-current/work/xemacs-21.5.34/lisp/paragraphs.elc...
Loading
/var/obj/pkgsrc/editors/xemacs-current/work/xemacs-21.5.34/lisp/loaddefs.elc...
Loading site-load...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name xemacs
./xemacs -no-packages -batch -no-autoloads -l update-elc-2.el -f
batch-update-elc-2
/var/obj/pkgsrc/editors/xemacs-current/work/xemacs-21.5.34/src/../lisp
*** Signal 11
Stop.
bmake[1]: stopped in
/var/obj/pkgsrc/editors/xemacs-current/work/xemacs-21.5.34/src
*** Error code 1
with
(gdb) run -no-packages -batch -no-autoloads -l update-elc-2.el -f
batch-update-elc-2
/var/obj/pkgsrc/editors/xemacs-current/work/xemacs-21.5.34/src/../lisp
Starting program:
/var/obj/pkgsrc/editors/xemacs-current/work/xemacs-21.5.34/src/xemacs
-no-packages -batch -no-autoloads -l update-elc-2.el -f
batch-update-elc-2
/var/obj/pkgsrc/editors/xemacs-current/work/xemacs-21.5.34/src/../lisp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x000055555567bdde in pdump_reloc_one_mc (data=0x7ffff468b000,
desc=desc@entry=0x55619d5776c0) at dumper.c:1293
1293 for (pos = 0; desc[pos].type != XD_END; pos++)
(gdb) bt
#0 0x000055555567bdde in pdump_reloc_one_mc (data=0x7ffff468b000,
desc=desc@entry=0x55619d5776c0) at dumper.c:1293
#1 0x000055555567c52d in pdump_load_finish () at dumper.c:2319
#2 0x0000555555680c7e in pdump_load (argv0=<optimized out>) at
dumper.c:2761
#3 0x000055555564c5dc in xemacs_21_5_b34_x86_64_unknown_linux (argc=9,
argv=0x7fffffffe628, unused_envp=<optimized out>, restart=0) at emacs.c:1407
#4 0x00005555555b37b4 in main (argc=<optimized out>,
argv=0x7fffffffe628, unused_envp=<optimized out>) at emacs.c:3190
(gdb) print pos
$1 = 0
(gdb) print desc[0]
Cannot access memory at address 0x55619d5776c0
(gdb)
Compiler is
% gcc --version | head -1
gcc (GCC) 8.2.1 20181127
%
I tried building with and without kkcc and newgc, without any difference.
Building directly from the sources fails early in configure - looks like
gcc8 defaults to -Werror!?
Cheerio,
hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-21344