Who uses abi-compliance-checker?
Sérgio Basto
sergio at serjux.com
Mon Jul 15 13:51:27 UTC 2013
On Seg, 2013-07-15 at 15:16 +0400, Andrey Ponomarenko wrote:
> Sérgio Basto wrote:
> > On Qui, 2013-07-11 at 12:49 +0400, Andrey Ponomarenko wrote:
> >> Sérgio Basto wrote:
> >>> On Qui, 2013-07-04 at 16:47 +0400, Andrey Ponomarenko wrote:
> >>>> Starting with 1.6 version of pkgdiff if you compare debug packages
> >>>> and
> >>>> add --details option on the command line then the tool will
> >>>> automatically run abi-dumper to dump ABI of old and new shared
> >>>> objects
> >>>> found in the packages and then compare them by the
> >>>> abi-compliance-checker tool.
> >>> hum , so pkgdiff -details doesn't use abi-compliance-checker without
> >>> abi-dumper installed ?
> >> Yes, it doesn't. Detailed checks of ABI changes in shared objects will
> >> be disabled in this case. They are enabled only if you install both
> >> tools and compare appropriate debug-info RPM packages.
> > ah ABI Status, just appears when we compare debuginfo packages (with
> > -details )
> >
> >
> >>>
> >>> pkgdiff x264-0.130-3.20130502git1db4621.fc20.i686.rpm
> >>> x264-0.133-1.20130709git585324f.fc20.i686.rpm -details
> >>> ERROR: cannot find ABI Dumper
> >>> reading packages ...
> >>> comparing packages ...
> >>> creating changes report ...
> >>> result: CHANGED (18.4%)
> >>> see detailed report:
> >>>
> >>> pkgdiff_reports/x264/0.130-3.20130502git1db4621.fc20_to_0.133-1.20130709git585324f.fc20/changes_report.html
> > Total Objects (with debug-info) 2
> > ABI Compatibility 70.8%
> >
> >
> > Cool thanks,
> >
> > pkgdiff print some errors [1] are you interested in reports ?
> >
> >
> > [1] pkgdiff x264-debuginfo-0.130-3.20130502git1db4621.fc20.i686.rpm
> > x264-debuginfo-0.133-1.20130709git585324f.fc20.i686.rpm -details
> > reading packages ...
> > comparing packages ...
> > Compare ABIs of x264 (0.8M) ...
> > ERROR: missed type id 130179
> > ERROR: missed type id 131954
> > ERROR: missed type name (82925)
> > ERROR: missed type id 23828
> > ERROR: missed type id 132137
> > ERROR: missed type id 47285
> > ERROR: missed type id 47358
> > ERROR: missed type id 6333
> > ERROR: missed type id 134805
> > ERROR: missed type id 131958
> > ERROR: missed type id 134661
> > Compare ABIs of libx264.so.130 (2.3M) ...
> > ERROR: Failed to run ABI Compliance Checker (7)
> > Compare ABIs of libx26410b.so.130 (2.2M) ...
> > ERROR: Failed to run ABI Compliance Checker (7)
> > Compare ABIs of libx264.so.130 (2.4M) ...
> > ERROR: missed type id 36143
> > creating changes report ...
> > result: CHANGED (97.1%)
> > see detailed report:
> >
> > pkgdiff_reports/x264-debuginfo/0.130-3.20130502git1db4621.fc20_to_0.133-1.20130709git585324f.fc20/changes_report.html
> >
> >
>
> Readelf from elfutils reports "invalid DWARF" on libx264.so.130.debug:
>
> $> eu-readelf --debug-dump=info libx264.so.130.debug
>
> DWARF section [27] '.debug_info' at offset 0x50b:
> [Offset]
> Compilation unit at offset 0:
> Version: 4, Abbreviation section offset: 8442, Address size: 4, Offset
> size: 4
> [ b] partial_unit
> stmt_list (sec_offset) 0
> comp_dir (form: 0x1f21) ???
> eu-readelf: cannot get next DIE: invalid DWARF
>
> Readelf from binutils reports:
>
> $> readelf --debug-dump=info libx264.so.130.debug
>
> Contents of the .debug_info section:
>
> Compilation Unit @ offset 0x0:
> Length: 0xba (32-bit)
> Version: 4
> Abbrev Offset: 8442
> Pointer Size: 4
> <0><b>: Abbrev Number: 105 (DW_TAG_partial_unit)
> <c> DW_AT_stmt_list : 0x0
> readelf: Warning: Unrecognized form: 7969
> <10> DW_AT_comp_dir :
> <1><10>: Abbrev Number: 7566
> readelf: Warning: DIE at offset 10 refers to abbreviation number 7566
> which does not exist
>
> Why debug objects in x264-debuginfo package are invalid?
I don't know , you tell me
--
Sérgio M. B.
More information about the devel
mailing list