>>>>> "sb" == SL Baur <steve(a)xemacs.org> writes:
sb> Oscar Figueiredo <Oscar.Figueiredo(a)di.epfl.ch> writes in xemacs-beta(a)xemacs.org:
>> I can't build XEmacs 21.1 on RedHat 6.0 at any level of optimization
sb> ...
>> EMACSBOOTSTRAPLOADPATH="/home/xemacs/src/xemacs-21.1/src/../lisp/:/home/xemacs/src/xemacs-21.1" ./temacs -batch -l /home/xemacs/src/xemacs-21.1/src/../lisp/update-elc.el
>> make[1]: *** [update-elc.stamp] Segmentation fault (core dumped)
>> make[1]: Leaving directory `/home/xemacs/src/xemacs-21.1/src'
>> make: *** [src] Error 2
sb> Just for grins, please rm src/*.o and rebuild optimized.
Alas, same cause, same results. I even recompiled with -g (in addition to -O)
which got me the following backtrace:
Core was generated by `./temacs -batch -l /home/xemacs/src/xemacs-21.1/src/../lisp/update-elc.el'.
Program terminated with signal 11, Segmentation fault.
#0 0x4031e3e5 in ?? ()
(gdb) bt
#0 0x4031e3e5 in ?? ()
#1 0x807f1bd in resize_string (s=0x82ee204, pos=128, delta=1) at alloc.c:2261
#2 0x807f2e6 in set_string_char (s=0x82ee204, i=128, c=128) at alloc.c:2340
#3 0x808e19f in complex_vars_of_casetab () at casetab.c:323
#4 0x80a4b2d in xemacs_21_1_3_i686_pc_linux (argc=4, argv=0xbffff7e4, envp=0xbffff7f8, restart=0)
at emacs.c:1526
#5 0x80a5445 in main (argc=4, argv=0xbffff7e4, envp=0xbffff7f8) at emacs.c:2069
#6 0x402d7cb3 in ?? ()
(gdb) up
#1 0x807f1bd in resize_string (s=0x82ee204, pos=128, delta=1) at alloc.c:2261
2261 memmove (addroff + delta, addroff,
(gdb) print s
$1 = (struct Lisp_String *) 0x82ee204
Oscar