[Starkit] TclKit segfault when using an extension
Trevor Davel
TrevorD at prism.co.za
Fri May 26 16:40:30 CEST 2006
Hi,
> > (C) dynamic threaded TclKit on Linux + dynamically linked .so extension
> > (using pthreads & C++) = ok.
> >
> My builts are in fact static Tclkits (dynamic Itcl and Tk), not dynamic
ones.
Uh, clarification on my part: by "dynamic TclKit" I mean a binary that is
linked dynamically against the _system_ libraries (libc, libstdc++, etc).
The static TclKit distributed by equi4 is a statically linked binary, i.e.
ldd says "not a dynamic executable".
The distinction is pretty important in this case, as for the dynamic TclKit
there can be no conflict between the shared object code for libstdc++ as
loaded by TclKit, and libstdc++ as loaded by an extension. OTOH if
libstdc++ is statically compiled into a binary and an extension dynamically
loads the system's shared libstdc++, nasty things happen.
Regards,
Twylite
More information about the Starkit
mailing list