From owner-freebsd-arch@FreeBSD.ORG Tue Jul 21 15:34:28 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FDE7106568E for ; Tue, 21 Jul 2009 15:34:28 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3E3788FC16 for ; Tue, 21 Jul 2009 15:34:28 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id E812E46B49; Tue, 21 Jul 2009 11:34:27 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 3D0058A09E; Tue, 21 Jul 2009 11:34:27 -0400 (EDT) From: John Baldwin To: Gordon Tetlow Date: Tue, 21 Jul 2009 11:34:23 -0400 User-Agent: KMail/1.9.7 References: <200907191725.n6JHPOBe049379@svn.freebsd.org> <200907200951.56551.jhb@freebsd.org> <4e571dd70907210800m451681fdhedb951e4351d8233@mail.gmail.com> In-Reply-To: <4e571dd70907210800m451681fdhedb951e4351d8233@mail.gmail.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200907211134.23565.jhb@freebsd.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 21 Jul 2009 11:34:27 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: arch@freebsd.org Subject: Re: svn commit: r195767 - in head: . cddl/lib cddl/lib/libctf cddl/lib/libdtrace gnu/lib/libdialog gnu/lib/libg2c gnu/lib/libobjc gnu/lib/libreadline gnu/lib/libregex lib lib/libalias/libalias lib/liba... X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2009 15:34:28 -0000 On Tuesday 21 July 2009 11:00:27 am Gordon Tetlow wrote: > On Mon, Jul 20, 2009 at 6:51 AM, John Baldwin wrote: > > > I guess specifically I see a disconnect in that in our current policy we > > trust > > developers to know when a change is an ABI change for a library with > > versioned symbols, but we don't trust them to know when a change is an ABI > > change for a library without versioned symbols. Either we trust developers > > to recognize an ABI change or not. Whether or not the library has > > versioned > > symbols doesn't change that, and the resulting mess if we get it wrong is > > just as ugly in either case. > > > Is there a way to detect ABI changes automatically? Is there some tool that > could be written to detect changes in ABI and throw warnings about in that > case? I am not aware of one, and I think it would be hard to detect things like changes in structure layout (e.g. you can have an ABI change w/o changing the size if you just reorder fields). Even a tool that could check for a subset of breakages would still be useful. -- John Baldwin