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 F037DA0A0F; Wed, 30 Jun 2021 12:03:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B742E40141; Wed, 30 Jun 2021 12:03:02 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 3D88D40040; Wed, 30 Jun 2021 12:03:01 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10030"; a="208362458" X-IronPort-AV: E=Sophos;i="5.83,311,1616482800"; d="scan'208";a="208362458" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2021 03:02:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,311,1616482800"; d="scan'208";a="476254373" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga004.fm.intel.com with ESMTP; 30 Jun 2021 03:02:47 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Wed, 30 Jun 2021 03:02:47 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Wed, 30 Jun 2021 03:02:47 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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 via Frontend Transport; Wed, 30 Jun 2021 03:02:47 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.49) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Wed, 30 Jun 2021 03:02:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C6sXJzs74u5PSeKmhYK+cY1us/Yzh8a0DvdF44Y/HRBdoAcSFkAMXHXclE7kR1G/RsfDpDsmqE89+7ubAL67wNSE+/NVfyX7S5Ic+RB410jJyvbaNnJPwFl4kJvI+NoaUcdyXPPe3CAO3L9OK9IzfZsLJ7L+b3aFL8AjA94Qc2hlupHhlBY61AbaRVX+ttli90ZSiZv750XDTS8ydeeazVHYAKINszPCciEIsUFU5oPs2sE3XFx/YEaYGJ08dqz98IeTNuwW46uam3zujdA8Q2H+0Y/EvdEQNt3cfa/EskEca0GYjaGe0lygh/QjPQZVqhrwbD+2Nu98N4+mOjNK1w== 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=COENOan+Euy6RhZ7G4VFLlXxNVCwGcwgM9iDXUuSrcM=; b=BGn1Sh1kzC+0pNCttms8i9Fh7sGON1XUviz3notkFceQ10HXmet2QxgjnBGIFfTNjNhx8wHtII4WusS2/9GTPDIZv8dxpeeDJKVEjNhfsQF+joIJZ2s1aWY1JaVsbk0VGGU1in4sMvQ2fN2dHmpBP6J/lhoHx6KP+cJLI02FM+pP61LzmLyoHtLVlPdqmrW7wPgQsjaCQ74d+e9+rRbAw7QcwRjM0BznCgmVq1jLI5EnhVQSSJlNQvXd+hQY20kxSwASlsgFS1WTuAbvrJkpHJIMWsm4Gt5F7KlWJsWPjuPnVELtDvuUqC15F1RPSFHvRqRM8RYoYmoFJLsCyrMjYQ== 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=COENOan+Euy6RhZ7G4VFLlXxNVCwGcwgM9iDXUuSrcM=; b=HB9fihb+MgD9hrAHxG+tjoPm9ixA263jhpiKHIYBwPIiJwGi6DJvira2G3sEVcaYprACt26ln5fHU60LtFek5BDrEmSeX1gbzoeRHKLsK7oEANBol7jr5Lm8Ow7XG7V4ENeSh0lOq/DCyDJN4I1bS9zc0pv7aGvPi2mxDqWHscw= Received: from BYAPR11MB2901.namprd11.prod.outlook.com (2603:10b6:a03:91::23) by BYAPR11MB3480.namprd11.prod.outlook.com (2603:10b6:a03:79::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.23; Wed, 30 Jun 2021 10:02:46 +0000 Received: from BYAPR11MB2901.namprd11.prod.outlook.com ([fe80::4884:3d6e:c6c6:4b0f]) by BYAPR11MB2901.namprd11.prod.outlook.com ([fe80::4884:3d6e:c6c6:4b0f%6]) with mapi id 15.20.4264.027; Wed, 30 Jun 2021 10:02:46 +0000 From: "Xu, Rosen" To: "Hussin, Mohamad Noor Alim" , "Zhang, Tianfei" CC: "dev@dpdk.org" , "Huang, Wei" , "stable@dpdk.org" Thread-Topic: [PATCH v2] ifpga/base/meson: fix looking for librt Thread-Index: AQHXbZIJFrY6LAwi+k+DwrQdWAKDl6ssUm1Q Date: Wed, 30 Jun 2021 10:02:46 +0000 Message-ID: References: <20210630092613.70647-1-mohamad.noor.alim.hussin@intel.com> In-Reply-To: <20210630092613.70647-1-mohamad.noor.alim.hussin@intel.com> 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 x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDFlNjU2OWQtOTMyZi00ZWJmLTliYWUtMjY3ZmJiN2Y3NTM3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiK3RYVHR0anBLYU9rdmtLMzhyV0NScVZVZHRmT21zZWdsZ2FzRkJRS0c5Z3pWWXYxcGhodHV0Tm9WWnQweU5UTyJ9 x-ctpclassification: CTP_NT 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.15] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e889993a-961a-4d87-087b-08d93bae35b5 x-ms-traffictypediagnostic: BYAPR11MB3480: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: f08GpnPKbvxiZVQApczJp6p/2e7tRCRDaNxrVsCuo7ZvOrwiCpeHxOqEzMb1R6lzkZHedoO8U7PdFj1YXYdkMZz2UxXoVyg9WesusDsmxQonbJj1dd9b1xEH1Cwwjyc1PSsRN331qzhlagjz3Ctv3yNR4u91DkxQ90iuDs6+vl5E9gcj7FgT1rpKRU6VnQSXbCNMbXn+F+DnNeilO7johwNR4OkzfCu4NieCiKxcNmdRlngPqOt38mDV/VNdnmopPr+fKedU2MUhfJpm6syBLPiu471rl2YK5lLZgaJzeuj2wQSywXhELcV+dF551wZRjAP9z9QQdV7ixAl3dQe3ZVPrax79TdKEl+6s4TZIa7iKueNzma/QXbC/vilWXS6XkxcqGuQk2GmWJpAlKb4sEfj49fFWX2LxbdiU8fcAEuGtUKhu2t/6CnrYU+Sqn2/CWgDmO9DZ3ahzkz1psD49CFZYl1cP+ddwTu8mWRaAd0T37T9cmNJ5x159db33DLi/IymXiDB6xqSXLcki/W1tCA2ZkwWjad/TijMGGFcp/J2RCc+S/NXgxOCyOtAQQDn2qwB28lhyUDS5mukqWSfUGY0lwW0nzKPw8F65skF6iTxl5zmAtnytcklpRxerZLkL/VJ+ioZKWZwx8CkIHmJfIw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2901.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(346002)(396003)(366004)(39860400002)(136003)(53546011)(6506007)(71200400001)(122000001)(8936002)(7696005)(26005)(83380400001)(76116006)(6636002)(186003)(38100700002)(478600001)(9686003)(33656002)(86362001)(8676002)(316002)(66446008)(66946007)(110136005)(54906003)(66556008)(64756008)(450100002)(55016002)(5660300002)(52536014)(4326008)(66476007)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?/uDINlmfidK7oVHReyemy8WkWde6CcR7/JQ2N77MoYe+EMxWNh4yLN67XK1S?= =?us-ascii?Q?7Mr6514GBSzEmnAXSOSj6lbs+JX1MwYbBgpsHMLIb6X/s5hVjffM/LLVqnzt?= =?us-ascii?Q?SXFdBYesiWw4IIcAz+wN+nNI2qhkYvHSJ35sccBXg21C9TBSlHmb9NsQ7w+b?= =?us-ascii?Q?gFV85cjt80j95Y9btJVkOIaXFTjfx4n6aoSztHfLjMr5pLD8UDRf1tPmSyPl?= =?us-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Ug73CflQ7J6ORjtS9V/+drRUzNrMNSdWzzJLrryNy9oVK?= =?us-ascii?Q?Lbl+ISAdp2Kf59ToUFysJX7TFJkb/lox7wbelHELFijcnad1wRIrhMgwGq9S?= =?us-ascii?Q?fD88L/2srQdkG2ab4K1CCf3uTNFUPe3XZcd4yANhIte2oKSZsH99LuizAHaC?= =?us-ascii?Q?QALlr3rzm/9hOwjIDsXdPLIcmDDPImYW+R9xYCCQ+o5R9KTNJfvQVD4QR+en?= =?us-ascii?Q?gdW4gC/Rm63Yd5LS3FnO2O7T?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2901.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e889993a-961a-4d87-087b-08d93bae35b5 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2021 10:02:46.0261 (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: oHjxB/EFdsDrJyamJum9k4WhRpU8wL/00uxLTiJ/NW/HlUsts3jUvsCsdmPKvrZo32ZiQsg+Afl1oFqaTaerWA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3480 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" CC Tianfei, who is maintainer. > -----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 >=20 > Finding with "librt" keyword would give the output with full path of libr= t 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. >=20 > Assume find_library() will prepend "lib", thus remove "lib" from "librt" > keyword. The output will shows as -lrt. >=20 > 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. >=20 > Fixes: e41856b515ce ("raw/ifpga/base: enhance driver reliability in multi= - > process") > Cc: wei.huang@intel.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Mohamad Noor Alim Hussin > > --- > drivers/raw/ifpga/base/meson.build | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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 [ >=20 > 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