After the mixed blessing of an upgrade to the latest macos (your choice
of capitalization) 1.12, I tried to rebuild XEmacs 21.4.24 via pkgsrc.
It fails in the protable dumper:
[...]
Loading
/var/obj/pkgsrc/editors/xemacs/work/xemacs-21.4.24/src/../lisp/update-elc.el...
Loading very-early-lisp...
Loading find-paths.el...
Loading packages.el...
Loading setup-paths.el...
Loading dump-paths.el...
Loading
/var/obj/pkgsrc/editors/xemacs/work/xemacs-21.4.24/lisp/dumped-lisp.el...
Wrote /var/obj/pkgsrc/editors/xemacs/work/xemacs-21.4.24/src/NEEDTODUMP
Building finder database ...
/bin/sh: line 1: 46439 Segmentation fault: 11 (core dumped)
/var/obj/pkgsrc/editors/xemacs/work/xemacs-21.4.24/src/xemacs -batch
-vanilla -eval '(setq finder-compile-keywords-quiet t)' -l finder -f
finder-compile-keywords
*** Error code 139
Stop.
bmake: stopped in /var/obj/pkgsrc/editors/xemacs/work/xemacs-21.4.24
*** Error code 1
% /<6>xemacs-21.4.24/src > lldb -f xemacs
(lldb) target create "xemacs"
Current executable set to 'xemacs' (x86_64).
(lldb) r -batch -vanilla -eval '(setq finder-compile-keywords-quiet t)'
-l finder -f finder-compile-keywords
Process 46540 launched:
'/private/var/obj/pkgsrc/editors/xemacs/work/xemacs-21.4.24/src/xemacs'
(x86_64)
Process 46540 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason =
EXC_BAD_ACCESS (code=1, address=0x10e354a30)
frame #0: 0x000000010006a3a4 xemacs`pdump_load_finish at
dumper.c:1112
1109 for (i=0; i<header->nb_root_struct_ptrs; i++)
1110 {
1111 pdump_static_pointer ptr = PDUMP_READ (p,
pdump_static_pointer);
-> 1112 (* ptr.address) = ptr.value + delta;
1113 }
1114
1115 /* Put back the pdump_opaques */
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason =
EXC_BAD_ACCESS (code=1, address=0x10e354a30)
* frame #0: 0x000000010006a3a4 xemacs`pdump_load_finish at
dumper.c:1112
frame #1: 0x000000010006a0b4
xemacs`pdump_load(argv0="/private/var/obj/pkgsrc/editors/xemacs/work/xemacs-21.4.24/src/xemacs")
at dumper.c:1447
frame #2: 0x000000010004d04c
xemacs`xemacs_21_4_24_x86_64_apple_darwin16(argc=9,
argv=0x00007fff5fbff678, envp=0x00007fff5fbff6c8, restart=0) at
emacs.c:1300
frame #3: 0x000000010004fe94 xemacs`main(argc=9,
argv=0x00007fff5fbff678, envp=0x00007fff5fbff6c8) at emacs.c:2829
frame #4: 0x00007fff9eb08235 libdyld.dylib`start + 1
frame #5: 0x00007fff9eb08235 libdyld.dylib`start + 1
(lldb) frame variable
(int) i = 0
(char *) p = 0x0000000101bf35b0 "\xa0U5\x0e\x01"
(long) delta = 4320133120
(long) count = 140734799802544
(pdump_header *) header = 0x0000000101800000
(pdump_static_pointer) ptr = {
address = 0x000000010e354a30
value = 0x00000000002f3b68 ""
}
(lldb)
'make configure' has
XEmacs 21.4.24 "Standard C" configured for `x86_64-apple-darwin16'.
Compilation / Installation:
Source code location:
/var/obj/pkgsrc/editors/xemacs/work/xemacs-21.4.24
Installation prefix: /opt/pkg
Additional header files: /opt/pkg/include /opt/pkg/include
Additional libraries: /opt/pkg/lib /opt/pkg/lib
Runtime library search path: /opt/pkg/lib:/opt/pkg/lib
Operating system description file: `s/darwin.h'
Not using any machine description file
Compiler: clang -pipe -g3 -Dunix
-I/opt/pkg/include
Compiler version: clang on x86_64-apple-darwin16
Relocating allocator for buffers: no
GNU version of malloc: no
- The GNU allocators don't work with this system configuration.
libc: system-provided libc on
x86_64-apple-darwin16
... any pointers?
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