Subject: Re: xsrc/28630: Reachover X11 is missing phtread library.
To: None <tech-x11@NetBSD.org>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: netbsd-bugs
Date: 12/13/2004 15:15:31
Matthias Scheler <tron@NetBSD.org> writes:
> On Sun, Dec 12, 2004 at 10:01:22PM +0100, Juergen Hannken-Illjes wrote:
> > So neither libXt.so nor appres get the thread library (-lpthread).
>
> Because they do *not* need to. XFree86 uses some kind of wrapper
> arround threads so that not all application need "libpthread"
> just because the libraries support it.
>
> Nathan:
> Are you sure that these changes ...
>
> http://mail-index.netbsd.org/source-changes/2004/12/10/0018.html
That change is correct. The problem exposed here was that threadlib.h
had a stub for pthread_cond_wait and the stub support I added to
pthread.h did not. I've fixed that.
It should continue to be true that none of the X libraries actually
need to be linked against libpthread; I've done a successful build and
verified that.
- Nathan