Found the problem, must use --pdump. The problem was, as you said, the
gnu linker.
Now I am seeing the following crash when I exit xemacs:
% src/xemacs
Warning: XmFontListCreate() is an obsolete function!
Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
Your version of XEmacs was distributed with a PROBLEMS file that may
describe
your crash, and with luck a workaround. Please check it first, but do
report
the crash anyway. Please report this bug by invoking M-x report-emacs-bug,
or by selecting `Send Bug Report' from the Help menu. If necessary, send
ordinary email to `crashes(a)xemacs.org'. *MAKE SURE* to include the XEmacs
configuration from M-x describe-installation, or equivalently the file
Installation in the top of the build tree.
*Please* try *hard* to obtain a C stack backtrace; without it, we are
unlikely
to be able to analyze the problem. Locate the core file produced as a
result
of this crash (often called `core' or `core.<process-id>', and located in
the directory in which you started XEmacs or your home directory), and type
gdb /home/aaronw/ftp/gnu/xemacs-21.5.10/src/xemacs core
then type `where' at the debugger prompt. No GDB on your system? You may
have DBX, or XDB, or SDB. (Ask your system administrator if you need help.)
If no core file was produced, enable them (often with `ulimit -c unlimited'
in case of future recurrance of the crash.
Lisp backtrace follows:
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
kill-emacs()
# bind (arg)
save-buffers-kill-emacs()
delete-frame(#<dead-frame nil 0x840> t)
eval((delete-frame #<dead-frame nil 0x840> t))
# (condition-case ... . error)
# (catch top-level ...)
Segmentation Fault (core dumped)
#0 0xfeb9a480 in _libc_kill () from /usr/lib/libc.so.1
(gdb) where
#0 0xfeb9a480 in _libc_kill () from /usr/lib/libc.so.1
#1 0x000b0388 in fatal_error_signal ()
#2 <signal handler called>
#3 YowIter (ht=0xb, id=0x0, v=0x74682074, client=0x47e3c0)
at ImageCache.c:1159
#4 0xff26cc5c in _LTHashTableForEachItem (ht=0x4725e8,
iter=0xff26dda0 <YowIter>, ClientData=0x47e3c0) at Hash.c:671
#5 0xff2a4664 in destroy (w=0x496550) at Screen.c:352
#6 0xfef92118 in Phase2Destroy () from /usr/openwin/lib/libXt.so.4
#7 0xfef91940 in Recursive () from /usr/openwin/lib/libXt.so.4
#8 0xfef91e44 in XtPhase2Destroy () from /usr/openwin/lib/libXt.so.4
#9 0xfef91ae8 in _XtDoPhase2Destroy () from /usr/openwin/lib/libXt.so.4
#10 0xfef918cc in XtDestroyWidget () from /usr/openwin/lib/libXt.so.4
#11 0xfef91438 in CloseDisplay () from /usr/openwin/lib/libXt.so.4
#12 0xfef91394 in XtCloseDisplay () from /usr/openwin/lib/libXt.so.4
#13 0x0025b8b0 in x_delete_device ()
#14 0x000940b0 in delete_device_internal ()
#15 0x000806a0 in delete_console_internal ()
#16 0x000b00f8 in Fkill_emacs ()
#17 0x000bacb0 in Ffuncall ()
#18 0x0006be0c in execute_optimized_program ()
#19 0x000c39f0 in funcall_compiled_function ()
---Type <return> to continue, or q <return> to quit---
#20 0x000bb140 in Ffuncall ()
#21 0x000bce78 in call0 ()
#22 0x000804dc in delete_console_internal ()
#23 0x00093ce4 in delete_device_internal ()
#24 0x00131cf0 in delete_frame_internal ()
#25 0x00132c54 in Fdelete_frame ()
#26 0x000b9d04 in Feval ()
#27 0x000bacb0 in Ffuncall ()
#28 0x000bcf18 in call1 ()
#29 0x000d9b6c in execute_command_event ()
#30 0x000da814 in Fdispatch_event ()
#31 0x0007cc08 in Fcommand_loop_1 ()
#32 0x0007c920 in command_loop_1 ()
#33 0x000b5a48 in condition_case_1 ()
#34 0x0007c47c in command_loop_3 ()
#35 0x0007c4b4 in command_loop_2 ()
#36 0x000b537c in internal_catch ()
#37 0x0007c654 in initial_command_loop ()
#38 0x000ae494 in xemacs_21_5_b10_sparc_sun_solaris2_7 ()
#39 0x000af854 in main ()
(gdb)
Stephen J. Turnbull wrote:
xemacs-patches & ben removed, reply-to set. (Not your bad, _I_
shoulda set reply-to last time.)
>>>>>"Aaron" == Aaron Williams <aaron_williams(a)net.com>
writes:
>>>>>
>>>>>
Aaron> /home/aaronw/ftp/gnu/xemacs-21.5.10/src/xemacs: unknown dynamic entry:
Search PROBLEMS for "unknown dynamic entry." This is probably a
conflict with the GNU linker.
uname -a: SunOS atlas 5.7 Generic_106541-18 sun4u sparc SUNW,Ultra-4
./configure '--prefix=/tools/kde/gnu' '--with-cde'
'--memory-usage-stats' '--with-default-eol-detection'
'--with-workshop' '--site-prefixes=/tools/qt/share'
'--cflags=-B/usr/ccs/bin/' '--pdump'
'--site-prefixes=/tools/qt/share/:/tools/kde/gnu' '--with-site-lisp=yes'
'--error-checking=none' '--use-kkcc' '--with-system-malloc'
XEmacs 21.5-b10 "burdock" configured for `sparc-sun-solaris2.7'.
Compilation / Installation:
Source code location: /home/aaronw/ftp/gnu/xemacs-21.5.10
Installation prefix: /tools/kde/gnu
Additional prefixes: /tools/qt/share/ /tools/kde/gnu
Runtime library search path:
/usr/ccs/lib:/tools/qt/share//lib:/tools/kde/gnu/lib:/usr/dt/lib:/usr/openwin/lib:/tools/NET/lib:/tools/workshop/sun5/lib:/tools/atmlocal/tcl/tcl7.6/lib:/work/engtest/ATM/SMB/lib3.10/lib:/home/aaronw/gnu/lib:/tools/kde/gnu/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: /tools/kde/gnu/bin/gcc -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wundef -Wstrict-prototypes -Wshadow
-Wmissing-declarations -Wpointer-arith -B/usr/ccs/bin/
Relocating allocator for buffers: yes
GNU version of malloc: no
- User chose not to use GNU allocators.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/dt/include /usr/openwin/include
- X Windows libraries location: /usr/dt/lib /usr/openwin/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for GIF images (builtin).
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 sound (native).
Databases:
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for ToolTalk.
Compiling in support for Sun WorkShop.
Compiling in support for dynamic shared object modules.
Using the new GC algorithms.
Using the new portable dumper.
Compiling in support for extra debugging code.