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=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS 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 5061CC2B9F4 for ; Fri, 25 Jun 2021 11:00:08 +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 138FC61446 for ; Fri, 25 Jun 2021 11:00:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 138FC61446 Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=xenproject.org 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.147110.270926 (Exim 4.92) (envelope-from ) id 1lwjYi-0005F8-Rt; Fri, 25 Jun 2021 10:59:40 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 147110.270926; Fri, 25 Jun 2021 10:59:40 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lwjYi-0005F1-Ox; Fri, 25 Jun 2021 10:59:40 +0000 Received: by outflank-mailman (input) for mailman id 147110; Fri, 25 Jun 2021 10:59:39 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lwjYh-0005Ev-QG for xen-devel@lists.xenproject.org; Fri, 25 Jun 2021 10:59:39 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lwjYh-0000bw-PS for xen-devel@lists.xenproject.org; Fri, 25 Jun 2021 10:59:39 +0000 Received: from iwj (helo=mariner.uk.xensource.com) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1lwjYh-00009J-Oe for xen-devel@lists.xenproject.org; Fri, 25 Jun 2021 10:59:39 +0000 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.89) (envelope-from ) id 1lwjYb-0003ja-Bt; Fri, 25 Jun 2021 11:59:33 +0100 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" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=References:In-Reply-To:Subject:Cc:To:Date :Message-ID:Content-Transfer-Encoding:Content-Type:MIME-Version:From; bh=6Z2Z4kabWMAKspZ0lr5ZblTSxmGY+JwvsFhRSW82OdA=; b=UVjwBGyl0X6esdrmC3FZycrWoo PJxS/MOO30bMzpCjD3U2dYoxtOs4Ni0ViOWRuCnf0ZeVtGco8svakjtCi8fWcDsegwOz197wBMqNa 4tUJMUEtqWRxWeJtgTNNnqoB/11peiUk6b03c29ghPusa19+ZDRIoeb/fPXTb0sU6QFw=; From: Ian Jackson MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <24789.46868.943149.770825@mariner.uk.xensource.com> Date: Fri, 25 Jun 2021 11:59:32 +0100 To: Jan Beulich Cc: Andrew Cooper , Wei Liu , Xen-devel Subject: Re: [PATCH] libxencall: Bump SONAME following new functionality In-Reply-To: <4b360f95-aec2-935b-ce95-73a01cae98be@suse.com> References: <20210624175521.20843-1-andrew.cooper3@citrix.com> <6e103351-f3eb-39c8-441d-be926579f2ca@suse.com> <9c5cff0e-0ab6-7015-3667-bad2d9f5b31e@citrix.com> <4b360f95-aec2-935b-ce95-73a01cae98be@suse.com> X-Mailer: VM 8.2.0b under 24.5.1 (i686-pc-linux-gnu) Jan Beulich writes ("Re: [PATCH] libxencall: Bump SONAME following new functionality"): > On 25.06.2021 11:17, Andrew Cooper wrote: > > On 25/06/2021 07:31, Jan Beulich wrote: > >> On 24.06.2021 19:55, Andrew Cooper wrote: > >>> Fixes: bef64f2c00 ("libxencall: introduce variant of xencall2() returning long") > >> Is this strictly necessary, i.e. is a Fixes: tag here warranted? > > > > Yes - very much so. > > > > andrewcoop@andrewcoop:/local/xen.git/xen$ readelf -Wa > > ../tools/libs/call/libxencall.so.1.2 | grep 1\\.3 > >     33: 0000000000001496    59 FUNC    GLOBAL DEFAULT   13 > > xencall2L@@VERS_1.3 > >     39: 0000000000000000     0 OBJECT  GLOBAL DEFAULT  ABS VERS_1.3 > >     76: 0000000000000000     0 OBJECT  GLOBAL DEFAULT  ABS VERS_1.3 > >   020:   4 (VERS_1.2)      5 (VERS_1.3)      2 (VERS_1.0)      3 > > (VERS_1.1)   > >   024:   3 (VERS_1.1)      2 (VERS_1.0)      4 (VERS_1.2)      5 > > (VERS_1.3)   > >   0x0080: Rev: 1  Flags: none  Index: 5  Cnt: 2  Name: VERS_1.3 > > > > Without this, you create a library called .so.1.2 with 1.3's ABI in. > > I'm aware of the change to file contents as well as the disagreement > of file name / SONAME vs enumerated versions. So telling me this is > not really an answer to my question. It may be by convention that > the two should match up, but I don't see any functional issue (yet) > if they don't. Plus of course you leave open altogether the > backporting aspect of my question. The patch, including the Fixes tag, Reviewed-by: Ian Jackson Changing minor version in the filename as well as the .so is not an impediment to backporting. The actual soname remains the same so there is no compatibility problem and the change is still suitable for including in eg distro stsable releases. Not changing the filename is quite strange. I havne't thought through all of the implications but I'm sure it will confuse people, and it seems like to confuse at least some computer programs that handle this kind of thing. Ian.