From owner-freebsd-current@FreeBSD.ORG Sat May 12 23:07:40 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BEFAA16A402 for ; Sat, 12 May 2007 23:07:40 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.233]) by mx1.freebsd.org (Postfix) with ESMTP id 662A713C447 for ; Sat, 12 May 2007 23:07:40 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1226652wxc for ; Sat, 12 May 2007 16:07:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=WqEvVpyXJ5ZHLOTKjhwGgjIGjpTibgt8u037rWqQcp61HoQsSF//TbA0HK1eg2geHqezGfC/s33JKWFiDiFcTrakyGa0rExt2fgV6fQZzgSjwisjazLlgNQzf2Tswf9kRHNK68NHgj0NO0g/2LTOLaGsPC5f9Y09S3p4E47ZhwY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=YuIeMhAd1nJOwySBb/TSyX7yIM9uIdVKam+5BA1XJfoYxFmEGqAtGVJqEh5sKRSD4O/xoPLVf8+XHrYo06WWzaJ41yTLkP2H+5oI435/8GcvVviOPbMckiSvnDkikQg2zepzJoAItP3jRtSS4ccBlCqmRPxw6MbrBQyo+8Brv5s= Received: by 10.70.90.14 with SMTP id n14mr7449072wxb.1179011259780; Sat, 12 May 2007 16:07:39 -0700 (PDT) Received: from kan.dnsalias.net ( [24.34.98.164]) by mx.google.com with ESMTP id i19sm1660895wxd.2007.05.12.16.07.37; Sat, 12 May 2007 16:07:38 -0700 (PDT) Date: Sat, 12 May 2007 19:07:33 -0400 From: Alexander Kabaev To: Daniel Eischen Message-ID: <20070512190733.2ad55289@kan.dnsalias.net> In-Reply-To: References: <20070511083154.0b72ff46@kan.dnsalias.net> <8e5ef5f70705110951p55e4eb6aqe2ef23b3e77d907a@mail.gmail.com> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_5koKmB09LeV6SL8zNd3RGWX; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-current@freebsd.org Subject: Re: HEADS UP: shared library bump, symbol versioning, libthr change 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: Sat, 12 May 2007 23:07:40 -0000 --Sig_5koKmB09LeV6SL8zNd3RGWX Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 12 May 2007 18:39:23 -0400 (EDT) Daniel Eischen wrote: > On Fri, 11 May 2007, Daniel Eischen wrote: >=20 > > On Fri, 11 May 2007, Alexander Kabaev wrote: > > > >> Not really. You've wrote it several times before and I kept > >> forgetting to ask > >> you why do you think libraries getting versioned symbols need to be > >> bumped. There might be a valid reason for this, but it somehow > >> escapes me and I would greatly appreciate you helping me to get > >> this straight. I do not > >> think breaking binaries linking to symbols to which they had no > >> business to link > >> in the first place is reason good enough. And testing done by Kris > >> did show us that the percentage of such binaries extremely small, > >> small enough to be treated as a noise. > > > > I think it was because I thought libraries and applications that > > are linked without symbol dependencies would always get the > > latest version of the symbol, not the earliest version of > > the symbol. But if I recall correctly from prior email from > > you, you should get the earliest version of the symbol in > > lieu of no recorded symbol dependency? >=20 > libc and the thread libraries need to be bumped for a couple of > reasons. I believe the internal jump table (see __thr_jtable > in src/lib/libc/include/libc_private.h) changed sizes between > 6.x and 7.x. The other reason is that libpthread and libthr > used the namespace LIBPTHREAD_1_0 as their namespace, and this > needs to be removed and FBSD_1.0 used instead. libpthread > currently has to play some ugly games in order to be compatible > with both namespaces. libthr currently doesn't have those > ugly hacks and it would have to add them if its library version > is not bumped. >=20 > --=20 > DE Hmm, than does complicate matters a bit and I need to think about this a little bit more. Could you commit the rest of the patch meanwhile? It might turn out that another wholesale bump was made unavoidable by our earlier actions already. I just do not want to rush it :) --=20 Alexander Kabaev --Sig_5koKmB09LeV6SL8zNd3RGWX Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGRki1Q6z1jMm+XZYRAuogAJ96ALkZcAL/PjgKME1Apq6RnMARWwCguU2s 7JLfukJpvBKM2WPsR1umBbw= =ihYz -----END PGP SIGNATURE----- --Sig_5koKmB09LeV6SL8zNd3RGWX--