From owner-freebsd-threads@FreeBSD.ORG Fri Nov 27 22:28:00 2009 Return-Path: Delivered-To: threads@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDBDC1065679 for ; Fri, 27 Nov 2009 22:28:00 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 79F678FC14 for ; Fri, 27 Nov 2009 22:28:00 +0000 (UTC) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id nARMU4I1072280; Fri, 27 Nov 2009 17:30:04 -0500 (EST) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: Kostik Belousov In-Reply-To: <20091127222224.GL2368@deviant.kiev.zoral.com.ua> References: <1259298918.1608.19.camel@shumai.marcuscom.com> <20091127131242.GA2368@deviant.kiev.zoral.com.ua> <1259349248.1608.36.camel@shumai.marcuscom.com> <4AF1E295-0524-4C39-94CD-9A12D574C64D@vigrid.com> <20091127213046.GI2368@deviant.kiev.zoral.com.ua> <1259358800.1608.46.camel@shumai.marcuscom.com> <20091127220706.GJ2368@deviant.kiev.zoral.com.ua> <1259359873.1608.48.camel@shumai.marcuscom.com> <20091127222224.GL2368@deviant.kiev.zoral.com.ua> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-sIbNPGUP00B0ACD6rXt9" Organization: FreeBSD, Inc. Date: Fri, 27 Nov 2009 17:28:07 -0500 Message-Id: <1259360887.1608.49.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com Cc: "threads@freebsd.org" Subject: Re: [PATCH] Add missing pthread_condattr_{init,destroy} stubs to libc X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Nov 2009 22:28:01 -0000 --=-sIbNPGUP00B0ACD6rXt9 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2009-11-28 at 00:22 +0200, Kostik Belousov wrote: > On Fri, Nov 27, 2009 at 05:11:13PM -0500, Joe Marcus Clarke wrote: > > I didn't see a better way of fixing this. I'm still fuzzy on how to do > > the correct symbol map dance for libthr/libc_r. Do you know of any > > example symbols which had to be updated in this fashion? >=20 > pthread_condattr_init and _destroy are exported from libthr in FBSD_1.0. > namespace. I think stubs should go into FBSD_1.0 namespace in libc then. >=20 > We nullified one of the use for symver by extending existing > namespaces (symbol versioning, as defined by Sun, allowed for dynamic > linker to make a guarantee that process does not have unresolved > symbols only by checking that all required versions are provided > by libraries). My opinion that adding them to FBSD_1.0 is ok. That's easy enough. New patch is up. http://www.marcuscom.com/downloads/stubs.diff Joe --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-sIbNPGUP00B0ACD6rXt9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEABECAAYFAksQUnYACgkQb2iPiv4Uz4e93gCfbRHate0vLjn46cauN4Ftzh6x ohAAn3SrVCoFXSBPbXjkGtZiN+b8ynG2 =rRXZ -----END PGP SIGNATURE----- --=-sIbNPGUP00B0ACD6rXt9--