From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2BEFCA046B for ; Thu, 9 Jan 2020 15:09:20 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 47EDF1C18E; Thu, 9 Jan 2020 15:09:13 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id B94251DDDC for ; Thu, 9 Jan 2020 15:09:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578578951; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=y8SLQ+H+6y6QF3Drv+yrQnvtTV7+w3khEtrQv+1aGDM=; b=TJPxp2Tduc0l86IYmUUworSxMZhkKHNx/OjkCwW1a3QJ8SadKoU5gPraJ+UhiG9kNGSo3E lb+NFDMDLHod4hAfgjEhrLSGQFdED6UkQPgLEGhf7uHbKulzYYUWkDsVUVtWPYroVOiPg7 5rm4X4k2tlDCnTefKRrqhDaQY8tb6Uw= Received: from mail-ua1-f71.google.com (mail-ua1-f71.google.com [209.85.222.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-401-PREiAOToOT-ZSBji6M33uA-1; Thu, 09 Jan 2020 09:09:07 -0500 Received: by mail-ua1-f71.google.com with SMTP id 35so1442063uaq.20 for ; Thu, 09 Jan 2020 06:09:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HRMTp6ujQ9p0+cCy0CRT3PSmjjjtMxkriKaVwCoJodM=; b=noF0jXi4X7r/3Dr7NrJDGyrWrOqsRRcDCOn9miIDNG5N18p6l7ovYj43ddBR1kOFy4 ZcxDNiad/IpBxZVkoysyEd9mmN4veIkA0fUK4c3TP1wgpCPYJ7/BaQRDMDLU+n50ojC5 8yUn80mnuzmAaRkCYzpKilxHprtc19qbrG+3i2ahNIFz3lcSyQT8rUHEK4BJ1fp+MrKu rbVwNYHC4DPFsUoPulsk3L1XxMTFpxl5+MLmCdQxNhPwTEyRHr/WEGBRA4XlsujI8G9x QzmRSUSfKr3sudZshmUGwU33p4AHtBA05FqaeHxPb8TJBKYIUJgf4p5eQzhOaC/Cbu0K xN0g== X-Gm-Message-State: APjAAAWpf9vqsxfhSlM1uotnW4FFbbyiHI14kNhbLDusi6IWmgihLbW8 56ViXup4Uow7V/lGj6OtViCgCx3N+ZpvN9KH/O0WytQQ/5xiTVOLrhTB61mMQw41kkjGlyWnoON nXO7PfwPOoVTmsCspmnVX71c= X-Received: by 2002:a67:f1ca:: with SMTP id v10mr5868624vsm.180.1578578947337; Thu, 09 Jan 2020 06:09:07 -0800 (PST) X-Google-Smtp-Source: APXvYqwxg62E1XBwD9YzUCuUXNe8szzXpK/w4bCYE4Ks3IfRtpSMRh0iGg/l8uOyGrxJhC4RSSG6zGA+yeLn2va1mW8= X-Received: by 2002:a67:f1ca:: with SMTP id v10mr5868603vsm.180.1578578946969; Thu, 09 Jan 2020 06:09:06 -0800 (PST) MIME-Version: 1.0 References: <20200109125916.32073-1-david.marchand@redhat.com> <20200109130900.GB248@bricha3-MOBL.ger.corp.intel.com> In-Reply-To: <20200109130900.GB248@bricha3-MOBL.ger.corp.intel.com> From: David Marchand Date: Thu, 9 Jan 2020 15:08:55 +0100 Message-ID: To: David Marchand Cc: dev , Luca Boccassi , Aaron Conole , dpdk stable , Thomas Monjalon , Ranjit Menon , Jeff Shaw , Pallavi Kadam , Harini Ramakrishnan , Bruce Richardson X-MC-Unique: PREiAOToOT-ZSBji6M33uA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-stable] [PATCH 1/2] build: fix libm detection in meson X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Thu, Jan 9, 2020 at 2:09 PM Bruce Richardson wrote: > > On Thu, Jan 09, 2020 at 01:59:15PM +0100, David Marchand wrote: > > Using version 0.47.1, meson is unable to find the math library in Travi= s > > for the 32bits job. > > Quite surprisingly, this problem is not seen with the 64bits jobs. > > > > Switching to 0.48.0, the problem disappears. > > > > But we should pass 'm' to find_library instead of 'libm' anyway. > > > > Fixes: 98edcbb5ab2f ("eal/windows: introduce Windows support") > > Cc: stable@dpdk.org > > > > Signed-off-by: David Marchand > > --- > > config/meson.build | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/config/meson.build b/config/meson.build > > index 01911ecf9..28a57f56f 100644 > > --- a/config/meson.build > > +++ b/config/meson.build > > @@ -115,7 +115,7 @@ add_project_link_arguments('-pthread', language: 'c= ') > > dpdk_extra_ldflags +=3D '-pthread' > > > > # on some OS, maths functions are in a separate library > > -if cc.find_library('libm', required : false).found() > > +if cc.find_library('m', required : false).found() > > # some libs depend on maths lib > > add_project_link_arguments('-lm', language: 'c') > > dpdk_extra_ldflags +=3D '-lm' > > -- > > 2.23.0 > Acked-by: Bruce Richardson Series applied. --=20 David Marchand