pthread and dynamically linked librairies

2009-10-14 Thread Cuero Bugot
Hi all, I reopen the subject with a potential new bug submission. I've seen that this topic has been treated here a couple of time already, and that there is a fix that may be related to that specific prb (see commit r21980 | vapier | 2008-05-15 04:03:13 +0200 (Thu, 15 May 2008) | 9 lines) Th

Re: pthread and dynamically linked librairies

2009-10-14 Thread Natanael Copa
On Wed, 2009-10-14 at 09:20 -0700, Cuero Bugot wrote: .. > The prb is that I get a segfault when I try to use pthread_create from > a dynamically linked library. The difference with the above fix use > case is that I "manually" link the library using dlopen. I initially > found this prb while tryin

Re: pthread and dynamically linked librairies

2009-10-15 Thread Joakim Tjernlund
uclibc-boun...@uclibc.org wrote on 15/10/2009 08:41:10: > > On Wed, 2009-10-14 at 09:20 -0700, Cuero Bugot wrote: > .. > > The prb is that I get a segfault when I try to use pthread_create from > > a dynamically linked library. The difference with the above fix use > > case is that I "manually" lin

Re: pthread and dynamically linked librairies

2009-10-15 Thread Mike Frysinger
On Thursday 15 October 2009 02:41:10 Natanael Copa wrote: > On Wed, 2009-10-14 at 09:20 -0700, Cuero Bugot wrote: > .. > > > The prb is that I get a segfault when I try to use pthread_create from > > a dynamically linked library. The difference with the above fix use > > case is that I "manually"

RE: pthread and dynamically linked librairies

2009-10-15 Thread Cuero Bugot
or __libc_pthread_init return null (is that possible? ...) -Message d'origine- De : Natanael Copa [mailto:natanael.c...@gmail.com] Envoyé : jeudi 15 octobre 2009 08:41 À : Cuero Bugot Cc : uclibc@uclibc.org Objet : Re: pthread and dynamically linked librairies On Wed, 2009-10-14 at

RE: pthread and dynamically linked librairies

2009-10-15 Thread Cuero Bugot
sage d'origine- De : uclibc-boun...@uclibc.org [mailto:uclibc-boun...@uclibc.org] De la part de Cuero Bugot Envoyé : jeudi 15 octobre 2009 10:16 À : uclibc@uclibc.org Objet : RE: pthread and dynamically linked librairies The proposed workaround (which is link the main app with pthread