From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id D8ACF7EB0 for ; Mon, 3 Aug 2015 00:24:49 +0200 (CEST) Received: by wibud3 with SMTP id ud3so91434711wib.0 for ; Sun, 02 Aug 2015 15:24:49 -0700 (PDT) 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=Ub5DjI2cViFjOz0iXVDMobNyJUkQLX50pQlFntry3Ps=; b=Io/n6/evD1tkjdjhOpSle9wU6tYyvHqHUtaanvmO2/Hihx/1OlAOzDyk1rRmpLICsx K5J9Wfd5YagM+hXpe0VpveZoFzhUjxRDk9kgfs+lPBymASqUHGzp5iw4AkWF06er22xL HBoXvg3DovSTRPaRhv/5g42KXb0YePU5cI3HDZVFDvyhPdxUEXxbl825GvtcLG7rLBkm 8XkGf5W8Z8XH+dT5taPOIO/uvTPTWdvxGDzeTQ4Icz1COmfqDJdazFG2TURkLisYh1Cd KyxcUw+UxDNiW5uxb0lg1503rM/d0pElNVG1tx9L7yMH89lGo3xgTTAUGgk66PvIOzIJ iy8A== X-Gm-Message-State: ALoCoQm5f91oKqOMUzMYj6NUF95NPDcdXO3LVvdBJ1qViYuzm2Xy8uB6IbftBapDudzPDKV5hmVi X-Received: by 10.194.78.84 with SMTP id z20mr29784146wjw.141.1438554289577; Sun, 02 Aug 2015 15:24:49 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id pf4sm19592109wjb.23.2015.08.02.15.24.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Aug 2015 15:24:48 -0700 (PDT) From: Thomas Monjalon To: Nelio Laranjeiro Date: Mon, 03 Aug 2015 00:23:34 +0200 Message-ID: <1629489.P5PnBUKlIk@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1438348458-12291-2-git-send-email-nelio.laranjeiro@6wind.com> References: <1438178178-5062-1-git-send-email-nelio.laranjeiro@6wind.com> <1438348458-12291-1-git-send-email-nelio.laranjeiro@6wind.com> <1438348458-12291-2-git-send-email-nelio.laranjeiro@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] [PACTH v3 2/2] mlx4: fix shared library dependency 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, 02 Aug 2015 22:24:50 -0000 2015-07-31 15:14, Nelio Laranjeiro: > librte_pmd_mlx4.so needs to be linked with libibverbs otherwise, the PMD is > not able to open Mellanox devices and the following message is printed by > testpmd at startup > "librte_pmd_mlx4: cannot access device, is mlx4_ib loaded?". > > Applications dependency on libibverbs are moved to be only valid in static > mode, in shared mode, applications do not depend on it anymore, > librte_pmd_mlx4.so keeps this dependency and thus is linked with libibverbs. > > MLX4 cannot be supported in combined shared library because there is no clean > way of adding -libverbs to the combined library. > > Signed-off-by: Nelio Laranjeiro > Acked-by: Olivier Matz > +$(info MLX4: Not supported in a combined shared library) > +all: > + false changed to; all: @echo 'MLX4: Not supported in a combined shared library' @false Applied, thanks