DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Thomas Monjalon <thomas@monjalon.net>
Cc: yskoh@mellanox.com, shahafs@mellanox.com, dev@dpdk.org,
	ferruh.yigit@intel.com
Subject: Re: [dpdk-dev] [PATCH 2/2] config: add static linkage of mlx dependency
Date: Wed, 9 Jan 2019 09:37:39 +0000	[thread overview]
Message-ID: <20190109093738.GB2940@bricha3-MOBL.ger.corp.intel.com> (raw)
In-Reply-To: <20190109020524.3633-2-thomas@monjalon.net>

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 <thomas@monjalon.net>
> ---
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

  reply	other threads:[~2019-01-09  9:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-09  2:05 [dpdk-dev] [PATCH 1/2] config: gather options for dlopen " Thomas Monjalon
2019-01-09  2:05 ` [dpdk-dev] [PATCH 2/2] config: add static linkage of " Thomas Monjalon
2019-01-09  9:37   ` Bruce Richardson [this message]
2019-01-09 10:02     ` Thomas Monjalon
2019-01-09  7:51 ` [dpdk-dev] [PATCH 1/2] config: gather options for dlopen " Shahaf Shuler
2019-01-09  9:33 ` Bruce Richardson
2019-01-09  9:55   ` Thomas Monjalon
2019-01-09 14:23 ` [dpdk-dev] [PATCH v2 " Thomas Monjalon
2019-01-09 14:23   ` [dpdk-dev] [PATCH v2 2/2] config: add static linkage of " Thomas Monjalon
2019-01-09 15:03   ` [dpdk-dev] [PATCH v2 1/2] config: gather options for dlopen " Shahaf Shuler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190109093738.GB2940@bricha3-MOBL.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=shahafs@mellanox.com \
    --cc=thomas@monjalon.net \
    --cc=yskoh@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).