From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] mk: Provide option to set Major ABI version Date: Thu, 16 Mar 2017 18:19:50 +0100 Message-ID: <4962963.ZZcnbaMyEK@xps13> References: <1488360852-14458-1-git-send-email-christian.ehrhardt@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Jan Blunck , cjcollier@linuxfoundation.org, ricardo.salveti@linaro.org, Luca Boccassi To: Christian Ehrhardt Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id D5E372BF3 for ; Thu, 16 Mar 2017 18:19:52 +0100 (CET) Received: by mail-wm0-f52.google.com with SMTP id n11so53657064wma.0 for ; Thu, 16 Mar 2017 10:19:52 -0700 (PDT) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-03-01 15:35, Jan Blunck: > On Wed, Mar 1, 2017 at 10:34 AM, Christian Ehrhardt > wrote: > > Downstreams might want to provide different DPDK releases at the same > > time to support multiple consumers of DPDK linked against older and newer > > sonames. > > > > Also due to the interdependencies that DPDK libraries can have applications > > might end up with an executable space in which multiple versions of a > > library are mapped by ld.so. > > > > Think of LibA that got an ABI bump and LibB that did not get an ABI bump > > but is depending on LibA. > > > > Application > > \-> LibA.old > > \-> LibB.new -> LibA.new > > > > That is a conflict which can be avoided by setting CONFIG_RTE_MAJOR_ABI. > > If set CONFIG_RTE_MAJOR_ABI overwrites any LIBABIVER value. > > An example might be ``CONFIG_RTE_MAJOR_ABI=16.11`` which will make all > > libraries librte.so.16.11 instead of librte.so.. [...] > > > > Signed-off-by: Christian Ehrhardt > > Reviewed-by: Jan Blunck > Tested-by: Jan Blunck Not sure about how it can be used in distributions, but it does not hurt to provide the config option. Are you going to link applications against a fixed DPDK version for every libraries? Applied, thanks