Sigh.
Debian Linux 2.1 or so "potato" all packages current 1999-06-14
Linux kernel: 2.2.5 (local config)
GCC version: egcs-2.91.66
libc version: /lib/libc.so.6 -> libc-2.1.1.so
libX11 version: XFree86 3.3.3.1 Debian release 8
temacs dies in update-elc with "Segmentation fault (core dumped)" and
no Lisp backtrace (for reasons which will be obvious).
Installation[1], then C backtrace[2]. The problems seems to be with
`--use-union-type'; I've tried several variations on optimization
level and --no-strict-aliases (which shouldn't matter since my egcs
isn't breaking ledge) on 21.1.2, and the --use-union-type=yes builds
all crashed, the --use-union-type=no builds did not (but I had
problems with my CVS update, so take that with a grain of salt).
Crashed were always crashed in Fintern().
Without --use-union-type=yes, the build completes and XEmacs is
usable. Installation[3] attached at end. I fixed a problem with the
PNG library installation so it got autorecognized; I'll go back and
rebuild with '--use-union-type=yes' and PNG if anybody thinks it matters.
Footnotes:
[1] uname -a: Linux tanko 2.2.5 #5 Tue May 11 23:10:39 JST 1999 i586 unknown
./configure '--prefix=/playpen/gnu' '--exec-prefix=/playpen/gnu/plat'
'--with-mule' '--with-xim=xlib' '--with-sound=both'
'--debug' '--use-union-type=yes' '--cflags=-g -O3 -fno-caller-saves
-Wall -Wno-switch'
XEmacs 21.1-p3 "Acadia" configured for `i586-pc-linux'.
Where should the build process find the source code? /playpen/src/xemacs-21
What installation prefix should install use? /playpen/gnu
What operating system and machine description files should XEmacs use?
`s/linux.h' and `m/intel386.h'
What compiler should XEmacs be built with? gcc -g -O3 -fno-caller-saves
-Wall -Wno-switch
Should XEmacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/X11R6/include
Where do we find X Windows libraries? /usr/X11R6/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
--------------------------------------------------------------------
WARNING: Compiling without PNG image support.
WARNING: You should strongly consider installing the PNG libraries.
WARNING: Otherwise certain images and glyphs may not display.
WARNING: (a copy may be found in
ftp://ftp.xemacs.org/pub/xemacs/aux)
--------------------------------------------------------------------
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for TIFF image handling.
Compiling in support for X-Face message headers.
Compiling in both network and native sound support.
Compiling in support for Berkeley DB.
Compiling in support for ncurses.
Compiling in Mule (multi-lingual) support.
Compiling in XIM (X11R5+ I18N input method) support.
Using raw Xlib to provide XIM support.
Compiling in support for Canna on Mule.
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Using the union type for Lisp_Objects.
Using Lisp_Objects with minimal tagbits.
Compiling in extra code for debugging.
Compiling in code for checking XEmacs memory usage.
[2] GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
Core was generated by `./temacs -batch -l
/playpen/src/xemacs-21/src/../lisp/update-elc.el'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/nfslock.so.0...done.
Reading symbols from /usr/lib/libaudio.so.2...done.
Reading symbols from /usr/lib/libcanna.so.1...done.
Reading symbols from /usr/lib/libRKC.so.1...done.
Reading symbols from /usr/X11R6/lib/Xaw3d/libXaw.so.6...done.
Reading symbols from /usr/lib/libcompface.so.1...done.
Reading symbols from /usr/lib/libtiff.so.3...done.
Reading symbols from /usr/lib/libjpeg.so.62...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /lib/libdb.so.3...done.
Reading symbols from /lib/libncurses.so.4...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0 Fintern (str={gu = {type = Lisp_Type_Record, val = 34049556}, s = {
bits = 0, val = 68099112}, u = {bits = 0, val = 68099112},
ui = 136198224, i = 136198224, v = 0x81e3850, cv = 0x81e3850}, obarray={
gu = {type = Lisp_Type_Record, val = 34505237}, s = {bits = 0,
val = 69010474}, u = {bits = 0, val = 69010474}, ui = 138020948,
i = 138020948, v = 0x83a0854, cv = 0x83a0854}) at symbols.c:197
197 if (SYMBOLP (*ptr))
(gdb) where
#0 Fintern (str={gu = {type = Lisp_Type_Record, val = 34049556}, s = {
bits = 0, val = 68099112}, u = {bits = 0, val = 68099112},
ui = 136198224, i = 136198224, v = 0x81e3850, cv = 0x81e3850}, obarray={
gu = {type = Lisp_Type_Record, val = 34505237}, s = {bits = 0,
val = 69010474}, u = {bits = 0, val = 69010474}, ui = 138020948,
i = 138020948, v = 0x83a0854, cv = 0x83a0854}) at symbols.c:197
#1 0x8172785 in defsymbol (location=0x83760f0, name=0x81cf40d "t")
at symbols.c:3201
#2 0x816f5c2 in init_symbols_once_early () at symbols.c:3193
#3 0x80ace90 in xemacs_21_1_p3_i586_pc_linux (argc=4, argv=0xbffffb74,
envp=0xbffffb88, restart=0) at emacs.c:844
#4 0x80aee41 in main (argc=4, argv=0xbffffb74, envp=0xbffffb88)
at emacs.c:2069
(gdb) quit
[3] uname -a: Linux tanko 2.2.5 #5 Tue May 11 23:10:39 JST 1999 i586 unknown
./configure '--prefix=/playpen/gnu' '--exec-prefix=/playpen/gnu/plat'
'--with-mule' '--with-xim=xlib' '--with-sound=both'
'--debug' '--cflags=-g -O3 -fno-caller-saves -Wall -Wno-switch'
XEmacs 21.1-p3 "Acadia" configured for `i586-pc-linux'.
Where should the build process find the source code? /playpen/src/xemacs-21
What installation prefix should install use? /playpen/gnu
What operating system and machine description files should XEmacs use?
`s/linux.h' and `m/intel386.h'
What compiler should XEmacs be built with? gcc -g -O3 -fno-caller-saves
-Wall -Wno-switch
Should XEmacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/X11R6/include
Where do we find X Windows libraries? /usr/X11R6/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for TIFF image handling.
Compiling in support for X-Face message headers.
Compiling in both network and native sound support.
Compiling in support for Berkeley DB.
Compiling in support for ncurses.
Compiling in Mule (multi-lingual) support.
Compiling in XIM (X11R5+ I18N input method) support.
Using raw Xlib to provide XIM support.
Compiling in support for Canna on Mule.
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Using Lisp_Objects with minimal tagbits.
Compiling in extra code for debugging.
Compiling in code for checking XEmacs memory usage.
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
__________________________________________________________________________
__________________________________________________________________________
What are those two straight lines for? "Free software rules."