From owner-freebsd-ports@freebsd.org Fri Oct 28 16:00:44 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE3FFC25B50 for ; Fri, 28 Oct 2016 16:00:44 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 615F168A for ; Fri, 28 Oct 2016 16:00:43 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id A54274393 for ; Fri, 28 Oct 2016 16:00:29 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/A54274393; dkim=none; dkim-atps=neutral Subject: Re: Thread issues To: freebsd-ports@freebsd.org References: <20161028154515.GA83547@doctor.nl2k.ab.ca> From: Matthew Seaman Message-ID: <9ab9c6cd-3084-7d0f-624d-b82820026f78@FreeBSD.org> Date: Fri, 28 Oct 2016 17:00:22 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161028154515.GA83547@doctor.nl2k.ab.ca> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VSPtrHWllvfHatUSnkEgi09DkSrvwIA6c" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2016 16:00:44 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VSPtrHWllvfHatUSnkEgi09DkSrvwIA6c Content-Type: multipart/mixed; boundary="gg58kGOaxvnSjSxkRGOEMrDTuq4En3pxf"; protected-headers="v1" From: Matthew Seaman 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--