Missing pthread support for custom libc
Eric van Gyzen
vangyzen at FreeBSD.org
Tue Jan 24 02:54:12 UTC 2017
On 1/23/17 7:20 PM, Derrick McKee wrote:
> I've compiled libc using a custom version of clang, and it seems to be
> missing pthread support. When I try to compile Firefox and use my version
> of libc, I get the following error:
>
> checking for pthread_create in -lpthreads... no
> checking for pthread_create in -lpthread... no
> checking for pthread_create in -lc_r... no
> checking for pthread_create in -lc... no
> configure: error: --with-pthreads specified for a system without pthread
> support
FreeBSD's pthread support is provided by libpthread, a.k.a. libthr, the
source for which is in base/lib/libthr.
Cheers,
Eric
More information about the freebsd-hackers
mailing list