[ruby-talk:00174] some more information

From: Julian Fondren <julian@...>
Date: 1999-01-06 03:46:37 UTC
List: ruby-talk #174
greetings,


Grasping at straws perhaps, but the following warnings occur during the
compilation of ruby in the tcltklib part - these aside from the final
``ld: symbol __GLOBAL_OFFSET_TABLE_ remains undefined'' which only occurs
when tcltklib is included as an extention and a few on deprecation are the
only noteworthy lines during the compile. Also, the compiles that included
the `ld: symbol' bit were made with the --with-static-linked-ext configure
flag -- without which the only difference is that I wouldn't have a
coredump until trying to require one of the extensions. Do these ring a
bell for anyone as to what the problem might be?



/usr/local/include/tcl8.0/tcl.h:218: warning: `EXTERN' redefined
/usr/local/tmp/ruby-1.3/defines.h:38: warning: this is the location of the previous definition



When I run gdb (the GNU debugger) on ruby I get the following output from
the `run' command:



Program recieved signal SIGSEGV, Segmentation fault.
0xa8518 in Tcl_FindExecutable ()



and then, immediately after, the `step' command has this output



Single stepping until exit from function Tcl_FindExecutable,
which has no line number information.
/usr/local/tmp/ruby-1.3/ruby:0: [BUG] Segmentation fault

Program recieved signal SIGABRT, Aborted.
0x4026addf in kill ()



a backtrace after the `run' command gives this:



#0  0xa8518 in Tcl_FindExecutable ()
#1  0x22b5 in Init_tcltklib () at tcltklib.c:438
#2  0x1778 in Init_ext () at extinit.c:2
#3  0x4e8fb in proc_options (argcp=0xefbfdb90, argvp=0xefbfdb94) at ruby.c:398
#4  0x4f37f in ruby_process_options (argc=1, argv=0xefbfdc24) at ruby.c:817
#5  0x1302a in ruby_options (argc=1, argv=0xefbfdc24) at eval.c:910
#6  0x171c in main (argc=1, argv=0xefbfdc24, envp=0xefbfdc) at main.c:31



I am using tcl major version 8, release level 2, release serial 3,
patchlevel ``8.0.3'', and tk of the same.

I hope this helps, if any other information is required please ask, I
could only be too happy to get it.


thanks,

In This Thread