Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2008 11:03:15 -0500
From:      Alexander Kabaev <kabaev@gmail.com>
To:        Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= <des@des.no>
Cc:        threads@freebsd.org, current@freebsd.org
Subject:   Re: Symbol versioning errors in libthr
Message-ID:  <20080203110315.6416563e@kan.dnsalias.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
--Sig_/bbyuqcp1BdnxuGHk.=NnoIq
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On Sun, 03 Feb 2008 16:16:26 +0100
Dag-Erling Sm=C3=B8rgrav <des@des.no> wrote:

> Here's an excerpt from the RELENG_7 vs HEAD diff of libthr's symbol
> map:
>=20
> --- 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;
>=20
> 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.
>=20
> Unless someone argues credibly for keeping them in FBSD_1.0, I will
> move them to FBSD_1.1 in a few days.
>=20
> 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.=20

--=20
Alexander Kabaev

--Sig_/bbyuqcp1BdnxuGHk.=NnoIq
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

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

iD8DBQFHpeXDQ6z1jMm+XZYRAgAfAKChdcuRsIIXHHYqS2OS+BbXXtDTRwCcDQkA
RI/nVvryGdyCuzB9d9FaO4g=
=e5GH
-----END PGP SIGNATURE-----

--Sig_/bbyuqcp1BdnxuGHk.=NnoIq--



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