tools: ABI checking
cover tools: ABI checking
Support in-tree ABI checking for stable libs.
This series highlights a regression from 4.14, which needs fixing before the 3rd patch can be committed.
abi-compliance-checker reports:
Removed Symbols 3
xentoolcore_internal.h
xentoolcore__deregister_active_handle ( Xentoolcore__Active_Handle* ah ) xentoolcore__register_active_handle ( Xentoolcore__Active_Handle* ah ) xentoolcore__restrict_by_dup2_null ( int fd )
Another RFC question - this only applies to x86_64 at the moment. For other architectures, we'd need to commit other ABI files.
Andrew Cooper (3):
tools: Check for abi-compliance-checker in ./configure tools/libs: Stash the 4.14 API/ABIs for the stable libraries tools/libs: Check ABI # DO NOT APPLY YET
config/Tools.mk.in | 1 + tools/configure | 41 + tools/configure.ac | 1 + tools/libs/.gitignore | 2 + tools/libs/abi/libxencall.so.1.2-x86_64-abi.dump | 924 +++++++++++ .../abi/libxendevicemodel.so.1.3-x86_64-abi.dump | 1491 +++++++++++++++++ tools/libs/abi/libxenevtchn.so.1.1-x86_64-abi.dump | 719 ++++++++ .../abi/libxenforeignmemory.so.1.3-x86_64-abi.dump | 847 ++++++++++ tools/libs/abi/libxengnttab.so.1.2-x86_64-abi.dump | 1199 ++++++++++++++ tools/libs/abi/libxenhypfs.so.1.0-x86_64-abi.dump | 597 +++++++ .../libs/abi/libxenstore.so.3.0.3-x86_64-abi.dump | 1711 ++++++++++++++++++++ .../libs/abi/libxentoolcore.so.1.0-x86_64-abi.dump | 239 +++ .../libs/abi/libxentoollog.so.1.0-x86_64-abi.dump | 882 ++++++++++ tools/libs/call/Makefile | 2 + tools/libs/devicemodel/Makefile | 2 + tools/libs/evtchn/Makefile | 2 + tools/libs/foreignmemory/Makefile | 2 + tools/libs/gnttab/Makefile | 2 + tools/libs/hypfs/Makefile | 2 + tools/libs/libs.mk | 15 +- tools/libs/store/Makefile | 2 + tools/libs/toolcore/Makefile | 2 + tools/libs/toollog/Makefile | 2 + 23 files changed, 8683 insertions(+), 4 deletions(-) create mode 100644 tools/libs/abi/libxencall.so.1.2-x86_64-abi.dump create mode 100644 tools/libs/abi/libxendevicemodel.so.1.3-x86_64-abi.dump create mode 100644 tools/libs/abi/libxenevtchn.so.1.1-x86_64-abi.dump create mode 100644 tools/libs/abi/libxenforeignmemory.so.1.3-x86_64-abi.dump create mode 100644 tools/libs/abi/libxengnttab.so.1.2-x86_64-abi.dump create mode 100644 tools/libs/abi/libxenhypfs.so.1.0-x86_64-abi.dump create mode 100644 tools/libs/abi/libxenstore.so.3.0.3-x86_64-abi.dump create mode 100644 tools/libs/abi/libxentoolcore.so.1.0-x86_64-abi.dump create mode 100644 tools/libs/abi/libxentoollog.so.1.0-x86_64-abi.dump
Signature · 1 line
2.11.0
PATCH 1/3 tools: Check for abi-compliance-checker in ./configure
This will be optional. No functional change
---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
--- config/Tools.mk.in | 1 + tools/configure | 41 +++++++++++++++++++++++++++++++++++++++++ tools/configure.ac | 1 + 3 files changed, 43 insertions(+)
config/Tools.mk.in +1 -0
@@ -20,6 +20,7 @@ IASL := @IASL@ AWK := @AWK@ FETCHER := @FETCHER@ ABI_DUMPER := @ABI_DUMPER@ +ABI_COMPLIANCE_CHECKER := @ABI_COMPLIANCE_CHECKER@ # Extra folder for libs/includes PREPEND_INCLUDES := @PREPEND_INCLUDES@
tools/configure +41 -0
53 lines not on this page · raw message
tools/configure.ac +1 -0
@@ -311,6 +311,7 @@ AC_PROG_MAKE_SET AC_PROG_INSTALL AC_PATH_PROG([FLEX], [flex]) AC_PATH_PROG([ABI_DUMPER], [abi-dumper]) +AC_PATH_PROG([ABI_COMPLIANCE_CHECKER], [abi-compliance-checker]) AX_PATH_PROG_OR_FAIL([PERL], [perl]) AX_PATH_PROG_OR_FAIL([AWK], [awk])
Signature · 1 line
2.11.0
Re: [PATCH 1/3] tools: Check for abi-compliance-checker in ./configure
Andrew Cooper writes ("[PATCH 1/3] tools: Check for abi-compliance-checker in ./configure"):
Quoted 1 line
This will be optional. No functional change
PATCH 2/3 tools/libs: Stash the 4.14 API/ABIs for the stable libraries
In reply to Andrew CooperThese dumps were produced from the RELEASE-4.14.0 tag, with the abi-dumper tooling backported from staging.
For each stable library, add a PKG_OLD_ABI variable pointing at the 4.14 ABI.
No functional change.
---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
CC: Juergen Gross <[email protected]>
--- tools/libs/abi/libxencall.so.1.2-x86_64-abi.dump | 924 +++++++++++ .../abi/libxendevicemodel.so.1.3-x86_64-abi.dump | 1491 +++++++++++++++++ tools/libs/abi/libxenevtchn.so.1.1-x86_64-abi.dump | 719 ++++++++ .../abi/libxenforeignmemory.so.1.3-x86_64-abi.dump | 847 ++++++++++ tools/libs/abi/libxengnttab.so.1.2-x86_64-abi.dump | 1199 ++++++++++++++ tools/libs/abi/libxenhypfs.so.1.0-x86_64-abi.dump | 597 +++++++ .../libs/abi/libxenstore.so.3.0.3-x86_64-abi.dump | 1711 ++++++++++++++++++++ .../libs/abi/libxentoolcore.so.1.0-x86_64-abi.dump | 239 +++ .../libs/abi/libxentoollog.so.1.0-x86_64-abi.dump | 882 ++++++++++ tools/libs/call/Makefile | 2 + tools/libs/devicemodel/Makefile | 2 + tools/libs/evtchn/Makefile | 2 + tools/libs/foreignmemory/Makefile | 2 + tools/libs/gnttab/Makefile | 2 + tools/libs/hypfs/Makefile | 2 + tools/libs/store/Makefile | 2 + tools/libs/toolcore/Makefile | 2 + tools/libs/toollog/Makefile | 2 + 18 files changed, 8627 insertions(+) create mode 100644 tools/libs/abi/libxencall.so.1.2-x86_64-abi.dump create mode 100644 tools/libs/abi/libxendevicemodel.so.1.3-x86_64-abi.dump create mode 100644 tools/libs/abi/libxenevtchn.so.1.1-x86_64-abi.dump create mode 100644 tools/libs/abi/libxenforeignmemory.so.1.3-x86_64-abi.dump create mode 100644 tools/libs/abi/libxengnttab.so.1.2-x86_64-abi.dump create mode 100644 tools/libs/abi/libxenhypfs.so.1.0-x86_64-abi.dump create mode 100644 tools/libs/abi/libxenstore.so.3.0.3-x86_64-abi.dump create mode 100644 tools/libs/abi/libxentoolcore.so.1.0-x86_64-abi.dump create mode 100644 tools/libs/abi/libxentoollog.so.1.0-x86_64-abi.dump
tools/libs/abi/libxencall.so.1.2-x86_64-abi.dump new file +924 -0
@@ -0,0 +1,924 @@ +$VAR1 = { + 'ABI_DUMPER_VERSION' => '0.99.16', + 'ABI_DUMP_VERSION' => '3.2', + 'Arch' => 'x86_64', + 'GccVersion' => '6.3.0', + 'Headers' => { + 'xencall.h' => 1 + }, + 'Language' => 'C', + 'LibraryName' => 'libxencall.so.1.2', + 'LibraryVersion' => '1.2', + 'NameSpaces' => {}, + 'Needed' => { + 'libc.so.6' => 1, + 'libpthread.so.0' => 1, + 'libxentoolcore.so.1' => 1, + 'libxentoollog.so.1' => 1 + }, + 'PublicABI' => '1', + 'Sources' => { + 'buffer.c' => 1, + 'core.c' => 1, + 'linux.c' => 1 + }, + 'SymbolInfo' => { + '1580' => { + 'Header' => 'xencall.h', + 'Param' => { + '0' => { + 'name' => 'xcall', + 'type' => '1758' + }, + '1' => { + 'name' => 'op', + 'type' => '74' + }, + '2' => { + 'name' => 'arg1', + 'type' => '1128' + }, + '3' => { + 'name' => 'arg2', + 'type' => '1128' + }, + '4' => { + 'name' => 'arg3', + 'type' => '1128' + }, + '5' => { + 'name' => 'arg4', + 'type' => '1128' + }, + '6' => { + 'name' => 'arg5', + 'offset' => '0', + 'type' => '1128' + } + }, + 'Reg' => { + '0' => 'rdi', + '1' => 'rsi', + '2' => 'rdx', + '3' => 'rcx', + '4' => 'r8', + '5' => 'r9' + }, + 'Return' => '67', + 'ShortName' => 'xencall5', + 'Source' => 'core.c', + 'SourceLine' => '153' + }, + '1764' => { + 'Header' => 'xencall.h', + 'Param' => { + '0' => { + 'name' => 'xcall', + 'type' => '1758' + }, + '1' => { + 'name' => 'op', + 'type' => '74' + }, + '2' => { + 'name' => 'arg1', + 'type' => '1128' + }, + '3' => { + 'name' => 'arg2', + 'type' => '1128' + }, + '4' => { + 'name' => 'arg3', + 'type' => '1128' + }, + '5' => { + 'name' => 'arg4', + 'type' => '1128' + } + }, + 'Reg' => { + '0' => 'rdi', + '1' => 'rsi', + '2' => 'rdx', + '3' => 'rcx', + '4' => 'r8', + '5' => 'r9' + }, + 'Return' => '67', + 'ShortName' => 'xencall4', + 'Source' => 'core.c', + 'SourceLine' => '141' + }, + '1928' => { + 'Header' => 'xencall.h', + 'Param' => { + '0' => { + 'name' => 'xcall', + 'type' => '1758' + }, + '1' => { + 'name' => 'op', + 'type' => '74' + }, + '2' => { + 'name' => 'arg1', + 'type' => '1128' + }, + '3' => { + 'name' => 'arg2', + 'type' => '1128' + }, + '4' => { + 'name' => 'arg3', + 'type' => '1128' + } + }, + 'Reg' => { + '0' => 'rdi', + '1' => 'rsi', + '2' => 'rdx', + '3' => 'rcx', + '4' => 'r8' + }, + 'Return' => '67', + 'ShortName' => 'xencall3', + 'Source' => 'core.c', + 'SourceLine' => '130' + }, + '2077' => { + 'Header' => 'xencall.h', + 'Param' => { + '0' => { + 'name' => 'xcall', + 'type' => '1758' + }, + '1' => { + 'name' => 'op', + 'type' => '74' + }, + '2' => { + 'name' => 'arg1', + 'type' => '1128' + }, + '3' => { + 'name' => 'arg2', + 'type' => '1128' + } + }, + 'Reg' => { + '0' => 'rdi', + '1' => 'rsi', + '2' => 'rdx', + '3' => 'rcx' + }, + 'Return' => '67', + 'ShortName' => 'xencall2', + 'Source' => 'core.c', + 'SourceLine' => '119' + }, + '2211' => { + 'Header' => 'xencall.h', + 'Param' => { + '0' => { + 'name' => 'xcall', + 'type' => '1758' + }, + '1' => { + 'name' => 'op', + 'type' => '74' + }, + '2' => { + 'name' => 'arg1', + 'type' => '1128' + } + }, + 'Reg' => { + '0' => 'rdi', + '1' => 'rsi', + '2' => 'rdx' + }, + 'Return' => '67', + 'ShortName' => 'xencall1', + 'Source' => 'core.c', + 'SourceLine' => '108' + }, + '2330' => { + 'Header' => 'xencall.h', + 'Param' => { + '0' => { + 'name' => 'xcall', + 'type' => '1758' + }, + '1' => { + 'name' => 'op', + 'type' => '74' + } + }, + 'Reg' => { + '0' => 'rdi', + '1' => 'rsi' + }, + 'Return' => '67', + 'ShortName' => 'xencall0', + 'Source' => 'core.c', + 'SourceLine' => '99' + }, + '2434' => { + 'Header' => 'xencall.h', + 'Param' => { + '0' => { + 'name' => 'xcall', + 'type' => '1758' + } + }, + 'Reg' => { + '0' => 'rdi' + }, + 'Return' => '67', + 'ShortName' => 'xencall_fd', + 'Source' => 'core.c', + 'SourceLine' => '94' + }, + '2481' => { + 'Header' => 'xencall.h', + 'Param' => { + '0' => { + 'name' => 'xcall', + 'type' => '1758' + } + }, + 'Reg' => { + '0' => 'rdi' + }, + 'Return' => '67', + 'ShortName' => 'xencall_close', + 'Source' => 'core.c', + 'SourceLine' => '79' + }, + '2649' => { + 'Header' => 'xencall.h', + 'Param' => { + '0' => { + 'name' => 'logger', + 'type' => '1558' + }, + '1' => { + 'name' => 'open_flags', + 'type' => '74' + } + }, + 'Reg' => { + '0' => 'rdi', + '1' => 'rsi' + }, + 'Return' => '1758', + 'ShortName' => 'xencall_open', + 'Source' => 'core.c', + 'SourceLine' => '34' + }, + '5101' => { + 'Header' => 'xencall.h', + 'Param' => { + '0' => { + 'name' => 'xcall', + 'type' => '1758' + }, + '1' => { + 'name' => 'p', + 'type' => '152' + } + }, + 'Reg' => { + '0' => 'rdi', + '1' => 'rsi' + }, + 'Return' => '1', + 'ShortName' => 'xencall_free_buffer', + 'Source' => 'buffer.c', + 'SourceLine' => '172' + }, + '5216' => { + 'Header' => 'xencall.h', + 'Param' => { + '0' => { + 'name' => 'xcall', + 'type' => '1758' + }, + '1' => { + 'name' => 'size', + 'type' => '49' + } + }, + 'Reg' => { + '0' => 'rdi', + '1' => 'rsi' + }, + 'Return' => '152', + 'ShortName' => 'xencall_alloc_buffer', + 'Source' => 'buffer.c', + 'SourceLine' => '157' + }, + '5358' => { + 'Header' => 'xencall.h', + 'Param' => { + '0' => { + 'name' => 'xcall', + 'type' => '1758' + }, + '1' => { + 'name' => 'p', + 'type' => '152' + }, + '2' => { + 'name' => 'nr_pages', + 'type' => '49' + } + }, + 'Reg' => { + '0' => 'rdi', + '1' => 'rsi', + '2' => 'rdx' + }, + 'Return' => '1', + 'ShortName' => 'xencall_free_buffer_pages', + 'Source' => 'buffer.c', + 'SourceLine' => '143' + }, + '5499' => { + 'Header' => 'xencall.h', + 'Param' => { + '0' => { + 'name' => 'xcall', + 'type' => '1758' + }, + '1' => { + 'name' => 'nr_pages', + 'type' => '49' + } + }, + 'Reg' => { + '0' => 'rdi', + '1' => 'rsi' + }, + 'Return' => '152', + 'ShortName' => 'xencall_alloc_buffer_pages', + 'Source' => 'buffer.c', + 'SourceLine' => '128' + }, + '8185' => { + 'Header' => 'xencall.h', + 'Param' => { + '0' => { + 'name' => 'xcall', + 'type' => '1758' + } + }, + 'Reg' => { + '0' => 'rdi' + }, + 'Return' => '67', + 'ShortName' => 'xencall_buffers_never_fault', + 'Source' => 'linux.c', + 'SourceLine' => '176' + } + }, + 'SymbolVersion' => { + '_ITM_deregisterTMCloneTable' => 'xtl_logger_destroy@@VERS_1.0', + '_ITM_registerTMCloneTable' => 'xtl_logger_destroy@@VERS_1.0', + '_Jv_RegisterClasses' => 'xtl_logger_destroy@@VERS_1.0', + '__gmon_start__' => 'xtl_logger_destroy@@VERS_1.0', + 'xencall0' => 'xencall0@@VERS_1.0', + 'xencall1' => 'xencall1@@VERS_1.0', + 'xencall2' => 'xencall2@@VERS_1.0', + 'xencall3' => 'xencall3@@VERS_1.0', + 'xencall4' => 'xencall4@@VERS_1.0', + 'xencall5' => 'xencall5@@VERS_1.0', + 'xencall_alloc_buffer' => 'xencall_alloc_buffer@@VERS_1.0', + 'xencall_alloc_buffer_pages' => 'xencall_alloc_buffer_pages@@VERS_1.0', + 'xencall_buffers_never_fault' => 'xencall_buffers_never_fault@@VERS_1.1', + 'xencall_close' => 'xencall_close@@VERS_1.0', + 'xencall_fd' => 'xencall_fd@@VERS_1.2', + 'xencall_free_buffer' => 'xencall_free_buffer@@VERS_1.0', + 'xencall_free_buffer_pages' => 'xencall_free_buffer_pages@@VERS_1.0', + 'xencall_open' => 'xencall_open@@VERS_1.0' + }, + 'Symbols' => { + 'libxencall.so.1.2' => { + 'xencall0@@VERS_1.0' => 1, + 'xencall1@@VERS_1.0' => 1, + 'xencall2@@VERS_1.0' => 1, + 'xencall3@@VERS_1.0' => 1, + 'xencall4@@VERS_1.0' => 1, + 'xencall5@@VERS_1.0' => 1, + 'xencall_alloc_buffer@@VERS_1.0' => 1, + 'xencall_alloc_buffer_pages@@VERS_1.0' => 1, + 'xencall_buffers_never_fault@@VERS_1.1' => 1, + 'xencall_close@@VERS_1.0' => 1, + 'xencall_fd@@VERS_1.2' => 1, + 'xencall_free_buffer@@VERS_1.0' => 1, + 'xencall_free_buffer_pages@@VERS_1.0' => 1, + 'xencall_open@@VERS_1.0' => 1 + } + }, + 'Target' => 'unix', + 'TypeInfo' => { + '1' => { + 'Name' => 'void', + 'Type' => 'Intrinsic' + }, + '102' => { + 'Name' => 'unsigned short', + 'Size' => '2', + 'Type' => 'Intrinsic' + }, + '1046' => { + 'BaseType' => '560', + 'Name' => 'struct __va_list_tag*', + 'Size' => '8', + 'Type' => 'Pointer' + }, + '1052' => { + 'Name' => 'void(*)(struct xentoollog_logger*, xentoollog_level, int, char const*, char const*, struct __va_list_tag*)', + 'Param' => { + '0' => { + 'type' => '1558' + }, + '1' => { + 'type' => '933' + }, + '2' => { + 'type' => '67' + }, + '3' => { + 'type' => '768' + }, + '4' => { + 'type' => '768' + }, + '5' => { + 'type' => '1046' + } + }, + 'Return' => '1', + 'Size' => '8', + 'Type' => 'FuncPtr' + }, + '1094' => { + 'Name' => 'void(*)(struct xentoollog_logger*, char const*, char const*, int, unsigned long, unsigned long)', + 'Param' => { + '0' => { + 'type' => '1558' + }, + '1' => { + 'type' => '768' + }, + '2' => { + 'type' => '768' + }, + '3' => { + 'type' => '67' + }, + '4' => { + 'type' => '60' + }, + '5' => { + 'type' => '60' + } + }, + 'Return' => '1', + 'Size' => '8', + 'Type' => 'FuncPtr' + }, + '1111' => { + 'Name' => 'void(*)(struct xentoollog_logger*)', + 'Param' => { + '0' => { + 'type' => '1558' + } + }, + 'Return' => '1', + 'Size' => '8', + 'Type' => 'FuncPtr' + }, + '1117' => { + 'BaseType' => '102', + 'Header' => 'stdint.h', + 'Line' => '49', + 'Name' => 'uint16_t', + 'Size' => '2', + 'Type' => 'Typedef' + }, + '1128' => { + 'BaseType' => '60', + 'Header' => 'stdint.h', + 'Line' => '55', + 'Name' => 'uint64_t', + 'Size' => '8', + 'Type' => 'Typedef' + }, + '1139' => { + 'BaseType' => '1117', + 'Header' => 'xen.h', + 'Line' => '623', + 'Name' => 'domid_t', + 'Size' => '2', + 'Type' => 'Typedef' + }, + '1151' => { + 'BaseType' => '1162', + 'Header' => 'xentoolcore_internal.h', + 'Line' => '83', + 'Name' => 'Xentoolcore__Active_Handle', + 'Size' => '24', + 'Type' => 'Typedef' + }, + '1162' => { + 'Header' => 'xentoolcore_internal.h', + 'Line' => '88', + 'Memb' => { + '0' => { + 'name' => 'restrict_callback', + 'offset' => '0', + 'type' => '1275' + }, + '1' => { + 'name' => 'entry', + 'offset' => '8', + 'type' => '1236' + } + }, + 'Name' => 'struct Xentoolcore__Active_Handle', + 'PrivateABI' => 1, + 'Size' => '24', + 'Type' => 'Struct' + }, + '1199' => { + 'BaseType' => '1210', + 'Header' => 'xentoolcore_internal.h', + 'Line' => '85', + 'Name' => 'Xentoolcore__Restrict_Callback', + 'Type' => 'Typedef' + }, + '1210' => { + 'Name' => 'int()(Xentoolcore__Active_Handle*, domid_t)', + 'Param' => { + '0' => { + 'type' => '1230' + }, + '1' => { + 'type' => '1139' + } + }, + 'Return' => '67', + 'Type' => 'Func' + }, + '1230' => { + 'BaseType' => '1151', + 'Name' => 'Xentoolcore__Active_Handle*', + 'Size' => '8', + 'Type' => 'Pointer' + }, + '1236' => { + 'Header' => 'xentoolcore_internal.h', + 'Line' => '90', + 'Memb' => { + '0' => { + 'name' => 'le_next', + 'offset' => '0', + 'type' => '1230' + }, + '1' => { + 'name' => 'le_prev', + 'offset' => '8', + 'type' => '1269' + } + }, + 'Name' => 'anon-struct-xentoolcore_internal.h-90', + 'PrivateABI' => 1, + 'Size' => '16', + 'Type' => 'Struct' + }, + '1269' => { + 'BaseType' => '1230', + 'Name' => 'Xentoolcore__Active_Handle**', + 'Size' => '8', + 'Type' => 'Pointer' + }, + '1275' => { + 'BaseType' => '1199', + 'Name' => 'Xentoolcore__Restrict_Callback*', + 'Size' => '8', + 'Type' => 'Pointer' + }, + '1281' => { + 'BaseType' => '1292', + 'Header' => 'xencall.h', + 'Line' => '31', + 'Name' => 'xencall_handle', + 'Size' => '128', + 'Type' => 'Typedef' + }, + '1292' => { + 'Header' => 'private.h', + 'Line' => '20', + 'Memb' => { + '0' => { + 'name' => 'logger', + 'offset' => '0', + 'type' => '1558' + }, + '1' => { + 'name' => 'logger_tofree', + 'offset' => '8', + 'type' => '1558' + }, + '10' => { + 'name' => 'buffer_current_allocations', + 'offset' => '104', + 'type' => '67' + }, + '11' => { + 'name' => 'buffer_maximum_allocations', + 'offset' => '108', + 'type' => '67' + }, + '12' => { + 'name' => 'buffer_cache_hits', + 'offset' => '112', + 'type' => '67' + }, + '13' => { + 'name' => 'buffer_cache_misses', + 'offset' => '116', + 'type' => '67' + }, + '14' => { + 'name' => 'buffer_cache_toobig', + 'offset' => '120', + 'type' => '67' + }, + '2' => { + 'name' => 'flags', + 'offset' => '16', + 'type' => '74' + }, + '3' => { + 'name' => 'fd', + 'offset' => '20', + 'type' => '67' + }, + '4' => { + 'name' => 'buf_fd', + 'offset' => '24', + 'type' => '67' + }, + '5' => { + 'name' => 'tc_ah', + 'offset' => '32', + 'type' => '1151' + }, + '6' => { + 'name' => 'buffer_cache_nr', + 'offset' => '56', + 'type' => '67' + }, + '7' => { + 'name' => 'buffer_cache', + 'offset' => '64', + 'type' => '1564' + }, + '8' => { + 'name' => 'buffer_total_allocations', + 'offset' => '96', + 'type' => '67' + }, + '9' => { + 'name' => 'buffer_total_releases', + 'offset' => '100', + 'type' => '67' + } + }, + 'Name' => 'struct xencall_handle', + 'PrivateABI' => 1, + 'Size' => '128', + 'Type' => 'Struct' + }, + '152' => { + 'BaseType' => '1', + 'Name' => 'void*', + 'Size' => '8', + 'Type' => 'Pointer' + }, + '1558' => { + 'BaseType' => '944', + 'Name' => 'xentoollog_logger*', + 'Size' => '8', + 'Type' => 'Pointer' + }, + '1564' => { + 'BaseType' => '152', + 'Name' => 'void*[4]', + 'Size' => '32', + 'Type' => 'Array' + }, + '160' => { + 'Name' => 'char', + 'Size' => '1', + 'Type' => 'Intrinsic' + }, + '167' => { + 'BaseType' => '160', + 'Name' => 'char const', + 'Size' => '1', + 'Type' => 'Const' + }, + '1758' => { + 'BaseType' => '1281', + 'Name' => 'xencall_handle*', + 'Size' => '8', + 'Type' => 'Pointer' + }, + '49' => { + 'BaseType' => '60', + 'Header' => 'stddef.h', + 'Line' => '216', + 'Name' => 'size_t', + 'Size' => '8', + 'Type' => 'Typedef' + }, + '560' => { + 'Memb' => { + '0' => { + 'name' => 'gp_offset', + 'offset' => '0', + 'type' => '74' + }, + '1' => { + 'name' => 'fp_offset', + 'offset' => '4', + 'type' => '74' + }, + '2' => { + 'name' => 'overflow_arg_area', + 'offset' => '8', + 'type' => '152' + }, + '3' => { + 'name' => 'reg_save_area', + 'offset' => '16', + 'type' => '152' + } + }, + 'Name' => 'struct __va_list_tag', + 'PrivateABI' => 1, + 'Size' => '24', + 'Type' => 'Struct' + }, + '60' => { + 'Name' => 'unsigned long', + 'Size' => '8', + 'Type' => 'Intrinsic' + }, + '67' => { + 'Name' => 'int', + 'Size' => '4', + 'Type' => 'Intrinsic' + }, + '74' => { + 'Name' => 'unsigned int', + 'Size' => '4', + 'Type' => 'Intrinsic' + }, + '768' => { + 'BaseType' => '167', + 'Name' => 'char const*', + 'Size' => '8', + 'Type' => 'Pointer' + }, + '850' => { + 'Header' => 'xentoollog.h', + 'Line' => '30', + 'Memb' => { + '0' => { + 'name' => 'XTL_NONE', + 'value' => '0' + }, + '1' => { + 'name' => 'XTL_DEBUG', + 'value' => '1' + }, + '10' => { + 'name' => 'XTL_NUM_LEVELS', + 'value' => '10' + }, + '2' => { + 'name' => 'XTL_VERBOSE', + 'value' => '2' + }, + '3' => { + 'name' => 'XTL_DETAIL', + 'value' => '3' + }, + '4' => { + 'name' => 'XTL_PROGRESS', + 'value' => '4' + }, + '5' => { + 'name' => 'XTL_INFO', + 'value' => '5' + }, + '6' => { + 'name' => 'XTL_NOTICE', + 'value' => '6' + }, + '7' => { + 'name' => 'XTL_WARN', + 'value' => '7' + }, + '8' => { + 'name' => 'XTL_ERROR', + 'value' => '8' + }, + '9' => { + 'name' => 'XTL_CRITICAL', + 'value' => '9' + } + }, + 'Name' => 'enum xentoollog_level', + 'PrivateABI' => 1, + 'Size' => '4', + 'Type' => 'Enum' + }, + '933' => { + 'BaseType' => '850', + 'Header' => 'xentoollog.h', + 'Line' => '42', + 'Name' => 'xentoollog_level', + 'Size' => '4', + 'Type' => 'Typedef' + }, + '944' => { + 'BaseType' => '955', + 'Header' => 'xentoollog.h', + 'Line' => '44', + 'Name' => 'xentoollog_logger', + 'Size' => '24', + 'Type' => 'Typedef' + }, + '955' => { + 'Header' => 'xentoollog.h', + 'Line' => '45', + 'Memb' => { + '0' => { + 'name' => 'vmessage', + 'offset' => '0', + 'type' => '1052' + }, + '1' => { + 'name' => 'progress', + 'offset' => '8', + 'type' => '1094' + }, + '2' => { + 'name' => 'destroy', + 'offset' => '16', + 'type' => '1111' + } + }, + 'Name' => 'struct xentoollog_logger', + 'PrivateABI' => 1, + 'Size' => '24', + 'Type' => 'Struct' + } + }, + 'UndefinedSymbols' => { + 'libxencall.so.1.2' => { + '_ITM_deregisterTMCloneTable' => 0, + '_ITM_registerTMCloneTable' => 0, + '_Jv_RegisterClasses' => 0, + '__cxa_finalize@GLIBC_2.2.5' => 0, + '__errno_location@GLIBC_2.2.5' => 0, + '__gmon_start__' => 0, + 'close@GLIBC_2.2.5' => 0, + 'free@GLIBC_2.2.5' => 0, + 'ioctl@GLIBC_2.2.5' => 0, + 'madvise@GLIBC_2.2.5' => 0, + 'malloc@GLIBC_2.2.5' => 0, + 'memset@GLIBC_2.2.5' => 0, + 'mmap@GLIBC_2.2.5' => 0, + 'munmap@GLIBC_2.2.5' => 0, + 'open@GLIBC_2.2.5' => 0, + 'pthread_mutex_lock@GLIBC_2.2.5' => 0, + 'pthread_mutex_unlock@GLIBC_2.2.5' => 0, + 'stderr@GLIBC_2.2.5' => 0, + 'xentoolcore__deregister_active_handle@VERS_1.0' => 0, + 'xentoolcore__register_active_handle@VERS_1.0' => 0, + 'xentoolcore__restrict_by_dup2_null@VERS_1.0' => 0, + 'xtl_createlogger_stdiostream@VERS_1.0' => 0, + 'xtl_log@VERS_1.0' => 0, + 'xtl_logger_destroy@VERS_1.0' => 0 + } + }, + 'WordSize' => '8' + };
tools/libs/abi/libxendevicemodel.so.1.3-x86_64-abi.dump new file +1491 -0
1,491 lines not on this page · raw message
tools/libs/abi/libxenevtchn.so.1.1-x86_64-abi.dump new file +719 -0
585 lines not on this page · raw message
tools/libs/abi/libxenforeignmemory.so.1.3-x86_64-abi.dump new file +847 -0
847 lines not on this page · raw message
tools/libs/abi/libxengnttab.so.1.2-x86_64-abi.dump new file +1199 -0
1,199 lines not on this page · raw message
tools/libs/abi/libxenhypfs.so.1.0-x86_64-abi.dump new file +597 -0
597 lines not on this page · raw message
tools/libs/abi/libxenstore.so.3.0.3-x86_64-abi.dump new file +1711 -0
1,711 lines not on this page · raw message
tools/libs/abi/libxentoolcore.so.1.0-x86_64-abi.dump new file +239 -0
239 lines not on this page · raw message
tools/libs/abi/libxentoollog.so.1.0-x86_64-abi.dump new file +882 -0
882 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.11.0
Part of the diff is not shown here. View the raw message.
Re: [PATCH 2/3] tools/libs: Stash the 4.14 API/ABIs for the stable libraries
Andrew Cooper writes ("[PATCH 2/3] tools/libs: Stash the 4.14 API/ABIs for the stable libraries"):
Quoted 6 lines
These dumps were produced from the RELEASE-4.14.0 tag, with the abi-dumper tooling backported from staging.
For each stable library, add a
PKG_OLD_ABIvariable pointing at the 4.14 ABI.No functional change.
I would like a nother set of eyes to look at this, so Wei, I would appreciate if you would do the maintainer review.
Thanks,
Ian.
Re: [PATCH 2/3] tools/libs: Stash the 4.14 API/ABIs for the stable libraries
In reply to Andrew CooperQuoted 48 lines · Andrew Cooper
These dumps were produced from the RELEASE-4.14.0 tag, with the abi-dumper tooling backported from staging.
For each stable library, add a
PKG_OLD_ABIvariable pointing at the 4.14 ABI.No functional change.
Signed-off-by Andrew Cooper <[email protected]>---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
CC: Juergen Gross <[email protected]>--- tools/libs/abi/libxencall.so.1.2-x86_64-abi.dump | 924 +++++++++++ .../abi/libxendevicemodel.so.1.3-x86_64-abi.dump | 1491 +++++++++++++++++ tools/libs/abi/libxenevtchn.so.1.1-x86_64-abi.dump | 719 ++++++++ .../abi/libxenforeignmemory.so.1.3-x86_64-abi.dump | 847 ++++++++++ tools/libs/abi/libxengnttab.so.1.2-x86_64-abi.dump | 1199 ++++++++++++++ tools/libs/abi/libxenhypfs.so.1.0-x86_64-abi.dump | 597 +++++++ .../libs/abi/libxenstore.so.3.0.3-x86_64-abi.dump | 1711 ++++++++++++++++++++ .../libs/abi/libxentoolcore.so.1.0-x86_64-abi.dump | 239 +++ .../libs/abi/libxentoollog.so.1.0-x86_64-abi.dump | 882 ++++++++++ tools/libs/call/Makefile | 2 + tools/libs/devicemodel/Makefile | 2 + tools/libs/evtchn/Makefile | 2 + tools/libs/foreignmemory/Makefile | 2 + tools/libs/gnttab/Makefile | 2 + tools/libs/hypfs/Makefile | 2 + tools/libs/store/Makefile | 2 + tools/libs/toolcore/Makefile | 2 + tools/libs/toollog/Makefile | 2 + 18 files changed, 8627 insertions(+)create mode 100644
tools/libs/abi/libxencall.so.1.2-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxendevicemodel.so.1.3-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenevtchn.so.1.1-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenforeignmemory.so.1.3-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxengnttab.so.1.2-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenhypfs.so.1.0-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenstore.so.3.0.3-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxentoolcore.so.1.0-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxentoollog.so.1.0-x86_64-abi.dumptools/libs/call/Makefile +0
-0
tools/libs/call/Makefile SRCS-$(CONFIG_SunOS) += solaris.c · line 15
Quoted 5 lines
tools/libs/call/Makefile +2
-0@@ -11,4 +11,6 @@ SRCS-$(CONFIG_SunOS) += solaris.c SRCS-$(CONFIG_NetBSD) += netbsd.c SRCS-$(CONFIG_MiniOS) += minios.c +PKG_OLD_ABI = ../abi/libxen$(LIBNAME).so.1.2-$(XEN_TARGET_ARCH)-abi.dump +
Any reason you don't add
PKG_OLD_ABI = ../abi/libxen$(LIBNAME).so.$(MAJOR).$(MINOR)-$(XEN_TARGET_ARCH)-abi.dump
to tools/libs/libs.mk, maybe with some way to override/disable the setting (e.g. by setting a different value for PKG_OLD_ABI just after including $(XEN_ROOT)/tools/libs/libs.mk) ?
You could even disable the ABI check if there is no map file provided, which will be the case for all the unstable libs.
This would the need to touch all the stable library Makefiles.
Juergen
Re: [PATCH 2/3] tools/libs: Stash the 4.14 API/ABIs for the stable libraries
Quoted 65 lines · Jürgen Groß
Quoted 56 lines · Andrew Cooper
These dumps were produced from the RELEASE-4.14.0 tag, with the abi-dumper
tooling backported from staging.For each stable library, add a
PKG_OLD_ABIvariable pointing at the 4.14 ABI.No functional change.
Signed-off-by Andrew Cooper <[email protected]>---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
CC: Juergen Gross <[email protected]>
---
tools/libs/abi/libxencall.so.1.2-x86_64-abi.dump | 924 +++++++++++ .../abi/libxendevicemodel.so.1.3-x86_64-abi.dump | 1491
+++++++++++++++++tools/libs/abi/libxenevtchn.so.1.1-x86_64-abi.dump | 719 ++++++++ .../abi/libxenforeignmemory.so.1.3-x86_64-abi.dump | 847 ++++++++++ tools/libs/abi/libxengnttab.so.1.2-x86_64-abi.dump | 1199++++++++++++++
tools/libs/abi/libxenhypfs.so.1.0-x86_64-abi.dump | 597 +++++++ .../libs/abi/libxenstore.so.3.0.3-x86_64-abi.dump | 1711
++++++++++++++++++++
.../libs/abi/libxentoolcore.so.1.0-x86_64-abi.dump | 239 +++ .../libs/abi/libxentoollog.so.1.0-x86_64-abi.dump | 882 ++++++++++ tools/libs/call/Makefile | 2 + tools/libs/devicemodel/Makefile | 2 + tools/libs/evtchn/Makefile | 2 + tools/libs/foreignmemory/Makefile | 2 + tools/libs/gnttab/Makefile | 2 + tools/libs/hypfs/Makefile | 2 + tools/libs/store/Makefile | 2 + tools/libs/toolcore/Makefile | 2 + tools/libs/toollog/Makefile | 2 +18 files changed, 8627 insertions(+)create mode 100644
tools/libs/abi/libxencall.so.1.2-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxendevicemodel.so.1.3-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenevtchn.so.1.1-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenforeignmemory.so.1.3-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxengnttab.so.1.2-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenhypfs.so.1.0-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenstore.so.3.0.3-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxentoolcore.so.1.0-x86_64-abi.dump
create mode 100644tools/libs/abi/libxentoollog.so.1.0-x86_64-abi.dumptools/libs/call/Makefile +0
-0@@ -11,4 +11,6 @@ SRCS-$(CONFIG_SunOS) += solaris.cQuoted 5 lines
SRCS-$(CONFIG_NetBSD) +=
netbsd.cSRCS-$(CONFIG_MiniOS) +=minios.c
+PKG_OLD_ABI = ../abi/libxen$(LIBNAME).so.1.2-$(XEN_TARGET_ARCH)-abi.dump +Any reason you don't add
Quoted 6 lines
PKG_OLD_ABI= ../abi/libxen$(LIBNAME).so.$(MAJOR).$(MINOR)-$(XEN_TARGET_ARCH)-abi.dumpto
tools/libs/libs.mk, maybe with some way to override/disable the setting (e.g. by setting a different value forPKG_OLD_ABIjust after including $(XEN_ROOT)/tools/libs/libs.mk) ?
The problem is with libraries which have changed in staging, where $MINOR differs by 1. I chose not to wildcard in ../abi/ to reduce the chance of picking up the wrong ABI to check against.
Something needs to be a statement of which is the appropriate $MINOR to use, and it shouldn't be the change to bump the soname, as that is a change we want to be tested.
(That said, I'm actually struggling to get abi-compliance-checker to catch all the things it ought to catch. Its better than nothing, but has some shortcomings.)
Quoted 2 lines
You could even disable the ABI check if there is no map file provided, which will be the case for all the unstable libs.
That would be nice, but I don't see any way to do it.
~Andrew
Re: [PATCH 2/3] tools/libs: Stash the 4.14 API/ABIs for the stable libraries
Quoted 73 lines · Andrew Cooper
Quoted 65 lines · Jürgen Groß
Quoted 56 lines · Andrew Cooper
These dumps were produced from the RELEASE-4.14.0 tag, with the abi-dumper
tooling backported from staging.For each stable library, add a
PKG_OLD_ABIvariable pointing at the 4.14 ABI.No functional change.
Signed-off-by Andrew Cooper <[email protected]>---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
CC: Juergen Gross <[email protected]>
---
tools/libs/abi/libxencall.so.1.2-x86_64-abi.dump | 924 +++++++++++ .../abi/libxendevicemodel.so.1.3-x86_64-abi.dump | 1491
+++++++++++++++++tools/libs/abi/libxenevtchn.so.1.1-x86_64-abi.dump | 719 ++++++++ .../abi/libxenforeignmemory.so.1.3-x86_64-abi.dump | 847 ++++++++++ tools/libs/abi/libxengnttab.so.1.2-x86_64-abi.dump | 1199++++++++++++++
tools/libs/abi/libxenhypfs.so.1.0-x86_64-abi.dump | 597 +++++++ .../libs/abi/libxenstore.so.3.0.3-x86_64-abi.dump | 1711
++++++++++++++++++++
.../libs/abi/libxentoolcore.so.1.0-x86_64-abi.dump | 239 +++ .../libs/abi/libxentoollog.so.1.0-x86_64-abi.dump | 882 ++++++++++ tools/libs/call/Makefile | 2 + tools/libs/devicemodel/Makefile | 2 + tools/libs/evtchn/Makefile | 2 + tools/libs/foreignmemory/Makefile | 2 + tools/libs/gnttab/Makefile | 2 + tools/libs/hypfs/Makefile | 2 + tools/libs/store/Makefile | 2 + tools/libs/toolcore/Makefile | 2 + tools/libs/toollog/Makefile | 2 +18 files changed, 8627 insertions(+)create mode 100644
tools/libs/abi/libxencall.so.1.2-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxendevicemodel.so.1.3-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenevtchn.so.1.1-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenforeignmemory.so.1.3-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxengnttab.so.1.2-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenhypfs.so.1.0-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenstore.so.3.0.3-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxentoolcore.so.1.0-x86_64-abi.dump
create mode 100644tools/libs/abi/libxentoollog.so.1.0-x86_64-abi.dumptools/libs/call/Makefile +0
-0@@ -11,4 +11,6 @@ SRCS-$(CONFIG_SunOS) += solaris.cQuoted 5 lines
SRCS-$(CONFIG_NetBSD) +=
netbsd.cSRCS-$(CONFIG_MiniOS) +=minios.c
+PKG_OLD_ABI = ../abi/libxen$(LIBNAME).so.1.2-$(XEN_TARGET_ARCH)-abi.dump +Any reason you don't add
Quoted 6 lines
PKG_OLD_ABI= ../abi/libxen$(LIBNAME).so.$(MAJOR).$(MINOR)-$(XEN_TARGET_ARCH)-abi.dumpto
tools/libs/libs.mk, maybe with some way to override/disable the setting (e.g. by setting a different value forPKG_OLD_ABIjust after including $(XEN_ROOT)/tools/libs/libs.mk) ?
Quoted 7 lines
The problem is with libraries which have changed in staging, where $MINOR differs by 1. I chose not to wildcard in ../abi/ to reduce the chance of picking up the wrong ABI to check against.
Something needs to be a statement of which is the appropriate $MINOR to use, and it shouldn't be the change to bump the soname, as that is a change we want to be tested.
Introduce OLD_MINOR or ABI_OLD_MINOR?
Jan
Re: [PATCH 2/3] tools/libs: Stash the 4.14 API/ABIs for the stable libraries
Quoted 71 lines · Jan Beulich
Quoted 70 lines · Andrew Cooper
Quoted 69 lines · Jürgen Groß
Quoted 55 lines · Andrew Cooper
These dumps were produced from the RELEASE-4.14.0 tag, with the abi-dumper
tooling backported from staging.For each stable library, add a
PKG_OLD_ABIvariable pointing at the 4.14 ABI.No functional change.
Signed-off-by Andrew Cooper <[email protected]>---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
CC: Juergen Gross <[email protected]>
---
tools/libs/abi/libxencall.so.1.2-x86_64-abi.dump | 924 +++++++++++ .../abi/libxendevicemodel.so.1.3-x86_64-abi.dump | 1491
+++++++++++++++++tools/libs/abi/libxenevtchn.so.1.1-x86_64-abi.dump | 719 ++++++++ .../abi/libxenforeignmemory.so.1.3-x86_64-abi.dump | 847 ++++++++++ tools/libs/abi/libxengnttab.so.1.2-x86_64-abi.dump | 1199++++++++++++++
tools/libs/abi/libxenhypfs.so.1.0-x86_64-abi.dump | 597 +++++++ .../libs/abi/libxenstore.so.3.0.3-x86_64-abi.dump | 1711
++++++++++++++++++++
.../libs/abi/libxentoolcore.so.1.0-x86_64-abi.dump | 239 +++ .../libs/abi/libxentoollog.so.1.0-x86_64-abi.dump | 882 ++++++++++ tools/libs/call/Makefile | 2 + tools/libs/devicemodel/Makefile | 2 + tools/libs/evtchn/Makefile | 2 + tools/libs/foreignmemory/Makefile | 2 + tools/libs/gnttab/Makefile | 2 + tools/libs/hypfs/Makefile | 2 + tools/libs/store/Makefile | 2 + tools/libs/toolcore/Makefile | 2 + tools/libs/toollog/Makefile | 2 +18 files changed, 8627 insertions(+)create mode 100644
tools/libs/abi/libxencall.so.1.2-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxendevicemodel.so.1.3-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenevtchn.so.1.1-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenforeignmemory.so.1.3-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxengnttab.so.1.2-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenhypfs.so.1.0-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenstore.so.3.0.3-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxentoolcore.so.1.0-x86_64-abi.dump
create mode 100644tools/libs/abi/libxentoollog.so.1.0-x86_64-abi.dumptools/libs/call/Makefile +0
-0@@ -11,4 +11,6 @@ SRCS-$(CONFIG_SunOS) += solaris.cQuoted 5 lines
SRCS-$(CONFIG_NetBSD) +=
netbsd.cSRCS-$(CONFIG_MiniOS) +=minios.c
+PKG_OLD_ABI = ../abi/libxen$(LIBNAME).so.1.2-$(XEN_TARGET_ARCH)-abi.dump +Any reason you don't add
PKG_OLD_ABI= ../abi/libxen$(LIBNAME).so.$(MAJOR).$(MINOR)-$(XEN_TARGET_ARCH)-abi.dumpto
tools/libs/libs.mk, maybe with some way to override/disable the setting (e.g. by setting a different value forPKG_OLD_ABIjust after including $(XEN_ROOT)/tools/libs/libs.mk) ?
Quoted 8 lines
Quoted 7 lines
The problem is with libraries which have changed in staging, where $MINOR differs by 1. I chose not to wildcard in ../abi/ to reduce the chance of picking up the wrong ABI to check against.
Something needs to be a statement of which is the appropriate $MINOR to use, and it shouldn't be the change to bump the soname, as that is a change we want to be tested.
Introduce
OLD_MINORorABI_OLD_MINOR?
That's not bisectable if it isn't in the changeset which bumps the soname.
~Andrew
Re: [PATCH 2/3] tools/libs: Stash the 4.14 API/ABIs for the stable libraries
Quoted 76 lines · Andrew Cooper
Quoted 75 lines · Jan Beulich
Quoted 74 lines · Andrew Cooper
Quoted 63 lines · Jürgen Groß
Quoted 55 lines · Andrew Cooper
These dumps were produced from the RELEASE-4.14.0 tag, with the abi-dumper
tooling backported from staging.For each stable library, add a
PKG_OLD_ABIvariable pointing at the 4.14 ABI.No functional change.
Signed-off-by Andrew Cooper <[email protected]>---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
CC: Juergen Gross <[email protected]>
---
tools/libs/abi/libxencall.so.1.2-x86_64-abi.dump | 924 +++++++++++ .../abi/libxendevicemodel.so.1.3-x86_64-abi.dump | 1491
+++++++++++++++++tools/libs/abi/libxenevtchn.so.1.1-x86_64-abi.dump | 719 ++++++++ .../abi/libxenforeignmemory.so.1.3-x86_64-abi.dump | 847 ++++++++++ tools/libs/abi/libxengnttab.so.1.2-x86_64-abi.dump | 1199++++++++++++++
tools/libs/abi/libxenhypfs.so.1.0-x86_64-abi.dump | 597 +++++++ .../libs/abi/libxenstore.so.3.0.3-x86_64-abi.dump | 1711
++++++++++++++++++++
.../libs/abi/libxentoolcore.so.1.0-x86_64-abi.dump | 239 +++ .../libs/abi/libxentoollog.so.1.0-x86_64-abi.dump | 882 ++++++++++ tools/libs/call/Makefile | 2 + tools/libs/devicemodel/Makefile | 2 + tools/libs/evtchn/Makefile | 2 + tools/libs/foreignmemory/Makefile | 2 + tools/libs/gnttab/Makefile | 2 + tools/libs/hypfs/Makefile | 2 + tools/libs/store/Makefile | 2 + tools/libs/toolcore/Makefile | 2 + tools/libs/toollog/Makefile | 2 +18 files changed, 8627 insertions(+)create mode 100644
tools/libs/abi/libxencall.so.1.2-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxendevicemodel.so.1.3-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenevtchn.so.1.1-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenforeignmemory.so.1.3-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxengnttab.so.1.2-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenhypfs.so.1.0-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxenstore.so.3.0.3-x86_64-abi.dumpcreate mode 100644tools/libs/abi/libxentoolcore.so.1.0-x86_64-abi.dump
create mode 100644tools/libs/abi/libxentoollog.so.1.0-x86_64-abi.dumptools/libs/call/Makefile +0
-0@@ -11,4 +11,6 @@ SRCS-$(CONFIG_SunOS) += solaris.cQuoted 5 lines
SRCS-$(CONFIG_NetBSD) +=
netbsd.cSRCS-$(CONFIG_MiniOS) +=minios.c
+PKG_OLD_ABI = ../abi/libxen$(LIBNAME).so.1.2-$(XEN_TARGET_ARCH)-abi.dump +Any reason you don't add
Quoted 6 lines
PKG_OLD_ABI= ../abi/libxen$(LIBNAME).so.$(MAJOR).$(MINOR)-$(XEN_TARGET_ARCH)-abi.dumpto
tools/libs/libs.mk, maybe with some way to override/disable the setting (e.g. by setting a different value forPKG_OLD_ABIjust after including $(XEN_ROOT)/tools/libs/libs.mk) ?The problem is with libraries which have changed in staging, where $MINOR differs by 1. I chose not to wildcard in ../abi/ to reduce the chance of picking up the wrong ABI to check against.
Quoted 6 lines
Quoted 4 lines
Quoted 3 lines
Something needs to be a statement of which is the appropriate $MINOR to use, and it shouldn't be the change to bump the soname, as that is a change we want to be tested.
Introduce
OLD_MINORorABI_OLD_MINOR?That's not bisectable if it isn't in the changeset which bumps the soname.
Setting OLD_MINOR isn't tied to bumping of the soname, is it? Instead I thought it would be part of the release process, i.e. for every stable library OLD_MINOR would latch the value of the present MINOR at the same time as the previous version's dumps get installed, and maybe also at the same time as the Xen version gets bumped (and the tree re-opened).
You said you didn't use wildcards - are you intending to have more than a single prior version's dumps to be in the tree? Otherwise it would seem to me that wildcard use could be precisely the way to avoid having to record the old MINOR anywhere (else).
Jan
PATCH 3/3 tools/libs: Check ABI # DO NOT APPLY YET
In reply to Andrew Cooper---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
CC: Juergen Gross <[email protected]>
--- tools/libs/.gitignore | 2 ++ tools/libs/libs.mk | 15 +++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-)
tools/libs/.gitignore +2 -0
@@ -1 +1,3 @@ +*/abi.chk +*/compat_reports/ */headers.lst
tools/libs/libs.mk +11 -4
@@ -96,12 +96,19 @@ lib$(LIB_FILE_NAME).so.$(MAJOR): lib$(LIB_FILE_NAME).so.$(MAJOR).$(MINOR) lib$(LIB_FILE_NAME).so.$(MAJOR).$(MINOR): $(PIC_OBJS) libxen$(LIBNAME).map $(CC) $(LDFLAGS) $(PTHREAD_LDFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,lib$(LIB_FILE_NAME).so.$(MAJOR) $(SHLIB_LDFLAGS) -o $@ $(PIC_OBJS) $(LDUSELIBS) $(APPEND_LDFLAGS) -# If abi-dumper is available, write out the ABI analysis -ifneq ($(ABI_DUMPER),) -libs: $(PKG_ABI) $(PKG_ABI): lib$(LIB_FILE_NAME).so.$(MAJOR).$(MINOR) headers.lst $(ABI_DUMPER) $< -o $@ -public-headers headers.lst -lver $(MAJOR).$(MINOR) + +abi.chk: $(PKG_OLD_ABI) $(PKG_ABI) + $(ABI_COMPLIANCE_CHECKER) -l lib$(LIB_FILE_NAME) -old $(PKG_OLD_ABI) -new $(PKG_ABI) + touch $@ + +ifneq ($(ABI_COMPLIANCE_CHECKER),) +ifeq ($(debug_symbols),y) +libs: abi.chk endif +endif + .PHONY: install install: build
@@ -131,7 +138,7 @@ TAGS: clean: rm -rf *.rpm $(LIB) *~ $(DEPS_RM) $(LIB_OBJS) $(PIC_OBJS) rm -f lib$(LIB_FILE_NAME).so.$(MAJOR).$(MINOR) lib$(LIB_FILE_NAME).so.$(MAJOR) - rm -f headers.chk headers.lst + rm -f headers.chk headers.lst abi.chk rm -f $(PKG_CONFIG) rm -f _paths.h
Signature · 1 line
2.11.0
Quoted 5 lines · Andrew Cooper
Support in-tree ABI checking for stable libs.
This series highlights a regression from 4.14, which needs fixing before the 3rd patch can be committed.
Quoted 7 lines
abi-compliance-checker reports:
Removed Symbols 3
xentoolcore_internal.h
xentoolcore__deregister_active_handle( Xentoolcore__Active_Handle* ah )xentoolcore__register_active_handle( Xentoolcore__Active_Handle* ah )xentoolcore__restrict_by_dup2_null( int fd )
Actually, this is fairly easy:
tools/libs/toolcore/libxentoolcore.so.1.0-x86_64-abi.dump renamed from tools/libs/abi/libxentoolcore.so.1.0-x86_64-abi.dump +0 -0
@@ -4,8 +4,7 @@
'Arch' => 'x86_64',
'GccVersion' => '6.3.0',
'Headers' => {
- 'xentoolcore.h' => 1, - 'xentoolcore_internal.h' => 1 + 'xentoolcore.h' => 1 },
'Language' => 'C',
'LibraryName' => 'libxentoolcore.so.1.0',
I'll throw a fix into v2.
~Andrew