From owner-freebsd-current@FreeBSD.ORG Sun Feb 3 16:31:00 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BAAC16A420 for ; Sun, 3 Feb 2008 16:31:00 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.235]) by mx1.freebsd.org (Postfix) with ESMTP id CE73C13C474 for ; Sun, 3 Feb 2008 16:30:59 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1496541wxd.7 for ; Sun, 03 Feb 2008 08:30:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; bh=ebcE2DBA0ku1gX/8O/i5fZNWAKN2SL0QguPw6IqSYVE=; b=BHSvcPJyQ88opQjvMy13alvmr49XpvTWZSXgjjFiL+AbQNfTK4u6VOl3w+airhmGWvrZI5BiBn1zZv4LKqkHnsyOipzDSAZbs6Z1IwVUgs7fqv/YYMKlJe/6K4sYT4ORpnIAub2GQjrWFtYdhFGPWm/vqKsj+HDI1aqQq9SVxK4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=pV9mWCoEGywALQDJ0XccKHxSwBQqhTsoTH1AAVvuoVY+NsRSAy/0GvJ56os+mxd5kcmyI9TkdjGoy19gkRyr1tniZhp8vefgU/BJQZ6Um7DZhm90b1JX1p220xBt6EYolJ3pKKaGUfdwUQLQBZwObpOTDX7G3zcQQTOVwQmRdKo= Received: by 10.70.67.1 with SMTP id p1mr3905311wxa.24.1202054609261; Sun, 03 Feb 2008 08:03:29 -0800 (PST) Received: from kan.dnsalias.net ( [24.218.183.247]) by mx.google.com with ESMTPS id h36sm6555664wxd.29.2008.02.03.08.03.20 (version=SSLv3 cipher=OTHER); Sun, 03 Feb 2008 08:03:25 -0800 (PST) Date: Sun, 3 Feb 2008 11:03:15 -0500 From: Alexander Kabaev To: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= Message-ID: <20080203110315.6416563e@kan.dnsalias.net> In-Reply-To: <861w7um5o5.fsf@ds4.des.no> References: <861w7um5o5.fsf@ds4.des.no> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.5; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/bbyuqcp1BdnxuGHk.=NnoIq"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: threads@freebsd.org, current@freebsd.org Subject: Re: Symbol versioning errors in libthr X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2008 16:31:00 -0000 --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 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--