Hello all! To my surprise I can't use option -pg when linking with -lpthreads. Program crashing in libthreads (not in libpthreads) during initialization: (gdb) bt #0 0xdf96ce40 in _sigoff () from /usr/lib/libthread.so.1 #1 0xdf96a4f9 in mutex_unlock () from /usr/lib/libthread.so.1 #2 0x08055182 in sbrk () #3 0x08050b9a in monstartup () #4 0x08050ec9 in internal_mcount () #5 0x0806d91d in sys () #6 0xdf967635 in _init386 () from /usr/lib/libthread.so.1 #7 0xdf9785fa in _init () from /usr/lib/libthread.so.1 #8 0xdfae965c in ?? () #9 0xdfaf1ce3 in ?? () #10 0xdfae30ba in ?? () My env: Solaris Intel 2.8, gcc -v Reading specs from /opt/AESgcc/lib/gcc-lib/i386-pc-solaris2.8/3.2/specs Configured with: /export/home/Ext/Archive/gcc-3.2/configure --prefix=/opt/AESgcc --disable-multilib --enable-threads=posix --enable-languages=c,c++ --with-gnu-ld --with-ld=/usr/local/bin/ld --with-gnu-as -with-as=/usr/local/bin/as Thread model: posix gcc version 3.2 Any suggestions? Thanks in advance! ---- Lev Assinovsky Aelita Software Corporation