From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH 2/2] mk: fix two more missing libm dependencies Date: Mon, 21 Mar 2016 11:48:24 +0000 Message-ID: <56EFDF88.2040309@intel.com> References: <233492f10ac71dd9f6902eaa4bca425febc5d2c0.1458560038.git.pmatilai@redhat.com> <27d49a881875edbfdacbf8f621d38c3927a95881.1458560038.git.pmatilai@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: thomas.monjalon@6wind.com To: Panu Matilainen , dev@dpdk.org Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 7A07D2C0B for ; Mon, 21 Mar 2016 12:48:27 +0100 (CET) In-Reply-To: <27d49a881875edbfdacbf8f621d38c3927a95881.1458560038.git.pmatilai@redhat.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 3/21/2016 11:33 AM, Panu Matilainen wrote: > Commit e86a699cf6b1 missed two further libm dependencies: ceil() used by > librte_meter is typically inlined so the missing dependency does not > actually cause failures, and librte_pmd_nfp is not built by default > so its easy to miss. > > This causes duplicates in LDLIBS in many configurations so its vital > they are removed before passing to linker. > > Fixes: e86a699cf6b1 ("mk: fix shared library dependencies on libm and librt") > > Reported-by: Ferruh Yigit > Signed-off-by: Panu Matilainen Tested-by: Ferruh Yigit