From owner-freebsd-arch@FreeBSD.ORG Tue Jul 21 15:45:22 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 0FD48106566B; Tue, 21 Jul 2009 15:45:22 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 493F08FC1F; Tue, 21 Jul 2009 15:45:21 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 62AB56D41D; Tue, 21 Jul 2009 17:45:20 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id 3B841844C2; Tue, 21 Jul 2009 17:45:20 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: John Baldwin References: <200907191725.n6JHPOBe049379@svn.freebsd.org> <200907200951.56551.jhb@freebsd.org> <4e571dd70907210800m451681fdhedb951e4351d8233@mail.gmail.com> <200907211134.23565.jhb@freebsd.org> Date: Tue, 21 Jul 2009 17:45:20 +0200 In-Reply-To: <200907211134.23565.jhb@freebsd.org> (John Baldwin's message of "Tue, 21 Jul 2009 11:34:23 -0400") Message-ID: <86vdlmvy3z.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: arch@freebsd.org, Gordon Tetlow 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:45:22 -0000 John Baldwin writes: > Gordon Tetlow writes: > > Is there a way to detect ABI changes automatically? [...] > 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). You can catch that with a script that parses the output of cpp on the header that defines the struct and has knowledge of the sizes of various types and the alignment and padding rules for that particular platform. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no