fix for libpthread

Kris Kennaway kris at obsecurity.org
Thu Mar 4 12:13:31 PST 2004


On Thu, Mar 04, 2004 at 06:23:44AM -0600, Edwin Culp wrote:
> Quoting Alfred Perlstein <alfred at freebsd.org>:
> 
> >* Alfred Perlstein <alfred at freebsd.org> [040303 02:46] wrote:
> >>* David Xu <davidxu at freebsd.org> [040303 00:09] wrote:
> >>> Alfred Perlstein wrote:
> >>> > >This assertion doesn't seem necessary.  Apply to > 
> >>>src/lib/libpthread/thread/thr_spinlock.c
> >>> >
> >>> As I saw some reports in the -CURRENT list,  the panic is always > 
> >>triggered by mix up
> >>> of libc_r and libpthread in same program. So to avoid other 
> >>mysterious > crashes,
> >>> I'd like keep the code there, it is now used to check the problem.
> >>
> >>Can you clarify?  Without this patch mplayer refuses to work for
> >>me and crashes at startup.  With the patch it runs just fine.
> >>
> >>Is there a workaround?
> 
> I've been forced to compile a couple of ports by using CFLAGS+=-pthread in 
> my
> /etc/make.conf and it has solved the problem with them.  
> net/openldap22-server
> is an example.  Under normal conditions, I have it commented out.

Hmm, that port indeed doesn't seem to be using threads in the
build..did it used to?

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040304/1288f668/attachment.bin


More information about the freebsd-current mailing list