Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2008 12:00:04 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
Cc:        threads@freebsd.org, current@freebsd.org
Subject:   Re: Symbol versioning errors in libthr
Message-ID:  <Pine.GSO.4.64.0802031157370.8686@sea.ntplx.net>
In-Reply-To: <861w7um5o5.fsf@ds4.des.no>
References:  <861w7um5o5.fsf@ds4.des.no>

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

On Sun, 3 Feb 2008, Dag-Erling Smørgrav 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.

Yes, I believe you are correct in how we've decided to implement
the version namespace.  After a branch from HEAD (e.g., after 7-
was branched), we increment the namespace and new symbols and
ABI changes get added to the new namespace.

-- 
DE

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