I've build successfully 21.0 "Uzbek Black" and now tried to build
"Benadir" but got a segmentation fault. The only difference in setup
between the two builds is a newer version of egcs (currently: gcc
version egcs-2.91.51 19980714).
I'm running Linux 2.1.108 and use a glibc 2.1 snapshot on i486.
Now I'm trying to build a minimal xemacs that has debugging/error
checking enabled with gcc 2.7.2.3. I'll tell the results.
Andreas
Program received signal SIGSEGV, Segmentation fault.
Fintern (str={gu = {type = Lisp_Type_Record, val = 34054324}, s = {bits = 0,
val = 68108648}, u = {bits = 0, val = 68108648}, ui = 136217296,
i = 136217296, v = 0x81e82d0, cv = 0x81e82d0}, obarray={gu = {
type = Lisp_Type_Record, val = 34509319}, s = {bits = 0,
val = 69018638}, u = {bits = 0, val = 69018638}, ui = 138037276,
i = 138037276, v = 0x83a481c, cv = 0x83a481c})
at /mnt/xemacs/cvs-sources/xemacs-20/src/symbols.c:207
207 if (SYMBOLP (*ptr))
(gdb) p ptr
$1 = (Lisp_Object *) 0x18aee200
(gdb) p *ptr
Cannot access memory at address 0x18aee200.
(gdb) l
202 is safer to do it this way, to avoid hosing with symbols within
203 pure objects. */
204 if (EQ (obarray, Vobarray))
205 XSYMBOL (sym)->obarray = Qt;
206
207 if (SYMBOLP (*ptr))
208 symbol_next (XSYMBOL (sym)) = XSYMBOL (*ptr);
209 else
210 symbol_next (XSYMBOL (sym)) = 0;
211 *ptr = sym;
(gdb) bt
#0 Fintern (str={gu = {type = Lisp_Type_Record, val = 34054324}, s = {
bits = 0, val = 68108648}, u = {bits = 0, val = 68108648},
ui = 136217296, i = 136217296, v = 0x81e82d0, cv = 0x81e82d0}, obarray={
gu = {type = Lisp_Type_Record, val = 34509319}, s = {bits = 0,
val = 69018638}, u = {bits = 0, val = 69018638}, ui = 138037276,
i = 138037276, v = 0x83a481c, cv = 0x83a481c})
at /mnt/xemacs/cvs-sources/xemacs-20/src/symbols.c:207
#1 0x81665f5 in defsymbol (location=0x837a2f0, name=0x81d43ad "t")
at /mnt/xemacs/cvs-sources/xemacs-20/src/symbols.c:3205
#2 0x8164c04 in init_symbols_once_early ()
at /mnt/xemacs/cvs-sources/xemacs-20/src/symbols.c:3197
#3 0x80abb70 in xemacs_21_0_i486_pc_linux (argc=1, argv=0xbffffab4,
envp=0xbffffabc, restart=0)
at /mnt/xemacs/cvs-sources/xemacs-20/src/emacs.c:840
#4 0x80adaa1 in main (argc=1, argv=0xbffffab4, envp=0xbffffabc)
at /mnt/xemacs/cvs-sources/xemacs-20/src/emacs.c:2057
#5 0x4028150f in __libc_start_main (main=0x80ada30 <main>, argc=1,
argv=0xbffffab4, init=0x807a8c0 <_init>, fini=0x81ba350 <_fini>,
rtld_fini=0x4000b300 <_dl_fini>, stack_end=0xbffffaac)
at ../sysdeps/generic/libc-start.c:78
uname -a: Linux arthur 2.1.108 #111 Sun Jul 5 23:09:47 CEST 1998 i486 unknown
/mnt/xemacs/cvs-sources/xemacs-20/configure '--compiler=/opt/egcs/bin/gcc' '--cflags=-pipe -O3 -fno-exceptions -g -Wall -Wno-switch' '--prefix=/usr' '--package-path=~/.xemacs:/usr/lib/xemacs/packages:/usr/lib/xemacs/mule-packages' '--extra-verbose=no' '--with-site-lisp' '--const-is-losing=no' '--use-union-type' '--srcdir=/mnt/xemacs/cvs-sources/xemacs-20' '--with-gnu-make' '--with-database=no' '--error-checking=none' '--debug=no' '--mail-locking=flock' '--with-gpm=no' '--with-offix=no' '--with-menubars=lucid' '--with-scrollbars=lucid' '--with-dialogs=athena' '--with-mule'
XEmacs 21.0 "Benadir" configured for `i486-pc-linux'.
Where should the build process find the source code? /mnt/xemacs/cvs-sources/xemacs-20
What installation prefix should install use? /usr
What operating system and machine description files should XEmacs use?
`s/linux.h' and `m/intel386.h'
What compiler should XEmacs be built with? /opt/egcs/bin/gcc -pipe -O3 -fno-exceptions -g -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 X-Face message headers.
Compiling in support for GIF image conversion.
Compiling in support for JPEG image conversion.
Compiling in support for PNG image conversion.
Compiling in support for TIFF image conversion.
Compiling in native sound support.
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 proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Compiling in DLL support.
movemail will use "flock" for locking mail spool files.
Using the union type for Lisp_Objects.
Using Lisp_Objects with minimal tagbits.
--
Andreas Jaeger aj(a)arthur.rhein-neckar.de jaeger(a)informatik.uni-kl.de
for pgp-key finger ajaeger(a)alma.student.uni-kl.de