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 55F81A0A0C; Thu, 1 Jul 2021 15:19:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0544440141; Thu, 1 Jul 2021 15:19:07 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 39E4A4003E; Thu, 1 Jul 2021 15:19:05 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10031"; a="188916261" X-IronPort-AV: E=Sophos;i="5.83,314,1616482800"; d="scan'208";a="188916261" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jul 2021 06:18:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,314,1616482800"; d="scan'208";a="558650805" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga004.jf.intel.com with ESMTP; 01 Jul 2021 06:18:55 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Thu, 1 Jul 2021 06:18:54 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Thu, 1 Jul 2021 06:18:54 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Thu, 1 Jul 2021 06:18:54 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.46) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Thu, 1 Jul 2021 06:18:54 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ORO+hqXGdtoL54OrGmKuzLOCj5uI0CMmzDo3GFfS4wD3ELjjvHReB3yBmNEdAFcfR+EakrV5F0V6kWr+M02IW9xoIKNtDixnAl54KmY9QbsKbWrt6l41Y8DfSSGvxB8kuXGqNNOEuudpRx925tImVzOV4DjOjaFGKtU64Nf4WK7GGmvZhBmag3BClWhTqTi1iyPcEL50IwUYaUfzzclJU1TW8zAyRpnipkwYgakK3jKoiLsVVrFh1FYrI/7jFelCawNqGtiRaAzv3r2j3XEhJoIIYo13YXbtMzmutW6XIHL5KKMzLLGJX9Bn8GGprgOvBpRFcpiAPrJwBEEBwdjtdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CTQLXa7ReLrDHQ1gTQ2/SWzWtEl+MX0qDKtAsnBr0D0=; b=ij1eFfeaz6cIr9j2uQEbtd224XgrAq2AvE2LgunlReyd0OGkmRT1DU88prUnI09wlW73PTFt8a4n89fRA4A+T3f0E683EaEt5/ajWB8ce36U/J0Xs0oAG0al4A59Z/lADJ9FGxChnL0XQ5QybryV7JAd4UpXZx9+vARWpEVEdDin+fyyMSU8riFNC6RXv+DqNvIXzM5tFtw5SapwlyVH+2RF45U3OJUhJBvnCucwkYmR5hApt/xuxvp4B+ZYLR4HTxrl6a8HoLGNyldIIYDWpZs/Oc/5JMzqApj8Io8GG8SIxFqjqjIpZojg9R5HAjg6VPlELKVvYz3QJwACgtSq7Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CTQLXa7ReLrDHQ1gTQ2/SWzWtEl+MX0qDKtAsnBr0D0=; b=PXfCnM3sI41P6YYY6+av3jQBd+R4OPPCN3W2Qi8VuMpvnmhqKElQBkB3JSesg+qpQCk/wNN/UzF81NbmZlrihKcVGbW8xuL1N+mmm3WOyLUfkOjfDJzTdE7g3A4SDhyxeHm/3EFcZ5GKi1l8ThUtDtcU+5WdhNaTWuqBqfqyCBw= Received: from DM6PR11MB3131.namprd11.prod.outlook.com (2603:10b6:5:6d::32) by DM6PR11MB3900.namprd11.prod.outlook.com (2603:10b6:5:19a::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.23; Thu, 1 Jul 2021 13:18:52 +0000 Received: from DM6PR11MB3131.namprd11.prod.outlook.com ([fe80::8aa:7fce:d5b7:5259]) by DM6PR11MB3131.namprd11.prod.outlook.com ([fe80::8aa:7fce:d5b7:5259%5]) with mapi id 15.20.4264.027; Thu, 1 Jul 2021 13:18:52 +0000 From: "Zhang, Tianfei" To: "Xu, Rosen" , "Hussin, Mohamad Noor Alim" CC: "dev@dpdk.org" , "Huang, Wei" , "stable@dpdk.org" Thread-Topic: [PATCH v2] ifpga/base/meson: fix looking for librt Thread-Index: AQHXbZIJFrY6LAwi+k+DwrQdWAKDl6ssUm1QgAHCSRA= Date: Thu, 1 Jul 2021 13:18:52 +0000 Message-ID: References: <20210630092613.70647-1-mohamad.noor.alim.hussin@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.5.1.3 dlp-reaction: no-action authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.142.13] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b50f010d-8d8b-47da-6fbe-08d93c92c5b1 x-ms-traffictypediagnostic: DM6PR11MB3900: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bC9SwaFgYKBLKCkShrGD6h/KeGryHBS8gi6N0+uj0qxv1HPFz1pwrJupQX+Obfuu3pdocIVa6SN2K/UmbPTl+iEy4UN8mRK78CLZl3PbxiQEJhokZhYJXQBn5prB3vkLqO4/98E3ypzSSOUADuN6vJ56WpBx3GbwOAeWKDoR9OL14ACf/gENKRMgdm0MyhFgxnWoY/2SyL6bqP6LWdqyG2tZ7g6QeR4YmOrky9OwMAQ0HeiYKc79jZt8u+fRitWxhUy8BokoDlUYkGa0lW+JPxwdraYvrCh1AjJAVelgKMd60zQ2QI+2jsofsRIK/x9zID16g0nrKmIOnPghokYhyq+LI/DqVR+V9JipiHclrshWifjyhkb6Jm3sh07WNcx4L9rPXMZl4+ZOIV4RSefAlDHpw5Ebw2moLJN5JHGCmzFR6CAddMP2cqIuTaRImb/paZGDJIRsRj/z7WIa0COYmFHmQx5w8+7b/8kpov1QwMADcxWhGHX0X9FCVJppcmZOxBhT1G08ajSNqKPrf8KCxAiTuZIz/w0w3Y+hiVKQZLVKKI+QXgNeyzjCi/EDZBlxGCcnWQH/1YfCmy+MSjqCWw5knJVaPntFWZFGcjNvb8YwVLP6GCQOXOkEYwVTNkuya6Zm9a1djMEzut8H90+4+g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3131.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(346002)(396003)(39860400002)(366004)(376002)(316002)(52536014)(5660300002)(71200400001)(122000001)(186003)(38100700002)(4326008)(86362001)(2906002)(9686003)(450100002)(64756008)(66556008)(6636002)(8676002)(33656002)(66446008)(53546011)(6506007)(478600001)(83380400001)(26005)(66476007)(8936002)(55016002)(66946007)(7696005)(54906003)(76116006)(110136005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?NUg1OE9zNnVWbFM2NDVLcmoyRmN0RDRpQXlSaWMvQ25BQVVoZzc0REEz?= =?iso-2022-jp?B?Y25hNElGaTg4eVN3bGZPL2ZyRXRPdTRpL0J3K3hPbnlyaDRZNWVkcDFO?= =?iso-2022-jp?B?Y294R2k1M1ZnWE94T3dTc29LcjlpWTM2Tm8vVkJCWE5OV1ZSaWhJZi9T?= =?iso-2022-jp?B?eFh1VDRYa3RjeFlKVzVrcXF1a3pvZUk0VjN5TTNqZ2RFbE5tQVlKck9Y?= =?iso-2022-jp?B?bmNkQURWcFJhT0sxNmY0bTlEeVpiTVRpK2xNR3dYcWRIcFNaelJ6Zk9k?= =?iso-2022-jp?B?d0lOdXZMSDhXYVhWSWJ2bW5HcVFIbzBCdkxHMGtpWDVaZ1F6NmR1a2ZV?= =?iso-2022-jp?B?U1FTUUdoR00wbXFpQzN2MTBwOGVvUmJHUVRMSkNiZ3R2VHgyakhaQ0lk?= =?iso-2022-jp?B?bzlPaFU0aHIrZS8rcE1WWGFNYVBRalBaVmxCQVZrMWpaY2J2OHJmQzV1?= =?iso-2022-jp?B?a2x0RUdiSzZjbEVrSlNaQnFkalFFS2xmV3ZOeEZKa2d0UnBra3FGbXhY?= =?iso-2022-jp?B?M1dlZ0hLelFObldKSkJTcUduRmdLemVjaFc5WG11M0JObHJ1QWJTRnJH?= =?iso-2022-jp?B?eEdPeHRoT0JsVmxaUFl1Nj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c1MXdKbjZaZ09qYmJNS1J5OHN5cDhKYzZIZ29QTmd1d3hUSnhNa2h4?= =?iso-2022-jp?B?ZkduK3Q1b2FDS1g1VkRqVktDM1Jqak92d1ZrekRLVFo4eWJTaVFEZE91?= =?iso-2022-jp?B?cG5Pa1I2dGpPVm1KS0d1NnU5YXpYd2FuamFLbDZ4eTNXMUliRUxyczZ0?= =?iso-2022-jp?B?bnhsblpDY0d4WmFGY1M4Yi9JYUxJb3VpejVZRzh1WFJyVTRIWHhIVk9E?= =?iso-2022-jp?B?RC9COUJvRDFpRXlVRXhyM0JCSzZLOEZ3UXE0Q2MzdFpnRUZFMjdkb0ow?= =?iso-2022-jp?B?K0hMNmRQMnh5a3E3OG10S251S2VLY3NhZWU0bU83ZDNmeXQ2bkk1bFN4?= =?iso-2022-jp?B?Si92b2hzZUVESFJDNW1sc0tuUlBXa2lYTWRZVEZibTlMMlBSeHV3V2xm?= Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3131.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b50f010d-8d8b-47da-6fbe-08d93c92c5b1 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jul 2021 13:18:52.7808 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ASV2YVF4QldPlvx98aaGL+MBMegAb2IIMZannTGqzCjjZlpOz+458/jcGQz882qdMHb04+PSFeQPZU7kECjWgA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3900 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] ifpga/base/meson: fix looking for librt X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" > -----Original Message----- > From: Xu, Rosen > Sent: 2021=1B$BG/=1B(B6=1B$B7n=1B(B30=1B$BF|=1B(B 18:03 > To: Hussin, Mohamad Noor Alim ; > Zhang, Tianfei > Cc: dev@dpdk.org; Huang, Wei ; stable@dpdk.org > Subject: RE: [PATCH v2] ifpga/base/meson: fix looking for librt >=20 > CC Tianfei, who is maintainer. >=20 > > -----Original Message----- > > From: Hussin, Mohamad Noor Alim > > > Sent: Wednesday, June 30, 2021 17:26 > > To: Xu, Rosen > > Cc: dev@dpdk.org; Hussin, Mohamad Noor Alim > > ; Huang, Wei > > ; stable@dpdk.org > > Subject: [PATCH v2] ifpga/base/meson: fix looking for librt > > > > Finding with "librt" keyword would give the output with full path of > > librt such as > > /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/librt.so > > instead of -lrt in libdpdk.pc pkg-config file. > > > > Assume find_library() will prepend "lib", thus remove "lib" from "librt= " > > keyword. The output will shows as -lrt. > > > > This will cause an issue when compile DPDK app with static library as > > the path of librt has been hard-coded in the libdpdk.pc file. How to reproduce this issue? > > > > Fixes: e41856b515ce ("raw/ifpga/base: enhance driver reliability in > > multi- > > process") > > Cc: wei.huang@intel.com > > Cc: stable@dpdk.org > > > > Signed-off-by: Mohamad Noor Alim Hussin > > > > --- > > drivers/raw/ifpga/base/meson.build | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/raw/ifpga/base/meson.build > > b/drivers/raw/ifpga/base/meson.build > > index 8d27c6021..ce592a13a 100644 > > --- a/drivers/raw/ifpga/base/meson.build > > +++ b/drivers/raw/ifpga/base/meson.build > > @@ -27,7 +27,7 @@ sources =3D [ > > > > rtdep =3D dependency('librt', required: false) if not rtdep.found() > > - rtdep =3D cc.find_library('librt', required: false) > > + rtdep =3D cc.find_library('rt', required: false) > > endif > > if not rtdep.found() > > build =3D false > > -- > > 2.17.1