Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2008 15:42:28 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Alexander Kabaev <kabaev@gmail.com>
Cc:        threads@freebsd.org, current@freebsd.org, Peter Wemm <peter@wemm.org>
Subject:   Re: Symbol versioning errors in libthr
Message-ID:  <86zlugeqaz.fsf@ds4.des.no>
In-Reply-To: <20080203121112.426a8c25@kan.dnsalias.net> (Alexander Kabaev's message of "Sun\, 3 Feb 2008 12\:11\:12 -0500")
References:  <861w7um5o5.fsf@ds4.des.no> <e7db6d980802030759x6db9bf1dq8992542bd8d2e017@mail.gmail.com> <20080203162918.GK57756@deviant.kiev.zoral.com.ua> <20080203121112.426a8c25@kan.dnsalias.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

I've attached my proposed patch.  Please yell if there's anything wrong
with it.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=pthread.map.diff

Index: pthread.map
===================================================================
RCS file: /home/ncvs/src/lib/libthr/pthread.map,v
retrieving revision 1.22
diff -u -r1.22 pthread.map
--- pthread.map	3 Feb 2008 22:38:10 -0000	1.22
+++ pthread.map	4 Feb 2008 14:41:23 -0000
@@ -84,13 +84,9 @@
 	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;
@@ -287,14 +283,9 @@
 	_pthread_multi_np;
 	_pthread_mutex_destroy;
 	_pthread_mutex_getprioceiling;
-	_pthread_mutex_getspinloops_np;
-	_pthread_mutex_getyieldloops_np;
 	_pthread_mutex_init;
-	_pthread_mutex_init_calloc_cb;
 	_pthread_mutex_lock;
 	_pthread_mutex_setprioceiling;
-	_pthread_mutex_setspinloops_np;
-	_pthread_mutex_setyieldloops_np;
 	_pthread_mutex_timedlock;
 	_pthread_mutex_trylock;
 	_pthread_mutex_unlock;
@@ -398,14 +389,23 @@
 
 FBSD_1.1 {
 global:
+	pthread_mutex_getspinloops_np;
+	pthread_mutex_getyieldloops_np;
 	pthread_mutex_islocked_np;
+	pthread_mutex_setspinloops_np;
+	pthread_mutex_setyieldloops_np;
 local:
 	*;
 } FBSD_1.0;
 
 FBSDprivate_1.1 {
 global:
+	_pthread_mutex_getspinloops_np;
+	_pthread_mutex_getyieldloops_np;
+	_pthread_mutex_init_calloc_cb;
 	_pthread_mutex_islocked_np;
+	_pthread_mutex_setspinloops_np;
+	_pthread_mutex_setyieldloops_np;
 local:
 	*;
 } FBSDprivate_1.0;

--=-=-=--



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