summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2018-06-10 11:42:10 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-06-14 16:36:55 +0200
commit8d63246c1a93e18701c63e3d69f9e5ea476b8703 (patch)
tree8cf0b33ce196e49945606baef98499b296e732c6
parent19e874aa67ea48b299abd4fbc94bd0319305ab32 (diff)
downloadgnutls-tmp-iovec-api.tar.gz
abi-check skip session::set_transport_vec_push_functiontmp-iovec-api
This prevents an abi-compliance checker error when run under gcc8 (though this error is not there under any other gcc). Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 34ea4b5e0f..0f7c8a29a8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -83,6 +83,9 @@ ABIVER=$(shell git for-each-ref --sort=taggerdate --format '%(refname)' refs/tag
fi && $(MAKE) -j$$(nproc) -C gl && $(MAKE) -j$$(nproc) -C lib && $(MAKE) -j$$(nproc) -C libdane
touch $@
+# We skip session::set_transport_vec_push_function() as it is seen as different when
+# compiled with the glibc struct iovec, under gcc8. This should be temporary for
+# 3.6.2 to 3.6.3 transition.
abi-check: .prev-tag-abi.stamp
@rm -f $(ABI_TMPFILE_CUR) $(ABI_TMPFILE_PRE)
@echo "Checking libgnutls ABI"
@@ -93,6 +96,7 @@ abi-check: .prev-tag-abi.stamp
@echo "<version>$(VERSION)</version>" >$(ABI_TMPFILE_PRE)
@echo "<headers>$(builddir)/$(ABI_TMPCLONEDIR)/lib/includes/gnutls" >>$(ABI_TMPFILE_PRE)
@echo "$(builddir)/$(ABI_TMPCLONEDIR)/lib/includes/gnutls</headers>" >>$(ABI_TMPFILE_PRE)
+ @echo "<skip_symbols>_ZN6gnutls7session31set_transport_vec_push_functionEPFlPvPK8giovec_tiE</skip_symbols>" >>$(ABI_TMPFILE_PRE)
@echo "<libs>$(builddir)/$(ABI_TMPCLONEDIR)/lib/.libs</libs>" >>$(ABI_TMPFILE_PRE)
PATH="/sbin$(PATH_SEPARATOR)$$PATH" \
abi-compliance-checker -abi -lib gnutls -old $(ABI_TMPFILE_PRE) -new $(ABI_TMPFILE_CUR) -skip-symbols $(srcdir)/devel/abi-unchecked-symbols