From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 92E1BA0C4D for ; Thu, 15 Jul 2021 10:00:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6446140140; Thu, 15 Jul 2021 10:00:35 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 29E5940140 for ; Thu, 15 Jul 2021 10:00:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626336033; 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: in-reply-to:in-reply-to:references:references; bh=n4++ybVbd65OI6D0oyqbB5XSfjWEwEtxgYVM0sAbRFA=; b=g4r2x+rPJdaCOyTSqukhrSx3BskLgDu0LM+TtwXfYFPEQU4Ih6k2DQRNFsUIm3w2vha7lD zeMTxrfSO64Nj+exJK4AWvbPXB2T7DwbR6waFZSXc9ZflL3ohS0C+bBMcJKLV1tBqkyhl2 HCA54hPHiC02ddBr8Nqa4dnJWbt7QoI= 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-361-G73vUZ8eMrWyxXtcH78-Ag-1; Thu, 15 Jul 2021 04:00:31 -0400 X-MC-Unique: G73vUZ8eMrWyxXtcH78-Ag-1 Received: by mail-ua1-f71.google.com with SMTP id w22-20020a9f2c960000b02902939e0aaf4fso1308501uaj.8 for ; Thu, 15 Jul 2021 01:00:31 -0700 (PDT) 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=n4++ybVbd65OI6D0oyqbB5XSfjWEwEtxgYVM0sAbRFA=; b=TiWEg5Wnzjqleq4V4dHhrE7T0UaY/AFaQotYBl5ix1ghs9P1zRCWxIsa5hV4jy6RLQ /jpHHLnaUp/jJGqkm2CWga7uvBemn2YSVm+LoaNZ36eltf/58vh+5kybBDsFvG5dc5Q7 cp7P/vchVa/DvLmpSVSr8edGKi1A3Ngpg63yEOh7iGFrbvS2yjwm5ZoF0sUMX73Z3eTm /9HlQOb9YSSVWD1NUxwgurDLJ9F6eWSBLaTAXweL1RDG9PqD3oveAofgsE0+ueQf+0x4 H3KLEoEgc/PWfPuCttgyOAOd3MfU4dTPR7IouHMJNKlWBYwlrgxgJBHH9t6CvQurNe1y aZTQ== X-Gm-Message-State: AOAM532Az8sZrgnlW0fk4XeH8H/tTW2wTL7iHQ+s04wL1qMV83xS+b0H wxvhDa9TzLAKzf1oSSjehA8LyepwFm4iS8AGyIL+cPRsVxy4gIO8rVm+3bvpMAkiLdhMgjU76i3 AVJntqd5/fqFkEMq2aH4gBGI= X-Received: by 2002:a05:6102:21b:: with SMTP id z27mr4674563vsp.18.1626336031263; Thu, 15 Jul 2021 01:00:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlwM/Kfga93r5gvWHEq/QnZeAhDYXpyMtUSwW9Gs6qHoei65/njfUtMiGWHbgo3cS0JQi0yj/E0ySFgLqb1TM= X-Received: by 2002:a05:6102:21b:: with SMTP id z27mr4674501vsp.18.1626336030945; Thu, 15 Jul 2021 01:00:30 -0700 (PDT) MIME-Version: 1.0 References: <20210630092613.70647-1-mohamad.noor.alim.hussin@intel.com> In-Reply-To: From: David Marchand Date: Thu, 15 Jul 2021 10:00:19 +0200 Message-ID: To: "Zhang, Tianfei" , "Hussin, Mohamad Noor Alim" Cc: "Xu, Rosen" , "dev@dpdk.org" , "Huang, Wei" , "stable@dpdk.org" , Bruce Richardson Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2] ifpga/base/meson: fix looking for librt X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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" Hello, On Wed, Jul 14, 2021 at 5:40 AM Zhang, Tianfei wrote: > > > > > Hi Tianfei, > > > > To reproduce this, assume using Ubuntu 20.04. > > 1. Install libfdt (It will include ifpga driver from drivers/raw/ifpga/base) > > $ sudo apt-get install libfdt-dev > > 2. configure DPDK library > > $ meson build > > 3. check libdpdk.pc file in build/meson-private/libdpdk.pc. It will include path > > to librt.so without this patch. > > I have checked the libdpdk.pc and got the different between with and without this patch. > Without this patch, there are a full path for librt.so in libdpdk.pc. With this patch, it provide "-lrt" in libdpdk.pc. > > This patch looks good for me. > > Acked-by: Tianfei Zhang I can't find the original mail to dev@dpdk.org and patchwork did not help. Please, can you resubmit this patch? Also copy Bruce as this touches a meson subtlety I was not aware of, and he should probably have a look. Thanks. -- David Marchand