From owner-freebsd-current@FreeBSD.ORG Sun May 13 03:33:56 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 4F40416A402 for ; Sun, 13 May 2007 03:33:56 +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 10C4813C44B for ; Sun, 13 May 2007 03:33:55 +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 l4D3XsKY021242; Sat, 12 May 2007 23:33:54 -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 23:33:55 -0400 (EDT) Date: Sat, 12 May 2007 23:33:54 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Alexander Kabaev In-Reply-To: <20070512190733.2ad55289@kan.dnsalias.net> Message-ID: References: <20070511083154.0b72ff46@kan.dnsalias.net> <8e5ef5f70705110951p55e4eb6aqe2ef23b3e77d907a@mail.gmail.com> <20070512190733.2ad55289@kan.dnsalias.net> 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: Sun, 13 May 2007 03:33:56 -0000 On Sat, 12 May 2007, Alexander Kabaev wrote: > On Sat, 12 May 2007 18:39:23 -0400 (EDT) > Daniel Eischen wrote: > >> 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. > > 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 :) I plan on using a private function to set the jump table from the thread libraries so that we can make it easier to change the table format in the future if necessary. I'll add that later. I'll commit the patches without any version bumps. -- DE