Robert Royar writes:
I upgraded my OS X Mountain Lion computer to Mavericks (a few
upgrade). XEmacs ("XEmacs 21.5 (beta34) \"kale\" 182d01410b8d+
[Lucid] (x86_64-apple-darwin12.5.0, Mule) of Sun Oct 20 2013 on
grendel.frinabulax.org") runs fine on it. However, when I tried to
compile that same version on Mavericks, I get all the way through
the final dump into the xemacs binary I get the following crash:
Could you post your Installation file? I hope Marcus or Olivier will
see the report, and that may help identify the problem.
./xemacs -no-packages -batch -no-autoloads -l update-elc-2.el -f
make: *** [update-elc-2] Segmentation fault: 11
make: *** [src] Error 2
Is there a way to run XEmacs without dumping? I tried configure
options to turn or portable dumping and dumbing in the binary, but
I get the same error. It seems as though this should work because
the old executable is still running fine.
Probably a different compiler, though.
The problem seems to be in the dumping process.
Actually, the dump finished fine, otherwise there would be no ./xemacs
to run. It's in the load phase of running the dumped executable.
If delta were wrong for some reason, this code from src/dumper.c looks
like it would account for the behavior we're seeing:
(* ptr.address) = (Rawbyte *) pdump_get_mc_addr (ptr.value);
#else /* not NEW_GC */
(* ptr.address) = ptr.value + delta; /* LINE 2336 IN THE TRACE */
#endif /* not NEW_GC */
You should try enabling --with-newgc (you may need --with-kkcc, too,
but that's supposed to be default now).
If you really want to try running without dumping,
./temacs -l /Users/royar/src/xemacs-hg/src/../lisp/loadup.el run-temacs
might work. Or perhaps "./xemacs -nd" instead of "./temacs", too.
don't know if it really works anymore, because there used to be a make
target "run-temacs", but not any more.)
XEmacs-Beta mailing list