:: Re: [Dng] Anyone run abi-dumper on …
Top Pagina
Delete this message
Reply to this message
Auteur: Matteo Panella
Datum:  
Aan: dng
Onderwerp: Re: [Dng] Anyone run abi-dumper on Debian libudev?
On 30/11/2014 08:03, Isaac Dunham wrote:
> I've been poking at eudev/reading the documentation/...; it's supposed to
> offer ABI compatability with systemd libudev until that becomes too
> difficult, but I don't have an ABI dump from the latter.
> Does anyone else have that?


Here they are: <https://gist.github.com/rfc1459/de992a70fe9608e48389>

It was harder than I imagined due to debhelper being overzealous in
stripping away DWARF sections and systemd disregarding altogether the
nodoc build profile (thus wasting my time while building useless
manpages and html docs...).

The correct command turned out to be:
env DEB_BUILD_PROFILES="stage1 nodoc" DEB_BUILD_OPTIONS="noopt nostrip"
fakeroot debian/rules build

(on a single line... damn Thunderbird)

A word of caution: the build was performed without optimization,
otherwise the DWARF info needed for abi-dumper would have been stripped
away.

Next steps:
a) automate this mess (the "lab environment" is already built using
Docker, so this should be fairly easy)
b) do a comparative build of eudev
c) run dumps from both projects through abi-compliance-checker

Regards,
--
Matteo Panella