From 28ca696a3e5cf464be945477a986576eec644c61 Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Mon, 9 Jul 2018 10:13:48 +0100 Subject: [PATCH] tools/libs: Fix stable library ABI breakage from c/s e1ed22be85 For libxengnttab.map, introducing a new VERS* section must be matched with a equivalent SONAME bump. For libxencall.map, the hunk as presented would have been ok, if Xen 4.11 hadn't been released between xencall_buffers_never_fault() and xencall_fd() being introduced. Given the timing of the release, xencall_fd() needs moving into a new VERS_1.2 section. Signed-off-by: Andrew Cooper Acked-by: Ian Jackson --- tools/libs/call/Makefile | 2 +- tools/libs/call/libxencall.map | 6 +++++- tools/libs/gnttab/Makefile | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tools/libs/call/Makefile b/tools/libs/call/Makefile index 252d3973fc..6291e6dfe7 100644 --- a/tools/libs/call/Makefile +++ b/tools/libs/call/Makefile @@ -2,7 +2,7 @@ XEN_ROOT = $(CURDIR)/../../.. include $(XEN_ROOT)/tools/Rules.mk MAJOR = 1 -MINOR = 1 +MINOR = 2 SHLIB_LDFLAGS += -Wl,--version-script=libxencall.map CFLAGS += -Werror -Wmissing-prototypes diff --git a/tools/libs/call/libxencall.map b/tools/libs/call/libxencall.map index feacee3146..6922b96511 100644 --- a/tools/libs/call/libxencall.map +++ b/tools/libs/call/libxencall.map @@ -21,5 +21,9 @@ VERS_1.0 { VERS_1.1 { global: xencall_buffers_never_fault; - xencall_fd; } VERS_1.0; + +VERS_1.2 { + global: + xencall_fd; +} VERS_1.1; diff --git a/tools/libs/gnttab/Makefile b/tools/libs/gnttab/Makefile index dcfe686767..6c2e7e36a2 100644 --- a/tools/libs/gnttab/Makefile +++ b/tools/libs/gnttab/Makefile @@ -2,7 +2,7 @@ XEN_ROOT = $(CURDIR)/../../.. include $(XEN_ROOT)/tools/Rules.mk MAJOR = 1 -MINOR = 1 +MINOR = 2 SHLIB_LDFLAGS += -Wl,--version-script=libxengnttab.map CFLAGS += -Werror -Wmissing-prototypes -- 2.39.5