Skip to content

tools: Support to use abi-dumper on libraries

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 28 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10tools/xl: Fix exit code for `xl vkbattach`tools/xl/xl_vkb.c+2 -12 replies
2/10tools/libxg: Fix uninitialised variable in write_x86_cpu_policy_records()tools/libs/guest/xg_sr_common_x86.c+6 -02 replies
3/10tools/libxg: Fix uninitialised variable in meminit()tools/libs/guest/xg_dom_arm.c+1 -12 replies
3/10tools/libxg: Drop stale p2m logic from ARM's meminit()tools/include/xenguest.h tools/libs/guest/xg_dom_arm.c+2 -82 replies
4/10tools/libxl: Fix uninitialised variable in libxl__domain_get_device_model_uid()tools/libs/light/libxl_dm.c+1 -34 replies
5/10tools/libxl: Fix uninitialised variable in libxl__write_stub_dmargs()tools/libs/light/libxl_dm.c+1 -12 replies
6/10stubdom/xenstored: Fix uninitialised variables in lu_read_state()tools/xenstore/xenstored_control.c+1 -15 replies
6/10stubdom/xenstored: Fix uninitialised variables in lu_read_state()tools/xenstore/xenstored_control.c+1 -10 replies
7/10tools: Use -Og for debug builds when availabletools/Rules.mk+3 -25 replies
8/10tools: Check for abi-dumper in ./configureconfig/Tools.mk.in tools/configure tools/configure.ac+43 -02 replies
9/10tools/libs: Add rule to generate headers.lsttools/libs/.gitignore tools/libs/libs.mk+9 -13 replies
10/10tools/libs: Write out an ABI analysis when abi-dumper is availabletools/libs/libs.mk+9 -04 replies
10/10tools/libs: Write out an ABI analysis when abi-dumper is availabletools/libs/libs.mk+9 -00 replies

Reviews trailers per patch

All 13 patches have a Reviewed-by or Acked-by.

PatchJan BeulichJuergen GrossIan JacksonJulien Grall
1/10Release-Acked-by R-b
2/10R-b Release-Acked-by
3/10Release-Acked-by A-b
3/10Release-Acked-by A-b
4/10R-b
5/10Release-Acked-by R-b
6/10R-b R-b R-b Release-Acked-by
6/10R-b R-b R-b Release-Acked-by
7/10R-b Release-Acked-by A-b
8/10Release-Acked-by R-b
9/10Release-Acked-by Release-Acked-by R-b
10/10Release-Acked-by R-b
10/10Release-Acked-by R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH for-4.15 00/10] tools: Support to use abi-dumper on libraries

The first 6 patches are fixes to build with the -Og optimisation level, which is an expectation of abi-dumper and a good idea generally. There are 2 definite bugfixes, and 4 of more questionable usefulness. All fixes are simple.

The next patch switches to -Og by default. This is potentially risky - I've fixed up all build failures that Gitlab CI can spot, but I don't guarentee that I've fixed all of them. However, it only affects debug builds - release builds are unchanged, and we're before -RC1 so have plenty of time to react to any fallout.

The final 3 patches arrange for abi-dumper to run if it is available in the build environment. This is strictly optional, has no effect if abi-dumper isn't in the build environment, and writes out one extra file if present.

With this tooling place, we can now add support to OSSTest to check for ABI breakges in builds.

Andrew Cooper (10):
tools/xl: Fix exit code for xl vkbattach
tools/libxg: Fix uninitialised variable in write_x86_cpu_policy_records() tools/libxg: Fix uninitialised variable in meminit()
tools/libxl: Fix uninitialised variable in libxl__domain_get_device_model_uid() tools/libxl: Fix uninitialised variable in libxl__write_stub_dmargs() stubdom/xenstored: Fix uninitialised variables in lu_read_state()
tools: Use -Og for debug builds when available
tools: Check for abi-dumper in ./configure
tools/libs: Add rule to generate headers.lst
tools/libs: Write out an ABI analysis when abi-dumper is available

 config/Tools.mk.in                  |  1 +
 tools/Rules.mk                      |  5 +++--
 tools/configure                     | 41 +++++++++++++++++++++++++++++++++++++
 tools/configure.ac                  |  1 +
 tools/libs/.gitignore               |  1 +
 tools/libs/guest/xg_dom_arm.c       |  2 +-
 tools/libs/guest/xg_sr_common_x86.c |  6 ++++++
 tools/libs/libs.mk                  | 18 +++++++++++++++-
 tools/libs/light/libxl_dm.c         |  6 ++----
 tools/xenstore/xenstored_control.c  |  2 +-
 tools/xl/xl_vkb.c                   |  3 ++-
 11 files changed, 76 insertions(+), 10 deletions(-)
 create mode 100644 tools/libs/.gitignore
Signature · 1 line
2.11.0