From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 393261B101 for ; Wed, 9 Jan 2019 10:37:44 +0100 (CET) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jan 2019 01:37:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,456,1539673200"; d="scan'208";a="265686705" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.54]) by orsmga004.jf.intel.com with SMTP; 09 Jan 2019 01:37:39 -0800 Received: by (sSMTP sendmail emulation); Wed, 09 Jan 2019 09:37:39 +0000 Date: Wed, 9 Jan 2019 09:37:39 +0000 From: Bruce Richardson To: Thomas Monjalon Cc: yskoh@mellanox.com, shahafs@mellanox.com, dev@dpdk.org, ferruh.yigit@intel.com Message-ID: <20190109093738.GB2940@bricha3-MOBL.ger.corp.intel.com> References: <20190109020524.3633-1-thomas@monjalon.net> <20190109020524.3633-2-thomas@monjalon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190109020524.3633-2-thomas@monjalon.net> Organization: Intel Research and Development Ireland Ltd. User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [dpdk-dev] [PATCH 2/2] config: add static linkage of mlx dependency 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, 09 Jan 2019 09:37:44 -0000 On Wed, Jan 09, 2019 at 03:05:24AM +0100, Thomas Monjalon wrote: > The libraries provided by rdma-core may be statically linked > if enabling CONFIG_RTE_IBVERBS_LINK_STATIC in the make-based build. > If CONFIG_RTE_BUILD_SHARED_LIB is disabled, > the applications will embed the mlx PMDs with ibverbs and the mlx libraries. > If CONFIG_RTE_BUILD_SHARED_LIB is enabled, > the mlx PMDs will embed ibverbs and the mlx libraries. > > Support with meson may be added later. > > Signed-off-by: Thomas Monjalon > --- Just to clarify - if there is a shared library build, the idea is to actually link in the dependent .a files directly into the .so, rather than having the driver .so's track their dependency on the other .so files? What is the prospective use-case for this, and can it cause problems? I thought it was generally not advisable to be linking in static libraries into shared libraries. /Bruce