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 3A71AA034F; Mon, 7 Jun 2021 21:16:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 98371410FE; Mon, 7 Jun 2021 21:16:43 +0200 (CEST) Received: from mx3.qub.ac.uk (mx3.qub.ac.uk [143.117.16.74]) by mails.dpdk.org (Postfix) with ESMTP id 11E5E40147 for ; Fri, 4 Jun 2021 11:33:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=qub.ac.uk; s=qub-rsa; h=MIME-Version:Content-Transfer-Encoding:Content-Type:In-Reply-To :References:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=YUGC4ktSGHRofeOkAkM9nksfoLMiHcazsiSS7Al0RrY=; b=WfqnJzPPzSw7HbZe+DZ6tC/4EY 8YTsaiBJgvZr4r86NYcbi8awZcHEziwZiXX/jbVKArMJgI4vPIVBROyQa9d6OO8NN5hpqTJGJkEjT nKrCgZkSFqgIAUcS23f4LEPBzYoVEao3BsfN2Z6xt3ykvPQP/42hmgcqoWjtSHA0x5Cw=; Received: from smtp.qub.ac.uk ([143.117.16.195]) by mx3.qub.ac.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) (envelope-from ) id 1lp6CJ-000KfX-SK; Fri, 04 Jun 2021 10:32:59 +0100 Received: from mail-ve1eur03lp2056.outbound.protection.outlook.com ([104.47.9.56] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by smtp.qub.ac.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) (envelope-from ) id 1lp6C9-0000UU-Ki; Fri, 04 Jun 2021 10:32:59 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bJfamSB/Ewjnzt0oF8yaNRn4wy/H46zn3FI7yti2fAPLf4KQazBqKCWMgMb4WuLb9S3qSm+ewi7DqZ0jk/bP6jfE1tggMalMkOSV75WsGnX2lriqaEoaFH9O2NmdEOq8U+YmdW6hy7l0BH3PAeFPAoYpFT2L4rvz69gBUh/E15A+ASOvtBoM4msbLj+qjKuiz0dP4/tpIUPAKVqIrxfymnWOpAki4lNrIyQBrYQeyzTuE71KDJ+jkNLrZ1oBa3ama5kNRtdEWlIfnMVTz1zcEEAvo6Ccj8v11ia2myOKO5QqFeawK15JZ3BlCn7ORLtazpUqlmAf7c14kKUlDp9aQQ== 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=YUGC4ktSGHRofeOkAkM9nksfoLMiHcazsiSS7Al0RrY=; b=bipA8qIs3AcykuPcWrxwNaeKuC5MZPoierqld01TLrLWOmV37PPKmAP2blpeKVDLRZcdKi/keGMrjqjqeueYWTQQSncOZkplyhG91+BVLIDs4DJ4VNIu9Q5qHRrpGNKZ6oaB8EiC4q4jst2kFrG96lV5w/W/RCv225/pPguX8VWxWMIW5jQocgO8DCRLZcbTvDEketouVr09iFi8QO8Cciifxy5ANK64A+Tagqb6UGLG31e+QAYBGfwR/UYXxCkiALh4MUz0k/0YB8KjEYzWGsiLo5R/enqOUaCvFhjyEbHL+KG1o1dtP6b+U9TTX6oVl5CCGeijJ9GHZn3XhOrq2A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=qub.ac.uk; dmarc=pass action=none header.from=qub.ac.uk; dkim=pass header.d=qub.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qubstudentcloud.onmicrosoft.com; s=selector2-qubstudentcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YUGC4ktSGHRofeOkAkM9nksfoLMiHcazsiSS7Al0RrY=; b=TatIVOauSZX5I1Aw4Uai40IcFxSPwRk18ctWc6JSp2VcMVDIiY9EbrMyTKo+d7XM3zQXMpO1Z0PmIs7iPujAI7sQA78e5149vFiXCCEXITb2W8we4g8F7LxXHGdzgkziKi4sxPIlO4U6hPIFbNftNPa1VrzVzrw0pYUF4EQfjYo= Received: from AM7PR07MB6360.eurprd07.prod.outlook.com (2603:10a6:20b:131::10) by AM6PR07MB4582.eurprd07.prod.outlook.com (2603:10a6:20b:21::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.12; Fri, 4 Jun 2021 09:32:48 +0000 Received: from AM7PR07MB6360.eurprd07.prod.outlook.com ([fe80::5804:4b1:8ffe:3bb8]) by AM7PR07MB6360.eurprd07.prod.outlook.com ([fe80::5804:4b1:8ffe:3bb8%3]) with mapi id 15.20.4195.023; Fri, 4 Jun 2021 09:32:47 +0000 From: James Grant To: Ruifeng Wang , "viktorin@rehivetech.com" , "jerinj@marvell.com" , "bruce.richardson@intel.com" CC: "dev@dpdk.org" , "nd@arm.com" , "david.marchand@redhat.com" , "thomas@monjalon.net" , Honnappa Nagarahalli Thread-Topic: [PATCH] eal/arm: enable FreeBSD build Thread-Index: AQHXWQVny4LxMYgY90mGbwSVFt+8GqsDlrUA Date: Fri, 4 Jun 2021 09:32:47 +0000 Message-ID: References: <20210604054851.425452-1-ruifeng.wang@arm.com> In-Reply-To: <20210604054851.425452-1-ruifeng.wang@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=qub.ac.uk; x-originating-ip: [92.40.193.182] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3487267c-fadb-46ad-9fc8-08d9273bb735 x-ms-traffictypediagnostic: AM6PR07MB4582: 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: H18XIo2T2OPb68kD/QfUjDoSSsCfbgyfYd1TESrEbrYwVuMoCPgpUqbqWkGboJw3pDRohY3DMZXe/kPqKYlCYugniXavVJjqWW0SxlYOoxyCwAX5i3iXh30XuZHMwZp1l0l1qf8FP2iqJvGiXYf5CZcZ9ijqL53G7XIBctn4jPdmTuCaILUh+z5RoO5u5gKlk784quRXkSRi5R8oycWapFlM9ksNNRvl7RRrVcKaFK8OuvhmRVPbApfU9EsJmJiOLXIKcuziefR4bBYl9YEwSOmFgwTlGONiGd1fvkmDn43UxnN9Lq3QRN2aUfld7RqgJttPwbfw80S9Es/lrzvRCSWhI1RJB5cX//BuMWYC/+ouqVB9FwodD0DRgvZRfnNKkH0nZgy44JVce+djVLL1/116HoeJbQ/wg5YkDbP2Nv8RIvEA8nn2Yz8EjwFQBXatYNZdjni3HFvL9+mAq7+YhaSLx3NKIia3hC3itzovxi34hLFaQO+fYRbEznT2S77h7jemC0MqrfRpAVTqmIXl+jUXizLW4HgZ4iQ8Y3uz/WYHULaqoP98atOAel1lVsn/lwV49s7k/zYLaVkGNpUBwarW75IuDT+qSdaGQtOTWPg= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR07MB6360.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39850400004)(136003)(376002)(396003)(346002)(366004)(66446008)(64756008)(66556008)(66946007)(66476007)(5660300002)(33656002)(2906002)(55236004)(76116006)(122000001)(786003)(38100700002)(316002)(52536014)(71200400001)(478600001)(54906003)(26005)(110136005)(9686003)(53546011)(6506007)(4326008)(7696005)(186003)(86362001)(8676002)(8936002)(55016002)(83380400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?F/NYoV3PtlssFXNQYiOJW2WqTtY2SoJRmzh3fq5uxxhmTmuNpKwB2bb1rPdP?= =?us-ascii?Q?DSf6h/A9Izk/WY2FQn9qoGnJ0/enkPSEYsb15N9Jwprwi3n2mAPXNARWTk+Y?= =?us-ascii?Q?aJ9IVQdBaBcQrLvVFKtMj1rf7mLf87kJBIpgSIvwTwNnMvNE9UwPS20pKwqV?= =?us-ascii?Q?4VSNVFU89tNOVlq0RIyarToIShEMyUe6h8RW9DtLleAh5fCs9ZuACXQYn/R2?= =?us-ascii?Q?GNHukXH9ZZgI1+7Uk8g+RMhFSh54biE8TPkM+GtzL/r+bBCifMlLi2IESt21?= =?us-ascii?Q?YMfsjDVc+G3AsWoEDu5ibDtGQC0j34iXI9tHxRbfHyLstJurUdLYTA747+Yt?= =?us-ascii?Q?4CBvZr2SzQFGz2dAH55IYtyDW2EPlDiBjQ41T5GeD7d9347NAkKKZdWcv+ce?= =?us-ascii?Q?c+jfyNPf0SrNNt4NcPMY5MTYNenZskrZOFwx+gxfVP7QlN+PDykrBqs/+8D1?= =?us-ascii?Q?oMQrUlaQKcwGGjFIK7DPp9nU51XPOTNpLpb9ZKY+OPqclXo8X8pxgwIIcRP+?= =?us-ascii?Q?HBQ8+qWboODG2wdKkBPzjfdxVfB7QFYbxCis0DTB9zwE/qz+WyiQUmSGq/gC?= =?us-ascii?Q?MoRQvuoXZowf8/wvgxJv3LxySFBFe/KKgX0a/42ilBDA9zx+zvy4mP8MJUyB?= =?us-ascii?Q?HZD4Efl5tVlyx9pK/h9Sfo7oZHwvMn2Az8A2t5EJJEum2eVeiIP9Q3lKxg9c?= =?us-ascii?Q?Rt2+L/JqVKIWAi1Ax9AldEfwufXCcW/aLE2dASCqSC/KH+mFkPTvw9X0OqIe?= =?us-ascii?Q?Ja4SlRWk7/d+G5w43Db7/N2lC0ADD046tuh4C3N82pZBHvZ+OrJWziGIU5CI?= =?us-ascii?Q?8AXZA6Ahsv3xpas0+dWnopJ5N4pgoCaLe2B0zpFWj7HzgyhnWNP9fQ48YIwo?= =?us-ascii?Q?gQHl1JqAtgdq/8N28yriIwYfZWFJXHjon0R3jwqsg8eDStearhrMf11/CS1k?= =?us-ascii?Q?Bz9NvqyIMQXGWjJYcHw0q4VEHyi3WcHJRJz24OuOQtoISqWZp1LnS6UlLg6R?= =?us-ascii?Q?y7bgo/XJNPkyjmUWvK9YWpGqgY/nh+KOpr9clano7+CU9lDAxVh6E+bi1/D7?= =?us-ascii?Q?SAe5WCggvd9oMqJy2Eaipqtw/KVGFwEXhCso3GCabKBsw7mg50RB5gAj3bPe?= =?us-ascii?Q?S++Ok+DBPza1QyZ0KX3ho41wl1XbNZBpTEVpgAMz+FHiGc2qk0e/0hDyfTPJ?= =?us-ascii?Q?PbEbJrOy2+/vj66RGc1YAG0Q+rLFF0bsz098oIYt3CLB1MKm35rj+6QTIB3z?= =?us-ascii?Q?cE0dIEe6eXRcc+MktkCqBnyNZlQBScWphM4gw2pi3Sk8ifo02UpLWKT3x6n1?= =?us-ascii?Q?wA83DrtXX55bIDVSivFI/y+n?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: qub.ac.uk X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM7PR07MB6360.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3487267c-fadb-46ad-9fc8-08d9273bb735 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jun 2021 09:32:47.8431 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: eaab77ea-b4a5-49e3-a1e8-d6dd23a1f286 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: sMjjwNw7O/QWtGtcN4wm2UL/zk2DnF1WaqIZVtKmFCs0sjnGL252RINpxakH9oIQrMzEuzeLi6GGHoIfWCTcRQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB4582 X-Spam-Report: ---- Start SpamAssassin results SpamAssassin Version 3.4.0 on cmc-sa1.qub.ac.uk -1.7 points, 10.0 required; 1.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [104.47.9.56 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [104.47.9.56 listed in wl.mailspike.net] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.5 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.net/Why?s=mfrom; id=j.grant%40qub.ac.uk; ip=104.47.9.56; r=cmc-sa1.qub.ac.uk] -0.8 DKIM_VALID Message has at least one valid DKIM or DK signature 0.5 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid ---- End of SpamAssassin results X-Spam-Report: ---- Start SpamAssassin results SpamAssassin Version 3.4.0 on cmc-sa3.qub.ac.uk -1.7 points, 10.0 required; 1.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [104.47.9.56 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [104.47.9.56 listed in wl.mailspike.net] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.5 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.net/Why?s=mfrom; id=j.grant%40qub.ac.uk; ip=104.47.9.56; r=cmc-sa3.qub.ac.uk] -0.8 DKIM_VALID Message has at least one valid DKIM or DK signature 0.5 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid ---- End of SpamAssassin results X-Mailman-Approved-At: Mon, 07 Jun 2021 21:16:40 +0200 Subject: Re: [dpdk-dev] [PATCH] eal/arm: enable FreeBSD build 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" Hi Everyone, Thanks for the help . I was able to build DPDK using this patch on a physic= al machine. Best regards, James Grant=20 Senior Embedded Software Engineer | CSIT | QUB. -----Original Message----- From: Ruifeng Wang =20 Sent: 04 June 2021 06:49 To: viktorin@rehivetech.com; jerinj@marvell.com; bruce.richardson@intel.com Cc: dev@dpdk.org; nd@arm.com; James Grant ; david.marcha= nd@redhat.com; thomas@monjalon.net; Ruifeng Wang ; Ja= mes Grant ; Honnappa Nagarahalli Subject: [PATCH] eal/arm: enable FreeBSD build This message is from an external sender. Please take care when responding, = clicking links or opening attachments. Build on FreeBSD on aarch64 failed with error: lib/eal/arm/rte_cpuflags.c:86:9: error: unknown type name 'Elf64_auxv_t' The data type is used by OS Linux auxiliary vector read, and not used by ar= ch specific cpu flag API implementations. Hence remove it from Arm file. Reported-by: James Grant Signed-off-by: Ruifeng Wang Reviewed-by: Honnappa Nagarahalli --- lib/eal/arm/rte_cpuflags.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/eal/arm/rte_cpuflags.c b/lib/eal/arm/rte_cpuflags.c index = 845770f1e5..d84c9fc09f 100644 --- a/lib/eal/arm/rte_cpuflags.c +++ b/lib/eal/arm/rte_cpuflags.c @@ -48,7 +48,6 @@ struct feature_entry { #ifdef RTE_ARCH_ARMv7 #define PLATFORM_STR "v7l" -typedef Elf32_auxv_t _Elfx_auxv_t; const struct feature_entry rte_cpu_feature_table[] =3D { FEAT_DEF(SWP, REG_HWCAP, 0) @@ -83,7 +82,6 @@ const struct feature_entry rte_cpu_feature_table[] =3D { #elif defined RTE_ARCH_ARM64 #define PLATFORM_STR "aarch64" -typedef Elf64_auxv_t _Elfx_auxv_t; const struct feature_entry rte_cpu_feature_table[] =3D { FEAT_DEF(FP, REG_HWCAP, 0) -- 2.25.1