Re: fix for libpthread

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Thu, 4 Mar 2004 12:13:17 -0800
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

Received on Thu Mar 04 2004 - 11:13:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:46 UTC