Subject: Re: port-sparc64/29824
To: Michael <macallan18@earthlink.net>
From: Matthias Scheler <tron@zhadum.de>
List: netbsd-bugs
Date: 05/01/2005 23:18:37
On Sun, May 01, 2005 at 06:15:03PM -0400, Michael wrote:
> > > 2.) The X11 server is stuck in "libpthread" also it is not linked
> > > against that library which is *really* suspicious.
> > 
> > this I have no explanation for.
> A stray -pthread in my host.cf. I'm rebuilding without it now.
> I don't quite see how this could trigger it though, when the Xserver
> doesn't use any pthread functions - how could we end up in libpthread?

Because "libpthread" overloads __sigprocmask14() with pthread_sigmask().
From "src/lib/libpthread/pthread_sig.c":

__strong_alias(__sigprocmask14,pthread_sigmask)

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/