Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2009 17:45:20 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        John Baldwin <jhb@freebsd.org>
Cc:        arch@freebsd.org, Gordon Tetlow <gordon@tetlows.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...
Message-ID:  <86vdlmvy3z.fsf@ds4.des.no>
In-Reply-To: <200907211134.23565.jhb@freebsd.org> (John Baldwin's message of "Tue, 21 Jul 2009 11:34:23 -0400")
References:  <200907191725.n6JHPOBe049379@svn.freebsd.org> <200907200951.56551.jhb@freebsd.org> <4e571dd70907210800m451681fdhedb951e4351d8233@mail.gmail.com> <200907211134.23565.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin <jhb@freebsd.org> writes:
> Gordon Tetlow <gordon@tetlows.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86vdlmvy3z.fsf>