tools/libs: Fix stable library ABI breakage from c/s e1ed22be85
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
@@ -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
@@ -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
@@ -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
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()andxencall_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 <[email protected]>
Sorry about that.
And pushed.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel