mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 18:11:00 +03:00
739cfb965b
Also mark all printf-like funxions in libzfs_impl.h as printf-like and add --no-show-locs to storeabi, in hopes diffs will make more sense in future This removes these symbols from libzfs: D nfs_only T SHA256Init T SHA2Final T SHA2Init T SHA2Update T SHA384Init T SHA512Init D share_all_proto D smb_only T zfs_is_shared_proto W zpool_mount_datasets W zpool_unmount_datasets Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Matthew Ahrens <mahrens@delphix.com> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12048
30 lines
888 B
Plaintext
30 lines
888 B
Plaintext
#
|
|
# When performing an ABI check the following options are applied:
|
|
#
|
|
# --no-unreferenced-symbols: Exclude symbols which are not referenced by
|
|
# any debug information. Without this _init() and _fini() are incorrectly
|
|
# reported on CentOS7 for libuutil.so.
|
|
#
|
|
# --headers-dir1: Limit ABI checks to public OpenZFS headers, otherwise
|
|
# changes in public system headers are also reported.
|
|
#
|
|
# --suppressions: Honor a suppressions file for each library to provide
|
|
# a mechanism for suppressing harmless warnings.
|
|
#
|
|
|
|
PHONY += checkabi storeabi
|
|
|
|
checkabi:
|
|
for lib in $(lib_LTLIBRARIES) ; do \
|
|
abidiff --no-unreferenced-symbols \
|
|
--headers-dir1 ../../include \
|
|
--suppressions $${lib%.la}.suppr \
|
|
$${lib%.la}.abi .libs/$${lib%.la}.so ; \
|
|
done
|
|
|
|
storeabi:
|
|
cd .libs ; \
|
|
for lib in $(lib_LTLIBRARIES) ; do \
|
|
abidw --no-show-locs $${lib%.la}.so > ../$${lib%.la}.abi ; \
|
|
done
|