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 3EFFAA0525; Fri, 21 Feb 2020 17:41:41 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1D46D1BFAC; Fri, 21 Feb 2020 17:41:41 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id 77BA534F3 for ; Fri, 21 Feb 2020 17:41:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582303298; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GRIIIYFlenRjadNBcHwuWIOuYcpLohSfTUmbiaGy+CA=; b=UR51x5ChARc/xYlbWwvnB/p+wYAzNzLtKqv4+GMOxdQ6Kzpsgc9HAVXzc/NotdawL+tgM2 QISeZKFyenkzxstWSIJNtUf1LzWmWYLt5GY7TkL8A+UHriRhaNIBMQWOKggKfv42DClioD UGeelgqPYjP/Ko2jDs0yoGccNK6YsGg= Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-200-aH_04y-bNNmU273cZJbzFw-1; Fri, 21 Feb 2020 11:41:36 -0500 X-MC-Unique: aH_04y-bNNmU273cZJbzFw-1 Received: by mail-vk1-f198.google.com with SMTP id y28so1134707vkl.23 for ; Fri, 21 Feb 2020 08:41:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tQAxJH0on1BC4hiHIpiPK8jcOvWBTXca00p0vujOjTs=; b=tc3qdhkUhyq1KEve749fVmQutAcMlYqcs7Vxbdm+n6c9+8PwEc8XeFfGoxOHZA/c+y 8OkXmjS50QaPcJ2H4NtQMYajohv1F8yYlYpxjnGIzT+3Ls7Ud9tXQ4v/9UKtS+9WWoSr RcSwwB7edubnqpbJC5LsetrKgKPSnpHYN7TvjOqz+XYMw4x5eNGWM9lKahfbGF8aNXto JaN6gXTecidNA0zPMX9FEgXedofKVpHGiMOYDUzZIkckY/qqXdgstexYqm2iH4xc0rE6 MutgR4NObzgrT6aGVokgB4dpOff8z2O0YCl6tTnrtOAA52YOiCXT8CxWhpMvE6ESaTzM unUA== X-Gm-Message-State: APjAAAUnGhDzIFeLC3tQ4uLyN+n8HQLyflvEi5EwWmqaT/UecEcILkv/ kXDgugy5ZWu5x9vlOpFEP1W0FR5GouhpwoKcG6g/bkPGOfKvWGglxRMHk6XMRFtmx6IvkKOHlO0 bhGM6Vqh/lCyWVZbT4/4= X-Received: by 2002:a1f:5385:: with SMTP id h127mr17842613vkb.56.1582303296408; Fri, 21 Feb 2020 08:41:36 -0800 (PST) X-Google-Smtp-Source: APXvYqy/ghM6I1JI/v0oJPuvqKwMXMCULI+OThJOMg1Tim9lk+KcHa24OYjuJ2K8E5p3QGi7vfUopC9GNLu81T0aTHc= X-Received: by 2002:a1f:5385:: with SMTP id h127mr17842602vkb.56.1582303296162; Fri, 21 Feb 2020 08:41:36 -0800 (PST) MIME-Version: 1.0 References: <20200220195454.2363094-1-ferruh.yigit@intel.com> In-Reply-To: <20200220195454.2363094-1-ferruh.yigit@intel.com> From: David Marchand Date: Fri, 21 Feb 2020 17:41:25 +0100 Message-ID: To: Ferruh Yigit Cc: Thomas Monjalon , Neil Horman , Bruce Richardson , dev , "Kinsella, Ray" , Luca Boccassi , Kevin Traynor X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH] build: fix experimental library versioning 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 Thu, Feb 20, 2020 at 8:55 PM Ferruh Yigit wrote= : > > The problem occurred when workaround that makes soname two digits > applied. With this change for the ABI version "20.0.1" the experimental > library version become ".so.2001". > After workaround removed in ABI version 21.0, the experimental library > version will become ".so.210". > "2001" is bigger value than "201" although it is a previous version of > the library version, this can break the version comparisons. > > To fix this, introducing a temporary sub level versioning for the > experimental libraries, so that minor version comparison will continue > to work. > > After change experimental libraries will follow below versioning: > > DPDK version ABI version soname library name > ------------ ----------- ------ ------------ > DPDK 19.11 20.0 .so.0.200 .so.0.200 > DPDK 20.02 20.0.1 .so.0.200.1 .so.0.200.1 > DPDK 20.05 20.0.2 .so.0.200.2 .so.0.200.2 > DPDK 20.11 21.0 .so.0.210 .so.0.210 > DPDK 21.02 21.1 .so.0.211 .so.0.211 > > Note: After workaround removed in DPDK 20.11 and soname switch back to > single digit this patch won't work and needs to be updated. > > Fixes: f26c2b39b271 ("build: fix soname info for 19.11 compatibility") > > Signed-off-by: Ferruh Yigit Acked-by: Luca Boccassi Acked-by: Ray Kinsella Applied. --=20 David Marchand