I installed OS X 10.8 on my iMacs yesterday. XEmacs compiles and links without an error.
temacs runs and byte compiles the elisp files. The build fails near the end when the
dumped version of XEmacs tries load and run -batch and the batch-update functions.
I recall reading somewhere that 10.8 would be unfriendly to programs that dump and then
try to run the dumped file. Perhaps that is what is going on. Is there a way to configure
so that XEmacs does not create a dumped image and then to run temacs instead? That way I
could test the executable to see if it was stable. Here is the only part of the crash
report with usable data:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 xemacs 0x00000001018b8dea pdump_load_finish + 330
1 xemacs 0x00000001018b97e5 pdump_load + 101 (dumper.c:2682)
2 xemacs 0x00000001018985e1
xemacs_21_5_b31_i386_apple_darwin12_0_0 + 3841 (emacs.c:1399)
3 xemacs 0x0000000101899114 main + 164
4 xemacs 0x000000010184e304 start + 52
Here is the tail end of the build:
Loading site-load...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name xemacs
if test -f dump-size; then \
../lib-src/insert-data-in-exec temacs xemacs.dmp xemacs ` ./temacs -si`;
\
ret=$? ; \
if test ${ret} -eq 2; then \
rm -f dump-size ; \
else \
if test ${ret} -eq 1; then \
exit 1; \
else \
chmod +x xemacs ; \
fi ; \
fi ; \
fi
dumped_data found at offset 0x3d2f60, patching.
dumped_data found at offset 0x3d2f60, patching.
if test ! -f dump-size; then \
../lib-src/insert-data-in-exec -s xemacs.dmp > dump-size ; \
rm -f dump-data.o xemacs xemacs.dmp temacs;\
make xemacs; \
fi
./xemacs -no-packages -batch -no-autoloads -l update-elc-2.el -f batch-update-elc-2
/Users/royar/src/xemacs-hg/src/../lisp
make[1]: *** [update-elc-2] Segmentation fault: 11
make: *** [src] Error 2
Here is the configuration:
uname -a: Darwin
grendel.frinabulax.org 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24
23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64
./configure '--with-mule' '--with-gcc' '--with-scrollbars=lucid'
'--with-widgets=athena' '--with-athena=3d' '--with-dialogs=athena'
'--prefix=/Users/royar/usr/local' '--with-png' '--with-jpeg'
'--with-tiff' '--with-xim=no' '--enable-sound=none,esd'
'--disable-xfs' '--with-compiler=gcc' '--disable-kkcc'
'--without-ipv6-cname' '--without-ldap' '--without-postgresql'
'--x-includes=/opt/X11/include' '--x-libraries=/opt/X11/lib'
'--with-xft=emacs,gauges,tabs' '--with-union-type'
'--with-bignum=gmp' '--without-error-checking'
'CC=/usr/bin/gcc-4.2' 'CFLAGS=-arch x86_64' 'LDFLAGS=-L/usr/lib
-lncurses -lz -L/opt/X11/lib -lpng -lXpm -lXft -lXrender -lXt -lXext -lX11 -lSM -lICE
-lfontconfig -L/opt/local/lib -ltiff -ljpeg -lesd' 'CPPFLAGS=-I/opt/local/include
-I/opt/X11/include -I/opt/X11/include/freetype2' 'CXX=/usr/bin/g++-4.2'
XEmacs 21.5-b31 "ginger" ee95ef1e644c+ configured for
`i386-apple-darwin12.0.0'.
Compilation Environment and Installation Defaults:
Source code location: /Users/royar/src/xemacs-hg
Installation prefix: /Users/royar/usr/local
Not using any operating system description file
Machine description file: `m/intel386.h'
Compiler version: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based
on Apple Inc. build 5658) (LLVM build 2336.11.00)
- GCC specs file: specs.
- Compiler command: gcc -Wall -Wno-switch -Wundef -Wsign-compare
-Wno-char-subscripts -Wpacked -Wpointer-arith -Wshadow -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wunused-parameter
-g -arch x86_64
libc version:
Relocating allocator for buffers: no
GNU version of malloc: no
- The GNU allocators don't work with this system configuration.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /opt/X11/include
- X Windows libraries location: /opt/X11/lib
- Handling WM_COMMAND properly.
- Using fontconfig to manage fonts.
- Compiling in support for Xft antialiased fonts (EXPERIMENTAL).
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw3d
- Athena library to link: Xaw3d
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
- Using Xft to render antialiased fonts in tab controls.
WARNING: This Xft feature will be replaced with a face.
- Using Xft to render antialiased fonts in progress bars.
WARNING: This Xft feature will be replaced with a face.
WARNING: This Xft feature not yet implemented; setting ignored.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Compiling in support for ESD (Enlightened Sound Daemon).
Databases:
Compiling in support for Berkeley database.
Compiling in support for GNU DBM.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Mail:
Compiling in support for "file" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Compiling in support for more number types using the GNU MP library.
Using the union type for Lisp_Objects.
WARNING: ---------------------------------------------------------
WARNING: This tends to trigger compiler bugs, especially when
WARNING: combined with MULE and ERROR_CHECKING. Crashes have
WARNING: been seen with various versions of GCC (up to about 2.95),
WARNING: and recently with Visual C++ as well (mid-2003).
WARNING: More recent versions may be safer, or not.
WARNING: ---------------------------------------------------------
Using the new portable dumper.
Dumping into executable.
Compiling in support for extra debugging code.
--
Robert Delius Royar <xemacs(a)frinabulax.org>
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta