You need to add '-z nocombreloc' to your link flags.
I believe running
LDFLAGS='-z nocombreloc' configure
will do the trick.
You can search for combreloc in the xemacs-beta mail archives if you
want more details.
HTH,
Vin
Dave <apca81(a)dsl.pipex.com> writes:
Xemacs-21.1.14 built from source, on SuSe Linux 8.0 (Athlon XP cpu)
Xemacs dumps immediately with SEGV:
Lisp backtrace follows:
# bind (frame-being-created)
make-frame(nil #<x-device on ":0.0" 0x1a14>)
frame-initialize()
# bind (debugger debug-on-error command-line-args-left)
command-line()
# (unwind-protect ...)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
Segmentation fault
GDB session:
daveďź athlon:/local/src/xemacs-21.1.14> gdb `which xemacs`
GNU gdb 5.1.1
Copyright 2002 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 "i386-suse-linux"...
(gdb) run
Starting program: /usr/local/bin/xemacs
Program received signal SIGSEGV, Segmentation fault.
0x402ab908 in XtInitializeWidgetClass () from /usr/X11R6/lib/libXt.so.6
(gdb) bt
#0 0x402ab908 in XtInitializeWidgetClass () from /usr/X11R6/lib/libXt.so.6
#1 0x402abc5f in xtWidgetAlloc () from /usr/X11R6/lib/libXt.so.6
#2 0x402abe4a in xtCreate () from /usr/X11R6/lib/libXt.so.6
#3 0x402ac7ab in _XtCreatePopupShell () from /usr/X11R6/lib/libXt.so.6
#4 0x402ac84d in XtCreatePopupShell () from /usr/X11R6/lib/libXt.so.6
#5 0x08150930 in x_create_widgets (f=0x83ef110, lisp_window_id=136967060,
parent=136967060) at frame-x.c:1952
#6 0x08150ee7 in x_init_frame_1 (f=0x83ef110, props=136967060) at
frame-x.c:2183
#7 0x080edf11 in Fmake_frame (props=136967060, device=137888424) at
frame.c:383
#8 0x080a707d in funcall_recording_as (recorded_as=137063308, nargs=2,
args=0xbfffe8e4) at eval.c:3197
#9 0x080ab589 in Ffuncall (nargs=3, args=0xbfffe8e4) at eval.c:3238
#10 0x08087459 in Fbyte_code (bytestr=136232480, vector=136232552,
maxdepth=11) at bytecode.c:416
#11 0x080a7d7f in funcall_lambda (fun=136232640, nargs=0,
arg_vector=0xbfffebe8) at eval.c:3607
#12 0x080a7181 in funcall_recording_as (recorded_as=137442860, nargs=0,
args=0xbfffebe4) at eval.c:3214
#13 0x080ab589 in Ffuncall (nargs=1, args=0xbfffebe4) at eval.c:3238
#14 0x08087459 in Fbyte_code (bytestr=136367756, vector=136367872, maxdepth=9)
at bytecode.c:416
#15 0x080a7d7f in funcall_lambda (fun=136368092, nargs=0,
arg_vector=0xbfffefe8) at eval.c:3607
#16 0x080a7181 in funcall_recording_as (recorded_as=137627252, nargs=0,
args=0xbfffefe4) at eval.c:3214
#17 0x080ab589 in Ffuncall (nargs=1, args=0xbfffefe4) at eval.c:3238
#18 0x08087459 in Fbyte_code (bytestr=136365628, vector=136365812,
maxdepth=13) at bytecode.c:416
#19 0x080a7d7f in funcall_lambda (fun=136366332, nargs=0,
arg_vector=0xbffff0c4) at eval.c:3607
#20 0x080a792e in apply_lambda (fun=136366332, numargs=0,
unevalled_args=136967060) at eval.c:3511
#21 0x080a6b3f in Feval (form=137370304) at eval.c:3085
#22 0x080ab1e6 in condition_case_1 (handlers=136967172, bfun=0x80a61f0
<Feval>, barg=137370304, hfun=0x808df30 <cmd_error>, harg=136967060) at
eval.c:1653
#23 0x0808dfbf in top_level_1 (dummy=136967060) at cmdloop.c:206
#24 0x080ab0ac in internal_catch (tag=137041432, func=0x808df90 <top_level_1>,
arg=136967060, threw=0x0) at eval.c:1328
---Type <return> to continue, or q <return> to quit---
#25 0x0808d882 in initial_command_loop (load_me=136967060) at cmdloop.c:285
#26 0x080a22b8 in xemacs_21_1_14_i686_pc_linux () at emacs.c:1725
#27 0x080a3b44 in main (argc=1, argv=0xbffff564, envp=0xbffff56c) at
emacs.c:2142
#28 0x404709ed in __libc_start_main () from /lib/libc.so.6
I have installed a freshly built Xfree86-4.2.0 tree (I slighly modified the
pci database so I could use my graphic card) but is otherwise stock - nothing
else had failed so far, but xemacs appears to be having difficulty with the
XT intrinsics lib - somewhat basic no :-?
Maybe I'll just install the suse binary version after all...pity the xemacs
source has no 'make uninstall' rule :(
Regards,
Dave.