This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problems using the commonc++ library
- From: Jason dot Majors at metriscompanies dot com
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 6 May 2004 12:37:34 -0700
- Subject: Problems using the commonc++ library
I'm trying to use commonc++2-1.0.13 under gcc 3.3.2 on aix 5.2.0 for a
project.
I created a simple class derived from commonc++'s Thread class and a main
function that instantiates a couple of them to test how it works.
When I run my program I get a segfault, before it even enters my main().
Below is the output from a where command in gdb. Can anybody on this list
with more knowledge of the internals of a compiler suggest what the
problem might be, where to start investigating it, or how to fix it?
Thanks.
(gdb) where
#0 0xd255af14 in pthread_mutexattr_init ()
from /isprod/lib/libccgnu2.a(libccgnu2-1.0.so.0)
#1 0xd2554f48 in ost::Mutex::Mutex() ()
from /isprod/lib/libccgnu2.a(libccgnu2-1.0.so.0)
#2 0xd257c570 in __static_initialization_and_destruction_0(int, int) ()
from /isprod/lib/libccgnu2.a(libccgnu2-1.0.so.0)
#3 0x1006b514 in _GLOBAL__FI_thread_test ()
#4 0xd01ec7c0 in mod_init1 () from /usr/lib/libc.a(shr.o)
#5 0xd01ec6dc in __modinit () from /usr/lib/libc.a(shr.o)
#6 0x1000019c in __start ()