From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f178.google.com (mail-yw0-f178.google.com [209.85.161.178]) by dpdk.org (Postfix) with ESMTP id 93BEC2A5E for ; Wed, 22 Feb 2017 14:12:43 +0100 (CET) Received: by mail-yw0-f178.google.com with SMTP id q127so1015322ywg.0 for ; Wed, 22 Feb 2017 05:12:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=b6laUsSHM5qi4plz2AGMJduGTGn9rpNzYmdLItYK/P0=; b=VINjIDyjXeO4vP3AwqgmPwUi83CkvIvi9OO986yz1/a48FqU54iTqT896vrmY+7vvd nqPqH1fzkr+NbBOEUniujVcBKfWCDjIQyRVpqz2iO7hTf9DwyZ5x1xlWc6MbEtF8pwhm RjWerpJ7PxjXefpleOpHAZdeZcxXH1xFnRzPujGAGuK97tTUSqXwPohNpl/TkaS7nKe5 zsh/8P6yuLRpftnvVPBVvIbSpDa6r2xK/agRbGaJeXVOx3fR7jTaKNisuQXWjboBYQIg rCWhVBFOODAnlJT53wqypkXHUAXZidLrccfnotVcFs7SdegLMyOZBlTS0t4r9x7V4Jdp fyyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=b6laUsSHM5qi4plz2AGMJduGTGn9rpNzYmdLItYK/P0=; b=cjrt4Cot2Nn9tgSNyIc8Aw69eIseuOWrYft89oPhsZgqbzMKagDXAc+MSTPEiSXPYb WHZNm/vbDYVZedb0+81E2GRidl2g9Ncs+7KrAzrtwZ2XLVZniHUJC3SHJCnmJT1fqxqI 78av9MY5KLF3ZdRfWyzzMIv1unMqEDFtk+aGWtNBfksCEJqjgjnbWrZHGkl1XpNKL1zR 14i6TNFXBB5lB4hDl+kxGBoPAWlRlKk6CKoaqdmCZ4hMnHWSsRhqdEanggmsGYY2xInv gBz78od3f0fiCsudtf+sU1u1GsCS/o5FVyapl/UedFg8v8MfFSLIoik8Rs4gdot42pao D5iA== X-Gm-Message-State: AMke39mItMD4XYQFnDSsbytpOJRI7qkigqovPvE7kGDEPyU9SNum0GakrMVkzEFkLop4NEhRaidPujCRR1fSHujt X-Received: by 10.13.249.130 with SMTP id j124mr25901151ywf.124.1487769162796; Wed, 22 Feb 2017 05:12:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.59.11 with HTTP; Wed, 22 Feb 2017 05:12:12 -0800 (PST) In-Reply-To: References: From: Christian Ehrhardt Date: Wed, 22 Feb 2017 14:12:12 +0100 Message-ID: To: Jan Blunck Cc: dev , "cjcollier@linuxfoundation.org" , ricardo.salveti@linaro.org, Luca Boccassi Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Further fun with ABI tracking 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: Wed, 22 Feb 2017 13:12:43 -0000 On Tue, Feb 14, 2017 at 9:31 PM, Jan Blunck wrote: > > 1. Downstreams to insert Major version into soname > > Distributions could insert the DPDK major version (like 16.11) into the > > soname and package names. A common example of this is libboost [5]. > > That would perfectly allow 16.07. to coexist with > > 16.11. even if for a given library LIBABIVER did not change. > > Yet it would mean that anything depending on the old library will have to > > be recompiled to pick up the new code, even if it depends on an ABI that > is > > still present in the new release. > > Also - not a technical reason - but it is clearly more work to force > update > > all dependencies and clean out old packages for every release. > > Actually this isn't exactly what I proposed during the summit. Just > keep it simple and fix the ABI version of all libraries at 16.11.0. > This is a proven approach and has been used for years with different > libraries. Since there was no other response I'll try to wrap up. Yes #1 also is my preferred solution at the moment. We tried with individual following the tracking of LIBABIVER upstream but as outlined before we hit too many issues. I discussed it in the deb_dpdk group which acked as well to use this as general approach. The other options have too obvious flaws as I listed on my initial report and - thanks btw - you added a few more. @Bruce - sorry I don't think dropping config options is the solution. Yet my suggestion does not prevent you from doing so. > You could easily do this independently of us upstream > fixing the ABI problems. I agree, but I'd like to suggest the mechanism I want to implement. An ack by upstream for the Feature to set such a major ABI would be great. Actually since it is optional and can help more people integrating DPDK getting it accepted upstream be even better. I'll send a patch in reply to this thread later today that implements what I have in mind. -- Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd