Symbol versioning errors in libthr

Alexander Kabaev kabaev at gmail.com
Sun Feb 3 16:31:00 UTC 2008


On Sun, 03 Feb 2008 16:16:26 +0100
Dag-Erling Smørgrav <des at des.no> wrote:

> Here's an excerpt from the RELENG_7 vs HEAD diff of libthr's symbol
> map:
> 
> --- pthread.map	13 May 2007 14:12:39 -0000	1.18
> +++ pthread.map	20 Dec 2007 04:32:28 -0000	1.21
> @@ -84,9 +84,13 @@
>  	pthread_multi_np;
>  	pthread_mutex_destroy;
>  	pthread_mutex_getprioceiling;
> +	pthread_mutex_getspinloops_np;
> +	pthread_mutex_getyieldloops_np;
>  	pthread_mutex_init;
>  	pthread_mutex_lock;
>  	pthread_mutex_setprioceiling;
> +	pthread_mutex_setspinloops_np;
> +	pthread_mutex_setyieldloops_np;
>  	pthread_mutex_timedlock;
>  	pthread_mutex_trylock;
>  	pthread_mutex_unlock;
> 
> These functions are all in FBSD_1.0, but they were introduced after
> the branch and never MFCed, so if I understand how we've implemented
> symbol versioning, they should be in FBSD_1.1.
> 
> Unless someone argues credibly for keeping them in FBSD_1.0, I will
> move them to FBSD_1.1 in a few days.
> 
> DES

There are other symbol versioning problems in libthr that need to be
addressed too. Symbols that are specific to libthr and are not
implemented in libpthread  have no business being in FBSD_X.0
namespace, for instance. 

-- 
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080203/9c41d780/signature.pgp


More information about the freebsd-current mailing list