[PATCH] Add missing pthread_condattr_{init, destroy} stubs to libc

Kostik Belousov kostikbel at gmail.com
Fri Nov 27 22:22:29 UTC 2009


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-threads/attachments/20091127/301a9eb5/attachment.pgp


More information about the freebsd-threads mailing list