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 CEE649197 for ; Sun, 6 Dec 2015 22:15:08 +0100 (CET) Received: by wmvv187 with SMTP id v187so141004387wmv.1 for ; Sun, 06 Dec 2015 13:15:08 -0800 (PST) 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:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=1DgvNsvLNjSFwl+30yBuIyF0aYbML8r0CjqRsHjTsm4=; b=Ql2Gb45ySnB/aeFDagzOVTZIqBbIES1u82Xlf0MxPrWztBK07ZyFSXb8s+pI2roX/6 mxgPKU3hX4T7DIi9o5RmIzwqAVi78Wwl8bKBxaBBs7Ctq9zwakqriOXu0jAsbmyUzbRj XcTEz5XjE0rGo0zk68Qg6QVrZZ0s8xz8r/qMzgi7AR1Y2dtp7p7gPRa1NCXTPXzuRMOw WJPoN4q8V0wXcElP4eRG+LmsladAUAnshMqUm2lGipg3E8bMVLJDjD8YrzR/Lp2/SWmU Nct4dkFYPwqzJz5SU+N5I+XxA6tjSSJOfP8QLM9WWA0XkMRbPfcmE6sqr2xjlJQYRAxt xHCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=1DgvNsvLNjSFwl+30yBuIyF0aYbML8r0CjqRsHjTsm4=; b=inW/vXaNSwnSRcG4ffVy32HbSOU37SILwOkcWiTkxIZYRPF7oZV3ESpPrEInPm3cOS +CSu+q29rbNjHO16zHQSw9i+RWqaoPsCUIe+t9QY1OywP4zFCwXHVm0z20xbL+MF9lDg CLnk1A/puyhcixIlmtqugzQ7jf4byP4Lw5zkrDtuDA6cBUIOCgxd6Z1ay3E3IMdnUvKD cmDqMMDWWxlzlklicPCI8xPioT9XIytNk3lusLOJeJsp3HyLSnCgHyqhOa+yrlKCxa5Z V3gXAYsYUUvXrX8nchu9v2Fdl8ur0woPDpO26zjowNw6KNRc45WuZfq1atxT82TlXQau liBw== X-Gm-Message-State: ALoCoQk/HODzww55ZyP4LLyrts3K3ceE4HciFrHhUgiCoVWM/++pJVql+qrghbkKkEuRwLR3xchV X-Received: by 10.28.15.194 with SMTP id 185mr18069400wmp.9.1449436508592; Sun, 06 Dec 2015 13:15:08 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id z66sm13622525wmz.7.2015.12.06.13.15.06 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Dec 2015 13:15:07 -0800 (PST) From: Thomas Monjalon To: Panu Matilainen Date: Sun, 06 Dec 2015 22:13:55 +0100 Message-ID: <1833541.bjdJfsH0FP@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1449427566-15782-2-git-send-email-thomas.monjalon@6wind.com> References: <1449427566-15782-1-git-send-email-thomas.monjalon@6wind.com> <1449427566-15782-2-git-send-email-thomas.monjalon@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2 2/2] mk: fix shared library dependencies of drivers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 21:15:09 -0000 2015-12-06 19:46, Thomas Monjalon: > From: Panu Matilainen > > Similar to commit 113c8e13c4201eee207723571f83aaf285277d75, but > for bnx2x, pcap, sze2data and xenvirt PMDs. > > Requiring applications to know about library internal details like > dependencies to external helper libraries is a limitation of > static linkage, shared libraries should always know their own > dependencies for sane operation. This is especially highlighted > with dlopen()'ed items, having applications link against about plugin > internal dependencies goes on the side of absurd. > > Note that linking with a shared combined library still requires to > know the internal dependencies. > > Signed-off-by: Panu Matilainen > Signed-off-by: Thomas Monjalon Applied shortly for RC3 preparation.