[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] libxencall: Bump SONAME following new functionality


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Fri, 25 Jun 2021 14:00:55 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pSJHl2Fwu38djEfq1uvzLYrKquCGWT6i2pVYatcDK4c=; b=AF7wSUlUm9PIb2SfQug+cefJTQ1ePmAsLVK+kdpoWDsyqTknuVgta5e2KUSsWInR77+vUf4eO7y+l700E9OuVFys4enCaHYmYmAB1Xgx/Mw+5RYIO4HTpqToiU8C9F586mDqw5g1PJ989c+n4ggcyhod/FTmyuC2DTComITwBdhJGecxlqf5M6d9DGUSmucBbGRx6kdxf4072MaMk+pjXSf+PrfSToEbMKMd9lPhxKVlyuK+tTQz3q/6wX1hmJtz+RDLQOuHWitWTmY9fUOhGO+uTFwcd3yzYZlZjWy/EcOVa7Bd5y0EFtDJNMnZ4qbXhL2CFniSDjelMwfWzfEKCw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MORNr3dM+ayzccvT2FDEQLds20E5glV8MEYjxykBSw+zVivUm8m1Iiu7bTYQuvdPX571eIor5KCWwzIxof28aJ2NvCI4rmgB2mMwAQQ9QrlHMycG84wY6XHcrJa2nNLftYm4Z5vl/A6RIqHHjapCOSKMKV8dWyJ0Ww945G15fCfu1UT7D7eCA5icpyRPoDQuQUfpEaiCPHJV/80KSEDubHLtlUNZH13boKkE2UFuzRJJu49rfdD0HrT6FaA2ynqOAZoUkBRcUVMdtSkS+Kz0vlFk/fuovJD6QUeJTKAQ6zJ1iTVREGqfrluDg2KQ0ivST4xUUF9eRknZtnyyz47zwQ==
  • Authentication-results: xenproject.org; dkim=none (message not signed) header.d=none;xenproject.org; dmarc=none action=none header.from=suse.com;
  • Cc: Wei Liu <wl@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>
  • Delivery-date: Fri, 25 Jun 2021 12:01:15 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 25.06.2021 13:36, Andrew Cooper wrote:
> On 25/06/2021 11:59, Ian Jackson wrote:
>> 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 <iwj@xxxxxxxxxxxxxx>
> 
> Thanks.
> 
>> 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.
> 
> Correct, although backporting in general however is problematic.
> 
> Until Xen 4.16 is released (or, we explicitly decide to make an explicit
> library release early), the 1.3 ABI isn't set in stone.
> 
> Backports to older stable-* branches must sit on a boundary already set
> in stone in staging, or we'll end up with different versions of Xen
> having different ideas of what VERS_1.3 mean.

Which effectively means we'd have to open 1.4 despite being in the
same release cycle if this change got backported. Or did I not
understand correctly what you were trying to say?

Jan




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.