Anyone interested in abi-compliance-checker?

Andrey Ponomarenko aponomarenko at mandriva.org
Tue Jan 10 07:38:02 UTC 2012


Hi,

On 01/06/2012 10:34 PM, Remi Collet wrote:
> Le 06/01/2012 19:00, Orion Poplawski a écrit :
>
>> How do you generally make use of it?  In the course of my build process
>> I don't normally have two versions of the same library installed on one
>> machine which seems to be what is needed to use it.
> I use it for some lib I maintain
>
> - generate the analysis with version N
>
> abi-compliance-checker -l libmemcached \
> 	-dump_abi libmemcached042.xml
>
> - build / install new version
>
> - generate the analysis with version N+1
>
> abi-compliance-checker -l libmemcached \
> 	-dump_abi libmemcached043.xml
>
> - Compare the result
>
> abi-compliance-checker -l libmemcached \
> 	-d1 abi_dumps/libmemcached/libmemcached_0.42.abi.tar.gz \
> 	-d2 abi_dumps/libmemcached/libmemcached_0.43.abi.tar.gz \
>
> firefox
> file:$(pwd)/compat_reports/libmemcached/0.42_to_0.43/abi_compat_report.html
>
> or, tips, use http://linuxtesting.org/upstream-tracker/   ;)
>
>
> Remi.

There also exists the --stdout option in the 1.96.1 version of 
abi-compliance-checker tool to print ABI dumps to stdout. So, this 
allows to avoid creating archives and speed up the analysis:

1. abi-compliance-checker -l libmemcached -dump libmemcached042.xml 
-stdout > libmemcached_0.42.abi
2. abi-compliance-checker -l libmemcached -dump libmemcached043.xml 
-stdout > libmemcached_0.43.abi
3. abi-compliance-checker -l libmemcached -d1 libmemcached_0.42.abi -d2 
libmemcached_0.43.abi

Also, we have moved upstream-tracker service from 
http://linuxtesting.org/upstream-tracker/ to the new URL: 
http://upstream-tracker.org/

-- 
Andrey Ponomarenko, ROSA Lab.



More information about the devel mailing list