Hello

I found there are ABI compatibility checker tools.
I tried a below tool, and works fine for me.
http://ispras.linuxbase.org/index.php/ABI_compliance_checker

In the past, we made unintentional ABI breakages in the release
branch. (2.2.18, 2.2.25...)
Systematic check will help us avoiding
such breakages.


How to use:

1) Checkout two version of httpd and abi-compliance-checker

$ ls
abi-compliance-checker-1.99.9  abi-compliance-checker-1.99.9.tar.gz
httpd-2.4.1  httpd-2.4.10-dev

2) run abi-compliance-checker.pl

$ cd abi-compliance-checker-1.99.9 && ./abi-compliance-checker.pl -l
httpd -v1 2.4.1 -v2 2.4.10-dev --old ../httpd-2.4.1/include --new
../httpd-2.4.10-dev/include/
preparation, please wait ...
Using GCC 4.4.7 (i686-redhat-linux)
WARNING: checking headers only
checking header(s) 2.4.1 ...
ERROR: some errors occurred when compiling headers
ERROR: see log for details:
  /home/st/ABI-Check/abi-compliance-checker-1.99.9/logs/httpd/2.4.1/log.txt

checking header(s) 2.4.10-dev ...
ERROR: some errors occurred when compiling headers
ERROR: see log for details:
  /home/st/ABI-Check/abi-compliance-checker-1.99.9/logs/httpd/2.4.10-dev/log.txt

comparing ABIs ...
comparing APIs ...
creating compatibility report ...
result: COMPATIBLE
total "Binary" compatibility problems: 0, warnings: 7
total "Source" compatibility problems: 0, warnings: 8
see detailed report:
  compat_reports/httpd/2.4.1_to_2.4.10-dev/compat_report.html

3) See the result
The command prints simply if both version are compatible or not.
More details is in compat_report.html.
I attached it to this mail.

Comments?

Attachment: compat_report.html.gz
Description: GNU Zip compressed data

Reply via email to