From owner-freebsd-current@FreeBSD.ORG Mon Dec 15 06:13:40 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7323616A524 for ; Mon, 15 Dec 2003 06:13:40 -0800 (PST) Received: from gw.celabo.org (gw.celabo.org [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id D142143D32 for ; Mon, 15 Dec 2003 06:13:38 -0800 (PST) (envelope-from nectar@freebsd.org) Received: from localhost (localhost [127.0.0.1]) by gw.celabo.org (Postfix) with ESMTP id 37B5A548A4; Mon, 15 Dec 2003 08:13:38 -0600 (CST) Received: from gw.celabo.org ([127.0.0.1]) by localhost (hellblazer.celabo.org [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 05609-10; Mon, 15 Dec 2003 08:13:27 -0600 (CST) Received: from lum.celabo.org (dhcp-204.celabo.org [10.0.1.204]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "lum.celabo.org", Issuer "celabo.org CA" (verified OK)) by gw.celabo.org (Postfix) with ESMTP id 6D5CE54883; Mon, 15 Dec 2003 08:13:27 -0600 (CST) Received: from freebsd.org (localhost [127.0.0.1]) by lum.celabo.org (Postfix) with ESMTP id 639441595E3; Mon, 15 Dec 2003 08:13:28 -0600 (CST) Message-ID: <3FDDC188.7000604@freebsd.org> Date: Mon, 15 Dec 2003 08:13:28 -0600 From: Jacques Vidrine User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gwk@rahn-koltermann.de References: <27942123$10714827473fdd877bd4aec6.12214738@config16.schlund.de> In-Reply-To: <27942123$10714827473fdd877bd4aec6.12214738@config16.schlund.de> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: 5.2 compatibility with 5.1? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 15 Dec 2003 14:13:40 -0000 gwk@rahn-koltermann.de said the following on 12/15/03 4:18 AM: > Hi, > > I installed 5.2-RC1 and wanted to run my Emacs binary from the 5.1 > system. > > However, 5.2-RC1 has libutil.so.4 while 5.1 had libutil.so.3. This was > of course easy to workaround by symlinking libutil.so.3 from 5.1 into > 5.2-RC1. That type of hack is never recommended. If you need libutil.so.3, I think you would be better off to get libutil.so.3 (from a 5.1 installation). Don't just pretend that libutil.so.4 is libutil.so.3. You clearly seem to understand that different library version numbers will have incompatible interfaces. > > More serious seems the following problem: Sometimes when sending Email > from Evolution built on 5.1, running on 5.2-RC1, Evolution crashes > with an undefined reference from libc_r: > > /usr/libexec/ld-elf.so.1: /usr/X11R6/lib/evolution/1.4/libeutil.so.0: > Undefined symbol "gethostbyaddr_r" > > Indeed gethostbyaddr_r seems to be present in libc.so on 5.1, but not > any more in 5.2-RC1. > > I thought minor number upgrades would have compatible libs? > Do we need a compat51 package? > > If libc was modified in an incompatible way, shouldn't we bump the > version number? The API for 5.x will not be officially frozen until 5.3, although it should be very rare that incompatible changes are made this late in the game. I removed gethostbyaddr_r as well as some other bogus *_r functions that were not actually re-entrant. They should have never been added in the form that they were. My intent is to add non-bogus versions before 5.3. Cheers, -- Jacques Vidrine NTT/Verio SME FreeBSD UNIX Heimdal nectar@celabo.org jvidrine@verio.net nectar@freebsd.org nectar@kth.se