Hi,
attempting a build of today's HEAD sources on netbsd-10 fails with
[...]
Dumping under the name xemacs
--- dump-size ---
--- dump-size-correct ---
--- xemacs ---
gcc -c -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wpointer-arith -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -g -O2 -g3 -Dunix -no-pie -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.12 -DTERMINFO -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.12 -Demacs -I. -I/var/obj/pkgsrc/wip/xemacs-hg/work/xemacs/src -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/pkg/include /var/obj/pkgsrc/wip/xemacs-hg/work/xemacs/src/dump-data.c ; gcc -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wpointer-arith -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -g -O2 -g3 -Dunix -no-pie -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.12 -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib:/usr/pkg/lib -Wl,-export-dynamic -o xemacs abbrev.o alloc.o alloca.o array.o balloon_help.o balloon-x.o blocktype.o buffer.o bytecode.o callint.o casefiddle.o casetab.o chartab.o filelock.o cmdloop.o cmds.o console.o console-stream.o data.o database.o debug.o tests.o device.o dired.o doc.o doprnt.o editfns.o elhash.o emacs.o emodules.o eval.o events.o event-stream.o event-unixoid.o dumper.o input-method-xlib.o inline.o linuxplay.o miscplay.o terminfo.o extents.o faces.o file-coding.o fileio.o filemode.o floatfns.o fns.o font-lock.o frame.o gc.o general.o glyphs.o glyphs-eimage.o glyphs-shared.o glyphs-widget.o gui.o menubar.o scrollbar.o dialog.o toolbar.o gutter.o imgproc.o indent.o insdel.o intl.o keymap.o line-number.o lread.o lstream.o macros.o marker.o md5.o minibuf.o mule-ccl.o mule-charset.o mule-coding.o number-gmp.o number.o fontcolor.o opaque.o print.o process.o process-unix.o profile.o rangetab.o realpath.o redisplay.o redisplay-output.o regex.o search.o select.o sequence.o sysdll.o signal.o sound.o specifier.o strftime.o symbols.o syntax.o sysdep.o text.o tls.o console-tty.o device-tty.o event-tty.o frame-tty.o fontcolor-tty.o redisplay-tty.o cm.o undo.o unicode.o console-x.o device-x.o event-Xt.o frame-x.o glyphs-x.o fontcolor-x.o redisplay-x.o select-x.o gccache-x.o intl-x.o gui-x.o menubar-x.o scrollbar-x.o dialog-x.o toolbar-x.o toolbar-xlike.o widget.o window.o ralloc.o EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o dump-data.o dump-id.o ../lwlib/liblw.a -lXaw -ltiff -lpng -ljpeg -lz -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE -lgmp -lgdbm -ltermcap -lossaudio -lintl -lm -lkvm -lutil ; touch -r temacs dump-id.o; touch -r temacs dump-id.c; touch -r temacs dump-data.o; touch -r temacs ../lib-src/DOC touch -r temacs ./NEEDTODUMP
--- update-elc-2 ---
./xemacs -no-packages -no-configured-paths -batch -no-autoloads -l update-elc-2.el -f batch-update-elc-2 ../lisp
[1] Segmentation fault (core dumped) ./xemacs -no-packages -no-configured-paths -ba...
*** [update-elc-2] Error code 139
make[1]: stopped in /var/obj/pkgsrc/wip/xemacs-hg/work/xemacs/src
1 error
with
(gdb) bt
#0 0x0000713274a4716a in kill () from /usr/lib/libc.so.12
#1 <signal handler called>
#2 0x0000000000625f3b in fixup_internal_substring (len=<synthetic pointer>, offset=0, reloc=0,
nonreloc=0x784cc0 "WARNING: Unable to auto-save your files properly.\nSome or all may in fact have been auto-saved.\n\n") at lisp.h:5519
#3 output_string (function=<optimized out>,
function@entry=0, nonreloc=
nonreloc@entry=0x784cc0 "WARNING: Unable to auto-save your files properly.\nSome or all may in fact have been auto-saved.\n\n",
reloc=<optimized out>, offset=
offset@entry=0, len=<optimized out>) at print.c:435
#4 0x00000000006279bc in write_string_1 (stream=
stream@entry=0, str=
str@entry=0x784cc0 "WARNING: Unable to auto-save your files properly.\nSome or all may in fact have been auto-saved.\n\n",
size=
size@entry=97) at print.c:729
#5 0x00000000004d7b2d in write_fmt_string_va (stream=0, fmt=
fmt@entry=0x784cc0 "WARNING: Unable to auto-save your files properly.\nSome or all may in fact have been auto-saved.\n\n",
va=
va@entry=0x7f7fff662a60) at doprnt.c:3282
#6 0x00000000004d8600 in stderr_out (fmt=
fmt@entry=0x784cc0 "WARNING: Unable to auto-save your files properly.\nSome or all may in fact have been auto-saved.\n\n") at doprnt.c:3465
#7 0x00000000004eb8fa in guts_of_fatal_error_signal (sig=11) at emacs.c:3446
#8 fatal_error_signal (sig=11) at emacs.c:3480
#9 <signal handler called>
#10 0x00000000005608cf in wrap_record_1 (ty=10, file=0x790f50 "fileio.c", line=4119, ptr=<optimized out>) at lrecord.h:1619
#11 Fdo_auto_save (no_message=0, current_only=0) at fileio.c:4119
#12 0x00000000004eb8e5 in guts_of_fatal_error_signal (sig=11) at emacs.c:3440
#13 fatal_error_signal (sig=11) at emacs.c:3480
#14 <signal handler called>
#15 0x0000000000000000 in ?? ()
#16 0x00000000004e62dd in pdump_reorganize_hash_table (hash_table=16248576) at elhash.c:1248
#17 0x00000000005193fd in pdump_load_finish () at dumper.c:2373
#18 0x000000000051dbce in pdump_load (unused_argv0=<optimized out>) at dumper.c:2693
#19 0x00000000004ee634 in xemacs_21_5_b35_x86_64__netbsd (argc=<optimized out>, argv=<optimized out>, unused_envp=
unused_envp@entry=0x0, restart=
restart@entry=0) at emacs.c:1086
#20 0x00000000007723bc in main (argc=<optimized out>, argv=0x7f7fff6637a8, unused_envp=<optimized out>) at emacs.c:2901
(gdb)
FWIW, the same machine will build 21.5.34 just fine.
Cheerio,
Hauke
-- Now without signature.