From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7BFFAC2D0DB for ; Wed, 29 Jan 2020 17:48:20 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 0CFD7206F0 for ; Wed, 29 Jan 2020 17:48:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=monjalon.net header.i=@monjalon.net header.b="MVfLibjg"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="DXirGyjt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0CFD7206F0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D214E1C043; Wed, 29 Jan 2020 18:48:18 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 0371E1C037 for ; Wed, 29 Jan 2020 18:48:16 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 62DDB21E56; Wed, 29 Jan 2020 12:48:16 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 29 Jan 2020 12:48:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=acl0ymVs3nTajpUeTQB3jHgvR1qpw/neKy/toGNCSa4=; b=MVfLibjgGtes riZG9W6HRJR7e78APnYThUaa3he0y/LoXKtxf93OxPl1coM/2lGCBhlvtaKp+seU jEkdRov/tpqIzxmCT8Oup2DzwiZb26sAFN3krjaNhJmfBNDxJePfmzt279D1K1xI l2BBD+NwEnor1yd1wuvuv9viRyTBC9c= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=acl0ymVs3nTajpUeTQB3jHgvR1qpw/neKy/toGNCS a4=; b=DXirGyjtg2rzCAoax6+LwUOEhpnczX3sZx49E7/J4XvUEqsh2OtjaTbkG 1Lg46On01mWzNDlJz4/hhZkLYDHDe5p8kDevuJJDs/jRPDP/EAaHTdT/BcVvusbR pS8ovSYo1Y0bwA+JkdJpg10drkSwyMPwOBPgqaTmRAwAumVVwuv9xyRfTGx4Mhb3 lzJ9GH73kXKjqXxgeCzNUxyjAFPCPo15IuCpOkY4Q7ck0ikvG8oO2HkSdq/4xxVS HuqIUZSRSZxY/tLL9S2MtYpqorvDKH6XEi7+JdV5OFhihxDwHTIBXUBw6j4/4YWR ZwAbqz2qWh4vySEKSCrK93NoSSQCg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrfeeigddutdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuff homhgrihhnpeguphgukhdrohhrghenucfkphepjeejrddufeegrddvtdefrddukeegnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrg hssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 6B2753060B27; Wed, 29 Jan 2020 12:48:15 -0500 (EST) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, Matan Azrad , Shahaf Shuler , Viacheslav Ovsiienko Date: Wed, 29 Jan 2020 18:48:14 +0100 Message-ID: <4090132.ejJDZkT8p0@xps> In-Reply-To: <20200129153751.GA375@bricha3-MOBL.ger.corp.intel.com> References: <20200116071656.1663967-1-thomas@monjalon.net> <20200127154402.4008069-3-thomas@monjalon.net> <20200129153751.GA375@bricha3-MOBL.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 2/4] buildtools: get static mlx dependencies for meson 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" 29/01/2020 16:37, Bruce Richardson: > Error message I got is below. This is on Ubuntu 19.10 with gcc 9.2: > > LD librte_pmd_mlx5.so.20.0.1 > /usr/bin/ld: /lib/x86_64-linux-gnu/libmlx5.a(mlx5.c.o): relocation R_X86_64_PC32 against symbol `stderr@@GL I think -fPIC is missing. Which version of rdma-core is it? As documented, you may have to build the static libraries yourself: http://doc.dpdk.org/guides/nics/mlx5.html#installation CFLAGS=-fPIC cmake -DIN_PLACE=1 -DENABLE_STATIC=1 -GNinja .. && ninja