From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by dpdk.space (Postfix) with ESMTP id B9DB5A00E6
	for <public@inbox.dpdk.org>; Tue, 14 May 2019 11:42:06 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id CE4E75F1B;
	Tue, 14 May 2019 11:42:05 +0200 (CEST)
Received: from relay0161.mxlogin.com (relay0161.mxlogin.com [199.181.239.161])
 by dpdk.org (Postfix) with ESMTP id C7AAC5B40;
 Tue, 14 May 2019 11:42:03 +0200 (CEST)
Received: from filter002.mxroute.com (unknown [116.203.155.46])
 by relay0161.mxlogin.com (Postfix) with ESMTP id C1164CC50320;
 Tue, 14 May 2019 04:42:02 -0500 (CDT)
Received: from localhost (unknown [23.92.70.113])
 by filter002.mxroute.com (Postfix) with ESMTPS id DDCD63F0CC;
 Tue, 14 May 2019 09:42:01 +0000 (UTC)
Received: from [192.55.54.44]
 by localhost with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
 (Exim 4.91) (envelope-from <mdr@ashroe.eu>)
 id 1hQTxP-0007em-Gf; Tue, 14 May 2019 05:42:47 -0400
To: Thomas Monjalon <thomas@monjalon.net>, techboard@dpdk.org
Cc: Bruce Richardson <bruce.richardson@intel.com>,
 Billy McFall <bmcfall@redhat.com>, Thomas F Herbert <therbert@redhat.com>,
 dpdk-dev <dev@dpdk.org>, Luca Boccassi <luca.boccassi@gmail.com>,
 ndas@suse.de, Christian Ehrhardt <christian.ehrhardt@canonical.com>,
 "Stokes, Ian" <ian.stokes@intel.com>
References: <80c4f1df-da68-520e-d47d-b4ccaeedb69f@ashroe.eu>
 <20190510134333.GA87@bricha3-MOBL.ger.corp.intel.com>
 <2098214.X7U14xP0QZ@xps>
From: Ray Kinsella <mdr@ashroe.eu>
Openpgp: preference=signencrypt
Autocrypt: addr=mdr@ashroe.eu; keydata=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8iXcO4Fpk6wzylclvatBMddVlQ6qrYeTmSbCsk+m2KVrz5vIyja0o5Y
 yfeN29s9emXnikmNfv/dA5fpi8XCANNnz3zOfA93DOB9DBf0TQ2/OrSPGjB3op7RCfoPBZ7u
 AjJ9dM7VABEBAAGJAjwEGAEIACYWIQRwNQOUoMloO4mV9l90l1of+wIKmwUCW/wHfAIbDAUJ
 CWYBgAAKCRB0l1of+wIKm3KlD/9w/LOG5rtgtCUWPl4B3pZvGpNym6XdK8cop9saOnE85zWf
 u+sKWCrxNgYkYP7aZrYMPwqDvilxhbTsIJl5HhPgpTO1b0i+c0n1Tij3EElj5UCg3q8mEc17
 c+5jRrY3oz77g7E3oPftAjaq1ybbXjY4K32o3JHFR6I8wX3m9wJZJe1+Y+UVrrjY65gZFxcA
 thNVnWKErarVQGjeNgHV4N1uF3pIx3kT1N4GSnxhoz4Bki91kvkbBhUgYfNflGURfZT3wIKK
 +d50jd7kqRouXUCzTdzmDh7jnYrcEFM4nvyaYu0JjSS5R672d9SK5LVIfWmoUGzqD4AVmUW8
 pcv461+PXchuS8+zpltR9zajl72Q3ymlT4BTAQOlCWkD0snBoKNUB5d2EXPNV13nA0qlm4U2
 GpROfJMQXjV6fyYRvttKYfM5xYKgRgtP0z5lTAbsjg9WFKq0Fndh7kUlmHjuAIwKIV4Tzo75
 QO2zC0/NTaTjmrtiXhP+vkC4pcrOGNsbHuaqvsc/ZZ0siXyYsqbctj/sCd8ka2r94u+c7o4l
 BGaAm+FtwAfEAkXHu4y5Phuv2IRR+x1wTey1U1RaEPgN8xq0LQ1OitX4t2mQwjdPihZQBCnZ
 wzOrkbzlJMNrMKJpEgulmxAHmYJKgvZHXZXtLJSejFjR0GdHJcL5rwVOMWB8cg==
Message-ID: <8aa77d10-54c1-4f09-102d-23714f59d65c@ashroe.eu>
Date: Tue, 14 May 2019 10:41:50 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101
 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <2098214.X7U14xP0QZ@xps>
Content-Type: text/plain; charset="UTF-8"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-AuthUser: mdr@ashroe.eu
Subject: Re: [dpdk-dev] [dpdk-techboard] Discussion on the OS Packaging of
	DPDK
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>
Message-ID: <20190514094150.ckLrYi7g-S6Y30I7B8WVgDonEITbY0_aVefwdhN1X-0@z>



On 10/05/2019 19:43, Thomas Monjalon wrote:
> 10/05/2019 15:43, Bruce Richardson:
>> On Fri, May 10, 2019 at 02:01:54PM +0100, Ray Kinsella wrote:
>>> ( from the undersigned )
>>>
<SNIP>
>> To a certain extent, this only applies with the "make" build system, which
>> is due to be deprecated in the next release and removed sometime next year.
>> With builds done with meson and ninja, both shared and static libraries are
>> always built. The default setting though remains as "static" which applies
>> only to the linking of applications as part of the DPDK build. This default
>> was set mainly for legacy purposes, but also has benefits for us developers
>> working on DPDK, since we don't need to worry about setting LD_LIBRARY_PATH
>> and EAL_PMD_PATH values for running applications we've built. Therefore,
>> I'm not sure of the value of changing the default here - it's certainly
>> less important than the default in the "make" build system where only one
>> library type at a time was built.
> 
> Yes no need to change the default.
> If you build DPDK yourself, it is more convenient to use static libs.
> If you want something easier to update, you probably use
> the packages from distributions which are shared libraries.

Well I disagree a bit.
I understand 100% that we don't want to break the developer experience.
My concern is that developers end using something different then, that
what the DPDK consumers are using - this always ends up being a hiding
place for bugs.

It might be worthwhile seeing if we could resolve this in another way,
either with RPATH or EAL_PMD_PATH change.

> 
>>> * Future guarantees around ABI/API stability should be provided, so that
>>> OS packagers can offer safe upgrade paths for consuming applications.
> 
> DPDK is a set of libraries, some more stable than others.
> If we cannot guarantee a full stability for a long time,
> we may have some changes here and there sometimes.
> And it's even worst with experimental functions.
> I think it is more realistic to provide a level of stability
> per DPDK library. In order to leverage such fine grained stability,
> the libraries should be packaged separately in the OS.
> Then the applications relying only on stable libraries will be able
> to link with updated libraries without any change or re-compilation.
> 
> 
>