Re: BROKEN: pthreads and c++ statically linked

2005-11-08 Thread Lee Dixon
Thank you SOOO much for the reply. I'd been pulling hair out while getting *no* responses on several forums and mail lists. In my case, statically linking is important because of configuration management of executable files for an airborne embedded flight control system. I'd like to find out i

Re: BROKEN: pthreads and c++ statically linked

2005-11-08 Thread Jakub Jelinek
On Tue, Nov 08, 2005 at 09:31:56AM -0500, Dixon, Lee L. wrote: > I really don't know what I could be doing wrong, but on a _stock_ FC4 > install, I'm having a segfault in a pthread call when > statically linked and including iostream (or STL includes like string) > > Here's the code: > > #include

BROKEN: pthreads and c++ statically linked

2005-11-08 Thread Dixon, Lee L.
I really don't know what I could be doing wrong, but on a _stock_ FC4 install, I'm having a segfault in a pthread call when statically linked and including iostream (or STL includes like string) Here's the code: #include #include int main(int argc, char *argv[]) { pthread_mutexattr_t attr;