Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D184C433DB for ; Tue, 2 Mar 2021 11:38:21 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AA37D601FA for ; Tue, 2 Mar 2021 11:38:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AA37D601FA Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.92289.174161 (Exim 4.92) (envelope-from ) id 1lH3Lq-0001Aj-2a; Tue, 02 Mar 2021 11:38:06 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 92289.174161; Tue, 02 Mar 2021 11:38:06 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lH3Lp-0001Ac-VP; Tue, 02 Mar 2021 11:38:05 +0000 Received: by outflank-mailman (input) for mailman id 92289; Tue, 02 Mar 2021 11:38:05 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lH3Lo-0001AX-Vs for xen-devel@lists.xenproject.org; Tue, 02 Mar 2021 11:38:05 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 11dd1e75-bba0-45c2-b88f-de2031be9196; Tue, 02 Mar 2021 11:38:03 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id F423FAAC5; Tue, 2 Mar 2021 11:38:02 +0000 (UTC) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 11dd1e75-bba0-45c2-b88f-de2031be9196 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1614685083; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R328YbjKRhvm6UTdxCFfC4dyum1um6fW9vGE8Zeqb+I=; b=ReK53fbFTavXNxq7tHAwsHybQ76JFCQRWONXYiPXDTBj0UcE2EEjZTyVDaK5AoeNzBKE5V YbFmMJvTJLng+jA5A2vxpkj5VkGac8Gbxn38VZCNt0P9qo7lwS5A4F0Qs7aknZfxmLoEqn Js1Ghbu4b9uQ2r/h8fPL7AEddDti+lg= Subject: Re: [PATCH 2/3] tools/libs: Stash the 4.14 API/ABIs for the stable libraries To: Andrew Cooper Cc: Ian Jackson , Wei Liu , Xen-devel , =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= References: <20210301170044.23295-1-andrew.cooper3@citrix.com> <20210301170044.23295-3-andrew.cooper3@citrix.com> <677223c5-e661-a132-35b8-2e9424817c7b@suse.com> From: Jan Beulich Message-ID: <241f7ac5-2ba4-d0e6-32e9-5b327d56f6ca@suse.com> Date: Tue, 2 Mar 2021 12:38:02 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit On 02.03.2021 12:26, Andrew Cooper wrote: > On 02/03/2021 11:21, Jan Beulich wrote: >> On 02.03.2021 12:17, Andrew Cooper wrote: >>> On 02/03/2021 10:45, Jürgen Groß wrote: >>>> On 01.03.21 18:00, Andrew Cooper wrote: >>>>> 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_ABI variable pointing at the >>>>> 4.14 ABI. >>>>> >>>>> No functional change. >>>>> >>>>> Signed-off-by: Andrew Cooper >>>>> --- >>>>> CC: Ian Jackson >>>>> CC: Wei Liu >>>>> CC: Juergen Gross >>>>> --- >>>>>   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 >>>>> >>>>> diff --git a/tools/libs/call/Makefile b/tools/libs/call/Makefile >>>>> index 4ed201b3b3..37a7db5395 100644 >>>>> --- a/tools/libs/call/Makefile >>>>> +++ b/tools/libs/call/Makefile >>>>> @@ -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) ? >>> 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? > > 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