From owner-freebsd-current@FreeBSD.ORG Sat May 12 22:39:25 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 30FF916A400 for ; Sat, 12 May 2007 22:39:25 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id E62AB13C45B for ; Sat, 12 May 2007 22:39:24 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.14.0/8.14.0/NETPLEX) with ESMTP id l4CMdNKp013865; Sat, 12 May 2007 18:39:23 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-3.0 (mail.ntplx.net [204.213.176.10]); Sat, 12 May 2007 18:39:24 -0400 (EDT) Date: Sat, 12 May 2007 18:39:23 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Alexander Kabaev In-Reply-To: Message-ID: References: <20070511083154.0b72ff46@kan.dnsalias.net> <8e5ef5f70705110951p55e4eb6aqe2ef23b3e77d907a@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 Reply-To: Daniel Eischen 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 22:39:25 -0000 On Fri, 11 May 2007, Daniel Eischen wrote: > 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? 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. -- DE