I've run into problems building 21.0-b40 on Solaris. It builds the xemacs
binary just fine, but it crashes when trying to rebuild the elc files. I
have tried a "make clean", and even removed the .elc files from the lisp
directory to make sure that wasn't the problem. This tree has been patched
up from b39, but that was a clean download (and there are no .rej files).
There's no lisp backtrace, all I get is:
Lisp backtrace follows:
make: *** [all-elc] Error 139
And here's the output from gdb:
GDB is free software and you are welcome to 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.
GDB 4.16 (sparc-sun-solaris2.5.1),
Copyright 1996 Free Software Foundation, Inc...
Core was generated by `./src/xemacs -batch -vanilla -l
/home/drich/Src/xemacs-21.0-b40/lisp/cleantree'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/dt/lib/libXm.so.3...done.
Reading symbols from /opt/local/lib/libtiff.so...done.
Reading symbols from /opt/local/lib/libpng.so.2...done.
Reading symbols from /usr/openwin/lib/libXpm.so.4.11...done.
Reading symbols from /usr/dt/lib/libDtSvc.so.1...done.
Reading symbols from /usr/openwin/lib/libtt.so.2...done.
Reading symbols from /usr/openwin/lib/libXmu.so.4...done.
Reading symbols from /usr/openwin/lib/libXt.so.4...done.
Reading symbols from /usr/openwin/lib/libXext.so.0...done.
Reading symbols from /usr/openwin/lib/libX11.so.4...done.
Reading symbols from /usr/openwin/lib/libSM.so.6.0...done.
Reading symbols from /usr/openwin/lib/libICE.so.6.3...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /opt/gnu/lib/libncurses.so.3.0...done.
Reading symbols from /usr/lib/libkvm.so.1...done.
Reading symbols from /usr/lib/libkstat.so.1...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libelf.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/ucblib/libucb.so.1...done.
Reading symbols from /usr/lib/libresolv.so.1...done.
Reading symbols from /usr/lib/libw.so.1...done.
Reading symbols from /usr/lib/libintl.so.1...done.
Reading symbols from /usr/lib/libmp.so.1...done.
Reading symbols from /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1...done.
Reading symbols from /usr/lib/nss_files.so.1...done.
#0 0xef074728 in kill ()
(gdb) where
#0 0xef074728 in kill ()
#1 0x5def4 in fatal_error_signal (sig=11) at emacs.c:262
#2 <signal handler called>
#3 0x1e3e8 in mark_object (obj=541931008) at alloc.c:3171
#4 0x363b4 in mark_char_table (obj=20, markobj=0x1e2e0 <mark_object>)
at chartab.c:145
#5 0x1e464 in mark_object (obj=540905472) at alloc.c:3181
#6 0x21a34 in mark_buffer (obj=4042240, markobj=0x1e2e0 <mark_object>)
at bufslots.h:96
#7 0x1e464 in mark_object (obj=540913152) at alloc.c:3181
#8 0x1940f0 in mark_symbol_value_buffer_local (obj=541407552,
markobj=0x1e2e0 <mark_object>) at symbols.c:909
#9 0x1e464 in mark_object (obj=541407552) at alloc.c:3181
#10 0x1e64c in mark_object (obj=4409684) at alloc.c:3235
#11 0x1e5c8 in mark_object (obj=3792896) at alloc.c:3217
#12 0x202c0 in garbage_collect_1 () at alloc.c:4492
#13 0x65cd4 in Feval (form=1079580748) at eval.c:2919
#14 0x130da8 in readevalloop (readcharfun=542641664, sourcename=1616400200,
evalfun=0x659b8 <Feval>, printflag=0) at lread.c:1343
#15 0x12f998 in Fload_internal (file=1616400200, no_error=-1606823908,
nomessage=-1606823908, nosuffix=-1606823932, codesys=3568640,
used_codesys=-1606823932) at lread.c:750
#16 0x66934 in funcall_recording_as (recorded_as=539578260, nargs=5,
args=0xefffd264) at eval.c:3193
#17 0x66c50 in Ffuncall (nargs=6, args=0xefffd264) at eval.c:3238
#18 0x2f8d4 in Fbyte_code (bytestr=1613914888, vector=-2144181288,
maxdepth=3576832) at bytecode.c:416
#19 0x67f24 in funcall_lambda (fun=540173512, nargs=3, arg_vector=0xefffd5bc)
at eval.c:3597
#20 0x66bfc in funcall_recording_as (recorded_as=540173512, nargs=3,
args=0xefffd5b8) at eval.c:3214
#21 0x66c50 in Ffuncall (nargs=4, args=0xefffd5b8) at eval.c:3238
#22 0x2f8d4 in Fbyte_code (bytestr=1613397288, vector=-2144699064,
maxdepth=3576832) at bytecode.c:416
#23 0x66340 in Feval (form=1076526360) at eval.c:3063
#24 0x63a48 in condition_case_1 (handlers=3555328, bfun=0x659b8 <Feval>,
barg=1076526360, hfun=0x63ab4 <run_condition_case_handlers>,
harg=-1606823836) at eval.c:1653
#25 0x63c20 in condition_case_3 (bodyform=1076526360, var=-1606823836,
handlers=1076526432) at eval.c:1715
#26 0x2fd94 in Fbyte_code (bytestr=1613397208, vector=-2144699144,
maxdepth=3576832) at bytecode.c:576
#27 0x67f24 in funcall_lambda (fun=539655780, nargs=1, arg_vector=0xefffdd4c)
at eval.c:3597
#28 0x66bfc in funcall_recording_as (recorded_as=539655780, nargs=1,
args=0xefffdd48) at eval.c:3214
#29 0x66c50 in Ffuncall (nargs=2, args=0xefffdd48) at eval.c:3238
#30 0x68570 in call1 (fn=539655780, arg0=1615127384) at eval.c:3912
#31 0xf9564 in mapcar1 (leni=73, vals=0x0, fn=539655780, seq=1079021404)
at fns.c:3237
#32 0xf9850 in Fmapc (fn=539655780, seq=1079021404) at fns.c:3320
#33 0x66a1c in funcall_recording_as (recorded_as=539574888, nargs=2,
args=0xefffe088) at eval.c:3197
#34 0x66c50 in Ffuncall (nargs=3, args=0xefffe088) at eval.c:3238
#35 0x2f8d4 in Fbyte_code (bytestr=1613397648, vector=-2144698712,
maxdepth=3576832) at bytecode.c:416
#36 0x67f24 in funcall_lambda (fun=539655864, nargs=2, arg_vector=0xefffe3dc)
at eval.c:3597
#37 0x66bfc in funcall_recording_as (recorded_as=539655864, nargs=2,
args=0xefffe3d8) at eval.c:3214
#38 0x66c50 in Ffuncall (nargs=3, args=0xefffe3d8) at eval.c:3238
#39 0x2f8d4 in Fbyte_code (bytestr=1613397776, vector=-2144698584,
maxdepth=3576832) at bytecode.c:416
#40 0x67f24 in funcall_lambda (fun=539655996, nargs=1, arg_vector=0xefffe9b4)
at eval.c:3597
#41 0x66bfc in funcall_recording_as (recorded_as=539655996, nargs=1,
args=0xefffe9b0) at eval.c:3214
#42 0x66c50 in Ffuncall (nargs=2, args=0xefffe9b0) at eval.c:3238
#43 0x2f8d4 in Fbyte_code (bytestr=1613689052, vector=-2144407076,
maxdepth=3576832) at bytecode.c:416
#44 0x67f24 in funcall_lambda (fun=539947984, nargs=0, arg_vector=0xefffeb68)
at eval.c:3597
#45 0x676fc in apply_lambda (fun=539947984, numargs=3576832,
unevalled_args=-1606823932) at eval.c:3501
#46 0x664f4 in Feval (form=1078551404) at eval.c:3085
#47 0x63a48 in condition_case_1 (handlers=3555328, bfun=0x659b8 <Feval>,
barg=1078551404, hfun=0x3d270 <cmd_error>, harg=-1606823932) at eval.c:1653
#48 0x3d2fc in top_level_1 (dummy=-1606823932) at cmdloop.c:206
#49 0x635bc in internal_catch (tag=-1606745988, func=0x3d2c4 <top_level_1>,
arg=-1606823932, threw=0x0) at eval.c:1328
#50 0x3d404 in initial_command_loop (load_me=250564) at cmdloop.c:285
#51 0x5f3f8 in xemacs_21_0_b40_sparc_sun_solaris2_5_1 (argc=8,
argv=0xeffff264, envp=0xeffff288, restart=3577416) at emacs.c:1683
#52 0x5fbac in main (argc=0, argv=0xeffff264, envp=0xeffff288) at emacs.c:2100
(gdb) quit
And the ever important Installation file:
uname -a: SunOS sandman 5.5.1 Generic_103640-14 sun4u sparc SUNW,Ultra-1
./configure '--site-libraries=/opt/local/lib'
'--site-includes=/opt/local/include' '--with-sound=both'
'--with-mule' '--dynamic' '--prefix=/usr/local/beta'
XEmacs 21.0-b40 "Saanen" configured for `sparc-sun-solaris2.5.1'.
Where should the build process find the source code? /home/drich/Src/xemacs-21.0-b40
What installation prefix should install use? /usr/local/beta
What operating system and machine description files should XEmacs use?
`s/sol2.h' and `m/sparc.h'
What compiler should XEmacs be built with? gcc -g -O2 -Wall -Wno-switch
Should XEmacs use the GNU version of malloc? yes
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/dt/include
/usr/openwin/include
Where do we find X Windows libraries? /usr/dt/lib /usr/openwin/lib
Additional header files: /opt/local/include
Additional libraries: /opt/local/lib
Runtime library search path:
/opt/local/lib:/usr/dt/lib:/usr/openwin/lib:/opt/gnu/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for X-Face message headers.
Compiling in support for JPEG image conversion.
Compiling in support for PNG image conversion.
Compiling in support for TIFF image conversion.
Compiling in both network and native sound support.
Compiling in support for GNU DBM.
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 CDE.
Compiling in support for ToolTalk.
Compiling in support for OffiX.
Compiling in support for Drag'n'Drop ( OffiX CDE ).
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Compiling in extra code for debugging.
Compiling in code for checking XEmacs memory usage.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
Any ideas?