From owner-freebsd-current@FreeBSD.ORG Fri May 11 18:09:22 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 31D3216A402 for ; Fri, 11 May 2007 18:09:22 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [146.64.24.58]) by mx1.freebsd.org (Postfix) with ESMTP id C0B6013C455 for ; Fri, 11 May 2007 18:09:21 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 7706633CCE; Fri, 11 May 2007 19:40:22 +0200 (SAST) Date: Fri, 11 May 2007 19:40:22 +0200 From: John Hay To: Alexander Kabaev Message-ID: <20070511174022.GA18899@zibbi.meraka.csir.co.za> References: <20070511083154.0b72ff46@kan.dnsalias.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070511083154.0b72ff46@kan.dnsalias.net> User-Agent: Mutt/1.4.2.1i 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: Fri, 11 May 2007 18:09:22 -0000 On Fri, May 11, 2007 at 08:31:54AM -0400, Alexander Kabaev wrote: > On Sun, 6 May 2007 10:07:51 -0400 (EDT) > Daniel Eischen wrote: > > > Sometime this coming weekend (May 11-13), I'll be committing the > > following patch: > > > > http://people.freebsd.org/~deischen/symver/bump_symver.diffs.050207 > > > > What does this do? > > > > o All library versions that haven't already been bumped and > > that are not new to 7.0 will be bumped. > > > > Hi, > > I always had a problem with wholesome bumpings like these. What is the > justification for such a broad sweep? libc bump CAN NOT be made an > excuse for cascaded bumps. FreeBSD does not record LIBC dependency into > shared libraries themselves, so as long as libc sybols used by the > shared library did not change ABI between libc.so.6 and libc.so.7, old > shared libraries will happily work with both. If there are are symbols > that are missing or have changed in libc.so.7 that prevent it from > being a perfect superset of libc.so.6, can we consider adding them back > instead, with FBSD_1.0 version and making changed symbols FBSD_1.1 or > some such? Sure, this will break older unversioned -current binaries as > they will start resolving to FBSD_1.0 symbols, but your bump will > obsolete them too, so -current users will need to recompile either way. > > I always thought that original LIBC bump was a mistake. > > Please consider this an objection until this matter is discussed in > more detail. Between libpthread.so.2, libc.so.6 and libc.so.7 there is enough change to make programs compiled for 6.x not work on -current. Some examples are the diablo java package (for 6.1) available from the FreeBSD Foundation site (http://www.freebsdfoundation.org/downloads/java.shtml) and the 6.x openoffice packages available from http://porting.openoffice.org/freebsd/ I'm not for or against bumping, only for unbreaking. :-) John -- John Hay -- John.Hay@meraka.csir.co.za / jhay@FreeBSD.org