Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2016 17:00:22 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Thread issues
Message-ID:  <9ab9c6cd-3084-7d0f-624d-b82820026f78@FreeBSD.org>
In-Reply-To: <20161028154515.GA83547@doctor.nl2k.ab.ca>
References:  <20161028154515.GA83547@doctor.nl2k.ab.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--VSPtrHWllvfHatUSnkEgi09DkSrvwIA6c
Content-Type: multipart/mixed; boundary="gg58kGOaxvnSjSxkRGOEMrDTuq4En3pxf";
 protected-headers="v1"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-ports@freebsd.org
Message-ID: <9ab9c6cd-3084-7d0f-624d-b82820026f78@FreeBSD.org>
Subject: Re: Thread issues
References: <20161028154515.GA83547@doctor.nl2k.ab.ca>
In-Reply-To: <20161028154515.GA83547@doctor.nl2k.ab.ca>

--gg58kGOaxvnSjSxkRGOEMrDTuq4En3pxf
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2016/10/28 16:45, The Doctor wrote:
> I tought FreeBSD is POSIX threads compliant.

It is, but unlike linux you need to use -lpthread on the compilation
command line to use all of the threading functionality.  So the question
is: why didn't configure succeed in its test for exactly that?

> checking for the pthreads library -lpthreads... no
> checking whether pthreads work without any flags... no
> checking whether pthreads work with -Kthread... no
> checking whether pthreads work with -kthread... no
> checking for the pthreads library -llthread... no
> checking whether pthreads work with -pthread... no
> checking whether pthreads work with -pthreads... no
> checking whether pthreads work with -mt... no
> checking whether pthreads work with -mthreads... no
> checking for the pthreads library -lpthread... no        <<<----****
> checking whether pthreads work with --thread-safe... no
> checking for pthread-config... no

	Cheers,

	Matthew



--gg58kGOaxvnSjSxkRGOEMrDTuq4En3pxf--

--VSPtrHWllvfHatUSnkEgi09DkSrvwIA6c
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQJ8BAEBCgBmBQJYE3YcXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw
MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTn5roP/2/SkmBoHZbLJO2/6LWWfnGN
YeAed6sSlVU7QTwJc1l9+Daqalc81Bu1y29brAcBUprbYespL0ZAtWfcDHZJxFAw
Mnzs6D9PuBQEM1+DvP3DiaSQxpyi/8FmbGRPAx0zoUCqVr1q+Im+PGpbR/+MOErB
DQ8coD/6y8EvRaiRSWFZnX123DNcDa0vz3BwHvaVPcD5FSa0DLekAuicxUhvXBGk
saOgmVeNJxoHvYFIn5uxgRDnZclB7g4CjK27B1HfBQClVhcrvyYRQjIyLS6ALprM
7SDDTfP7jXuOgCda64t4Au3f8H0cqZ0yGyyLatzOSqN3s4HNRBkgM2CQR9nlbYQ3
p/j6+2Nrj5ciOGL3rV+Z65od44tYWpjorBfB/xx+W4C/OU2t0J1mYeSWUkUfNcqe
dJhHMEoxCZHcBrq+Dqiwp/8LT3qQLXK7c+bxYqkNVX7Gvf+Ql5Zgfr/32kwLj4K4
Mxex5/HwHQYZzNxrkHFymXLVnMA6kczVX/JlGFDGGM4ET4fjMJaW45F9bSI8WG7/
WTawh6qSmaoe0W87yr3nJE7ekDfi/YYS7xSKzf9lTFH+9jO/XLD10QMwmskWmdlE
hbr4nlDXaV4XoDTk5Oc9QzTrYTRLScE3lwjfCeYi5e1Gt6Adrk0ETfFVajzkQRY0
NU8I0yo3801U7jfY9aZu
=vRgd
-----END PGP SIGNATURE-----

--VSPtrHWllvfHatUSnkEgi09DkSrvwIA6c--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9ab9c6cd-3084-7d0f-624d-b82820026f78>