[Bug 1575520] abi-compliance-checker doesn't work under F28

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1575520



--- Comment #9 from Nikos Mavrogiannopoulos <nmavrogi@xxxxxxxxxx> ---
It works for me minus the dependency issue on findutils (reported separately).
May I suggest the following sanity check (as CI/Test
https://fedoraproject.org/wiki/CI/Tests ), if there is no other testsuite for
that?


cat >c.c <<_EOF_
#include <stdio.h>

int apicall(int a)
{
printf("hello world %d\n", a);
return 0;
}
_EOF_

$ mkdir -p api-ok
$ mkdir -p api-broken

cat >api-ok/c.h <<_EOF_

int apicall(int a);
_EOF_

cat >api-broken/c.h <<_EOF_

int apicall(int a, void *ptr);
_EOF_


$ gcc -g -c -Wall -Werror -fpic c.c
$ gcc -shared -o libfoo.so c.o
$ cp libfoo.so api-ok/
$ cp libfoo.so api-broken/
$ abi-dumper libfoo.so

$ abi-compliance-checker -l foo -old api-ok -new ABI.dump # ok
$ abi-compliance-checker -l foo -old api-broken -new ABI.dump # fails

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]

  Powered by Linux