Subject: Re: Threading problems
To: Nathan J. Williams <nathanw@wasabisystems.com>
From: Daniel Carosone <dan@geek.com.au>
List: tech-kern
Date: 11/24/2004 07:19:49
--vAr1W/eR4LdSeo08
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 23, 2004 at 03:14:35PM -0500, Nathan J. Williams wrote:
> I'm trying to figure out why this seems to be so much more of a
> problem for us, when as far as I know dynamically loading libpthread
> only works on AIX.=20

It's (largely) a side-effect of (inconsistent) pkgsrc defaults
regarding threading.  It's not that programs are dlopen()ing
libpthread deliberately themselves, but that there are a bunch of
programs dlopen()'ing various "plugins" that were compiled elsewhere
in pkgsrc with -pthread, and thus the .so has a linker dependency on
libpthread.

--
Dan.

--vAr1W/eR4LdSeo08
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFBo5tlEAVxvV4N66cRAhQlAJwOtWZMAvic+e/UxulUsDI7t7WEcACeKr5+
wx9YdawdLlLxP1vRcwyAFZ4=
=UFMQ
-----END PGP SIGNATURE-----

--vAr1W/eR4LdSeo08--