From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=Fq0WVe0a4C2dDzdVDwfAMw7H1whO6NPnHW+tMj0YvIM=; b=qFxNw5SmyKP+9iWQpbpJacOS8W7m0eF61kOkS5JAnpAgHVnWlIDUpGvEvWU8bH0p8k IaaS2QTfmUOGDxoKfe52AxX+d2o//9yOGWd+/AsAAl7yCsuJO5uUMJHP/juldJljXEBA d2Ux1AqFKxwQ6/asJoZHhUwKgQ+G8OAJEnPjcyhVF4qEbittHNujyBBVz0/r4VZUKwV6 u6G0CylO1ZrooZBSpaznraN2HuUd8g7uHVPdeRmmTtDWgPncZyi8DnGtoD5wrKWuYfAM 5e9+YrJTyRQeGyGzztq0RkJBi9ZwwJbpSTP/M+YgifOJFIyctYnH5KaDVXLbFh6ioQGw fijg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=Fq0WVe0a4C2dDzdVDwfAMw7H1whO6NPnHW+tMj0YvIM=; b=dMI4dV33HhO6WvZbMP6UztWRnB9ny9rX8FTXzulXFZ5UELtbm4qnbWdUc983ySRiIm eueDLW4f/R2oAL8LvP1kMZ7CnwgghmldwZbgb9ICGMUYjOIWW9zLXO7eCFyDEd5S4ER4 R21Nr80yHWPoPvYDVyMqWg6pilGKFoq/b+j3K2tNQKp6ktHAjc+Qzup/Qe+lNQAUbxIi VG+HKJbrZ1qnE/owdgIWkIV/jwvnEBg4zaHEr5qiDGXi/Z9FwtcjZHYvionzrw8I2oeY vYzNgEDpUM17+6Pd2fFn5+cMGDXJv0Egj5vmjMMuokAOkyqUk8bakY506QjYTxd11Ix/ Vr7w== X-Gm-Message-State: AFeK/H36YNJiPz0hwiBEl8VaNx45prPIQGj4Wxm98eNeipvtq1aR4sWLxTCbpGQa6Oo8lnKq X-Received: by 10.28.224.69 with SMTP id x66mr25397322wmg.21.1489684792629; Thu, 16 Mar 2017 10:19:52 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id x1sm6844262wrd.63.2017.03.16.10.19.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Mar 2017 10:19:51 -0700 (PDT) From: Thomas Monjalon To: Christian Ehrhardt Cc: dev@dpdk.org, Jan Blunck , cjcollier@linuxfoundation.org, ricardo.salveti@linaro.org, Luca Boccassi Date: Thu, 16 Mar 2017 18:19:50 +0100 Message-ID: <4962963.ZZcnbaMyEK@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1488360852-14458-1-git-send-email-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] mk: Provide option to set Major ABI version 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: , X-List-Received-Date: Thu, 16 Mar 2017 17:19:53 -0000 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