From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 35F51A04F6; Wed, 11 Dec 2019 12:14:16 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 492732C6A; Wed, 11 Dec 2019 12:14:15 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 1DB1523D for ; Wed, 11 Dec 2019 12:14:12 +0100 (CET) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Dec 2019 03:14:10 -0800 X-IronPort-AV: E=Sophos;i="5.69,301,1571727600"; d="scan'208";a="207645091" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.46]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Dec 2019 03:14:08 -0800 Date: Wed, 11 Dec 2019 11:14:05 +0000 From: Bruce Richardson To: Thomas Monjalon Cc: Luca Boccassi , dev@dpdk.org, ray.kinsella@intel.com, ferruh.yigit@intel.com Message-ID: <20191211111405.GB407@bricha3-MOBL.ger.corp.intel.com> References: <20191211102642.983579-1-bruce.richardson@intel.com> <1899696.lD3V72zqS8@xps> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1899696.lD3V72zqS8@xps> User-Agent: Mutt/1.12.1 (2019-06-15) Subject: Re: [dpdk-dev] [PATCH] build: fix soname info for 19.11 compatiblity X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Dec 11, 2019 at 12:08:25PM +0100, Thomas Monjalon wrote: > 11/12/2019 12:04, Luca Boccassi: > > On Wed, 2019-12-11 at 10:26 +0000, Bruce Richardson wrote: > > > The soname for each stable ABI version should be just the ABI version > > > major > > > number without the minor number. Unfortunately both major and minor > > > were > > > used causing version 20.1 to be incompatible with 20.0. > > > > > > This patch fixes the issue by switching from 2-part to 3-part ABI > > > version > > > numbers so that we can keep 20.0 as soname and using the final digits > > > to > > > identify the 20.x releases which are ABI compatible. This requires > > > changes > > > to both make and meson builds to handle the three-digit version and > > > shrink > > > it to 2-digit for soname. > > > > > > Fixes: cba806e07d6f ("build: change ABI versioning to global") > > > > > > Signed-off-by: Thomas Monjalon < > > > thomas@monjalon.net > > > > > > > Signed-off-by: Bruce Richardson < > > > bruce.richardson@intel.com > > > > > > > --- > > > > > > This patch contains an alternative fix to that implied by the > > > previous patches: > > > http://patches.dpdk.org/patch/63726/ > > > > > > http://patches.dpdk.org/patch/63728/ > > > > > > > > > --- > > > ABI_VERSION | 2 +- > > > drivers/meson.build | 4 ++-- > > > lib/meson.build | 4 ++-- > > > mk/rte.lib.mk | 5 ++++- > > > 4 files changed, 9 insertions(+), 6 deletions(-) > > > > Acked-by: Luca Boccassi > > > > Thank you! I've set a reminder in my calendar for September to revert > > it :-) > > I don't think we need to revert it. > The ABI version will have only 2 numbers (21.0). > In makefile there is no change. > What needs to be changed in meson? > We need to remove the explicit use of so_version, and let meson just do the right thing with the lib version. That being said, I can see about having meson behave as make so that it will work even if we forget (i.e. even with changed behaviour we should still remove the explicit soversion usage when it's no longer needed). /Bruce