+2
−14
Loading
Resolves issue described in: (ed7054e3) test/abi: remove checking exported API from headers Using '--header-dir' options when doing abidiff limited the scope of changes visible too much. Some of the changes in API were not caught, like the ones described in commit above. Reason for this was due to option '--no-show-locs' being present when generating the XML files for comparison. Because of lack of information where certain functions/structures were present, their scope was lower than anticipated. Thus removing '--header-dir' resulted in catching them again. This is why the issue was only present when comparing with XMLs. See patch resolving this on spdk-abi side: https://review.spdk.io/gerrit/c/spdk/spdk-abi/+/19027/ NOTE: Test for abi compatibility has switched from using .so from prior release to XML together with SPDK v23.01 release. After the v23.01 release the major version of ABI is bumped across libraries. Due to the above, only after SPDK v23.05 release the issue could be caught. Thanks to Konrad's keene eye during reviews, this can be fixed before v23.09 which would cause ABI discrepacny. Once this patch is merged, there will be no SPDK release with mismatching ABI version vs actual libraries content. Reported-by:Konrad Sztyber <konrad.sztyber@intel.com> Signed-off-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Ia63063b27c9b2b065c585a9b2df16ea81a9c548a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19028 Reviewed-by:
Jim Harris <jim.harris@gmail.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>