Josh Howard <jrh(a)zeppelin.net> writes in xemacs-beta(a)xemacs.org:
FreeBSD 3.0-CURRENT (soon to be -RELEASE) has switched from a.out to
ELF and XEmacs won't build or run properly. If s/freebsd.h is synched
up with Emacs 20.3, to use unexelf.c for instance, it will build
properly, but dumps core when it attempts to run. Moreover, Emacs-20.3
builds and runs perfectly fine in the new ELF world of FreeBSD.
This is with 21.2, though I imagine all versions would have this same
problem. Here's a backtrace:
In addition to changing s/freebsd.h, you might also grep the FSF
ChangeLogs for other related changes. Was unexelf.c changed, for
example?