ABI diff tools

Patrice Dumas pertusus at free.fr
Sat Mar 24 17:46:12 UTC 2007


On Sat, Mar 24, 2007 at 01:24:29AM +0100, Axel Thimm wrote:
> On Fri, Mar 23, 2007 at 11:32:30PM +0100, Patrice Dumas wrote:
> > > But C does not encode arguments to functions into
> > > the symbols so large part of the ABI information is implicit. But at
> > > least you would get part of the ABI to check.
> > 
> > So that part of the ABI is only visible in header files, or by seeing
> > a segfault at runtime?
> 
> The header files expose the API: if you check that for equivalence,
> then the ABI is given, as the ABI is derived from API and environment
> (e.g. platform, architecture and toolchain).

Indeed, but sometimes API differences are not easy to spot (and for
fortran in many cases there is no API), I hoped it was possible to
use more easily ABI differences. 

Seems like it isn't really possible if prototypes are not in the ABI.

--
Pat




More information about the epel-devel-list mailing list