Skip to contentSkip to conversation

tools/libs: Fix stable library ABI breakage from c/s e1ed22be85

PATCH In review Andrew Cooper 2 participants 2 messages Jul 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>

---
 tools/libs/call/Makefile       | 2 +-
 tools/libs/call/libxencall.map | 6 +++++-
 tools/libs/gnttab/Makefile     | 2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)
tools/libs/call/Makefile +1 -1
index 252d397..6291e6d 100644
@@ -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
tools/libs/call/libxencall.map +5 -1
index feacee3..6922b96 100644
@@ -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;
tools/libs/gnttab/Makefile +1 -1
index dcfe686..6c2e7e3 100644
@@ -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
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Acked-by on v1 1/1
#1 lore raw

Andrew Cooper writes ("[PATCH] tools/libs: Fix stable library ABI breakage from c/s e1ed22be85"):

Quoted 9 lines

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.

Sorry about that.

And pushed.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel