Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 2009 00:22:24 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Joe Marcus Clarke <marcus@freebsd.org>
Cc:        "threads@freebsd.org" <threads@freebsd.org>
Subject:   Re: [PATCH] Add missing pthread_condattr_{init, destroy} stubs to libc
Message-ID:  <20091127222224.GL2368@deviant.kiev.zoral.com.ua>
In-Reply-To: <1259359873.1608.48.camel@shumai.marcuscom.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--DXIF1lRUlMsbZ3S1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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?

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.

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.

Others suggestions are welcome.

--DXIF1lRUlMsbZ3S1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAksQUR8ACgkQC3+MBN1Mb4gqKwCg5apFbUsv7xgsGQYiDhIaNps3
UkoAoLSq4Umdy+3JKiZHkrEtzv5YhCdp
=wkZt
-----END PGP SIGNATURE-----

--DXIF1lRUlMsbZ3S1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091127222224.GL2368>