[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] tools/libs: Fix stable library ABI breakage from c/s e1ed22be85



commit 28ca696a3e5cf464be945477a986576eec644c61
Author:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Mon Jul 9 10:13:48 2018 +0100
Commit:     Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
CommitDate: Mon Jul 9 10:46:34 2018 +0100

    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 <andrew.cooper3@xxxxxxxxxx>
    Acked-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 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
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.