From owner-freebsd-threads@FreeBSD.ORG Thu Feb 12 16:57:13 2015 Return-Path: Delivered-To: threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B05AC85 for ; Thu, 12 Feb 2015 16:57:13 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C73CDCB5 for ; Thu, 12 Feb 2015 16:57:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id t1CGvCDJ023301 for ; Thu, 12 Feb 2015 16:57:12 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id t1CGvCjP023300 for threads@freebsd.org; Thu, 12 Feb 2015 16:57:12 GMT (envelope-from bdrewery) Received: (qmail 25728 invoked from network); 12 Feb 2015 10:57:07 -0600 Received: from unknown (HELO ?10.10.1.139?) (freebsd@shatow.net@10.10.1.139) by sweb.xzibition.com with ESMTPA; 12 Feb 2015 10:57:07 -0600 Message-ID: <54DCDB69.1000609@FreeBSD.org> Date: Thu, 12 Feb 2015 10:57:13 -0600 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Konstantin Belousov Subject: Re: Fixing dlopen("libpthread.so") References: <20141226165337.GJ1754@kib.kiev.ua> <54DBF417.4050206@FreeBSD.org> <20150212092728.GE34251@kib.kiev.ua> In-Reply-To: <20150212092728.GE34251@kib.kiev.ua> OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wIg4sUGK1H0xGfQ40t3FjNs3iaWXiGWCx" Cc: threads@freebsd.org, arch@freebsd.org X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2015 16:57:13 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wIg4sUGK1H0xGfQ40t3FjNs3iaWXiGWCx Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2/12/2015 3:27 AM, Konstantin Belousov wrote: > On Wed, Feb 11, 2015 at 06:30:15PM -0600, Bryan Drewery wrote: >> On 12/26/2014 10:53 AM, Konstantin Belousov wrote: >>> [Long] >>> Proposed patch does the following: >> [...] >> >> It seems libthr.3 needs to be updated for the dlopen(3) support, to >> remove some of r272070. Also note the ordering comment (which I know y= ou >> may not be ready to change yet). > Thanks for noting, I forgot about the man page and about the text. > See the patch at the end of the message. Looks good. >=20 >> As for the dlclose(3) refusing to work on libthr, I cannot find the >> supporting code. Where is it? > libthr is linked with -z nodelete linker flag. >=20 Ah! Thanks. Regards, Bryan Drewery --wIg4sUGK1H0xGfQ40t3FjNs3iaWXiGWCx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJU3NtpAAoJEDXXcbtuRpfPg8QH/2P4iJ2iJKASkZmT4XWkAdGw Hqivvl5wn+tpE8YNE0PL+EzkqoFvka/KohyVX1jw1NRsDtnL5sVAQ7nxI0bDZrR1 x+gfETl8y/QOa3+ORd+7CcaDhuuc3NP0TA/DNMTMTlvEUyqnO/5IY3NqSQJzq/Mt 4OHqlqyjy39XwiDv1feXKurZIjpkBSpT7clF3KYKDITZ3TMHRdZUF+P31vJfC7t8 ohylRpRH49cV0CDEQiZNTEmKOM+IRUYnuPcf9jMKwkI10BUY1YZMUU1GVYqcT/y/ kJMGUeyetk11jz0xMFwrUrUXtsESRbaOcn1cBq0/4Ucfm8rYu+yuXfC/pTDtGDo= =i3vX -----END PGP SIGNATURE----- --wIg4sUGK1H0xGfQ40t3FjNs3iaWXiGWCx--