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 6FF32A034E; Wed, 27 Nov 2019 16:54:59 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F3A1A1BE8D; Wed, 27 Nov 2019 16:54:57 +0100 (CET) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60068.outbound.protection.outlook.com [40.107.6.68]) by dpdk.org (Postfix) with ESMTP id 7EE151B943 for ; Wed, 27 Nov 2019 16:54:56 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HZOw+cphXiWJIa3GmFG3WrvH7naSC2W+Rujm0jmBYqTMsvgjXSfbtiznCojt32qaYQDBW6vR1KPN9xwrrcFReMTMyUDSVVf5TG5sExNbLcE5Wt/MXOACsTdYjxkEs/6H73xq/o7+XCVf+NdaXrK+Xs1VNcRa7WIsprDP+OfGdIP93A8mTSpigy5lLO99PQzaeT/rBAooMobDZANfgk2IWOSmmx8nKIBU7pq/wDfAxv68xK9X6fwDVx/2bp6w7HO4ExVpHQ4S429rdTbS/nFDkRVR1gVxj049fWJy1OPl5KByQAikM+plr/IRfuNl0ULpa8I0Y6NAi3bIOJquD3ss8w== 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=iu/DucmjMcd+kaF0GxW1dZVwVCr1+L5UXPBCYNYAibE=; b=h/bCFuRl65XAqyHqV2H3VXUChYElaBc0BKMWuEebelyUK+obO69ysPt72bGGOIZVwCMKajV6DuTOkpDotS0nTbAJNgAa+m2DHmWzcuglGVwPg0sFwoppELHYgCBrA95L6FJ1nPYyDvx7ZlfA1IvjmeuVnRHVZM6L7r1M71FMHEDCbbvDmYbE2Gh4jT0uMf5zm+CptRT+eTkLFaOyKq06wcOqgms+7yjCZ7TFE04s6x/gcOp3//3SjAxN8uVwHIQC1HLhMu0QFf6amQ0AAKAoOEXSA+ruSHHf2g9PtPa54mWHTKXr2MswOFFD6zPgjrhwjyYFdwGiB/mH7D4DgKoInw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iu/DucmjMcd+kaF0GxW1dZVwVCr1+L5UXPBCYNYAibE=; b=XEaGQmFNmk2Y9002mBiy3js1EHZyAUGpbuDUj7ayaKVIrHWQnmCiQG0BFP2YB6Z0GjSxGPrKpP8sj2KcokTFn3zD3UY9rxLlf4xl/I0CW1jqilO7xIhtqmJJp3Xw34P8VWvm0jpD37YZiYCJED2HP7zxqmII9ei/9XvH7+QTOOo= Received: from AM0PR05MB4401.eurprd05.prod.outlook.com (52.134.124.20) by AM0PR05MB5332.eurprd05.prod.outlook.com (20.178.17.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.19; Wed, 27 Nov 2019 15:54:55 +0000 Received: from AM0PR05MB4401.eurprd05.prod.outlook.com ([fe80::91f1:9c5c:5b38:284e]) by AM0PR05MB4401.eurprd05.prod.outlook.com ([fe80::91f1:9c5c:5b38:284e%7]) with mapi id 15.20.2474.023; Wed, 27 Nov 2019 15:54:55 +0000 From: Ali Alnubani To: Bruce Richardson CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 2/2] doc: add pkg-config-aarch64-linux-gnu as a prerequisite Thread-Index: AQHVpDGELi0iheHP5U+dMRoufTUgVaedNeKAgAALU5CAABiigIAAFkVA Date: Wed, 27 Nov 2019 15:54:55 +0000 Message-ID: References: <20191126081346.22889-1-alialnu@mellanox.com> <20191126081346.22889-2-alialnu@mellanox.com> <20191126095155.GA1622@bricha3-MOBL.ger.corp.intel.com> <20191126120037.GB1629@bricha3-MOBL.ger.corp.intel.com> In-Reply-To: <20191126120037.GB1629@bricha3-MOBL.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=alialnu@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 45d48258-0015-4ac1-c314-08d7735225c0 x-ms-traffictypediagnostic: AM0PR05MB5332: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 023495660C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(366004)(136003)(39860400002)(396003)(376002)(13464003)(199004)(189003)(55016002)(26005)(6506007)(186003)(53546011)(8936002)(966005)(86362001)(6116002)(74316002)(25786009)(52536014)(7736002)(305945005)(229853002)(256004)(11346002)(99286004)(446003)(76176011)(81156014)(14444005)(102836004)(316002)(7696005)(8676002)(14454004)(81166006)(2906002)(6246003)(76116006)(64756008)(71200400001)(66946007)(478600001)(33656002)(66556008)(66476007)(66446008)(66066001)(5660300002)(71190400001)(9686003)(6436002)(4326008)(3846002)(6916009)(6306002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB5332; H:AM0PR05MB4401.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NzCT18se9J8phcRAk1aQGmnzkjfQC+LqCEx2nB+wavTPs5OM23DUf0e3X63iEwhBQBd8NirXjNJtprUaz+P1xEcLwTqHwjG3HIuRg3TAYWP3oldyp0I+oj5zjhnKlBpeegjGmQNTHtDeytgFK1FV9QUgxsPDfsCSTvv5hYWVmrAUsXNDstf7ccGEx4YEQKVUwIXKMe+cAkye2zgkDpK9Sd91+IwJjDqxgpyBJqo+yd3i8zNAght44RxPBKKVrzT3zzrMzQ5CtLzOHAgDX2PTEs/FfrNWaZb+MPmzXg6xLPnEKjiq/xaxDjUdMyKqFTn59jLOmfP+vMsTBIzeswyTbhsjP9kbp6zANp70BfS0vCrMmcm1oFW0WCn10rh7wBTHUL2zn7rDLR7od4eP9nHdef5aa45CLE2YAa/fWRpP2txg0my1aPTOeoOIrikhFFenYCfj4ILI5lS/U2JN1Ph3c+9tLsdG7VF3YG6UF1B0AFE= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 45d48258-0015-4ac1-c314-08d7735225c0 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Nov 2019 15:54:55.2937 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 4M/4kya76ybXcrfdGcBXUxoNYjv8dBBaCgUdtgxTJHG0ECZFB7KLe/fYnWiIwR0K8TkC5Q6UpNuCG7O/gZvp6Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB5332 Subject: Re: [dpdk-dev] [PATCH 2/2] doc: add pkg-config-aarch64-linux-gnu as a prerequisite X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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: Bruce Richardson > Sent: Tuesday, November 26, 2019 2:01 PM > To: Ali Alnubani > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 2/2] doc: add pkg-config-aarch64-linux-gnu > as a prerequisite >=20 > On Tue, Nov 26, 2019 at 10:41:08AM +0000, Ali Alnubani wrote: > > Hi Bruce, > > > > > -----Original Message----- > > > From: Bruce Richardson > > > Sent: Tuesday, November 26, 2019 11:52 AM > > > To: Ali Alnubani > > > Cc: dev@dpdk.org > > > Subject: Re: [dpdk-dev] [PATCH 2/2] doc: add > > > pkg-config-aarch64-linux-gnu as a prerequisite > > > > > > On Tue, Nov 26, 2019 at 08:14:25AM +0000, Ali Alnubani wrote: > > > > The package pkg-config-aarch64-linux-gnu is required with meson > > > > for detecting dependencies installed in nonstandard paths. > > > > > > > > Signed-off-by: Ali Alnubani > > > > --- > > > > doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst | 8 ++++++++ > > > > 1 file changed, 8 insertions(+) > > > > > > > > diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst > > > > b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst > > > > index e799b0ba4..f00f9b130 100644 > > > > --- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst > > > > +++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst > > > > @@ -122,6 +122,14 @@ To compile for non-NUMA targets, without > > > > compiling the kernel modules, use the f Meson Cross Compiling > > > > DPDK > > > > -------------------------- > > > > > > > > +Meson depends on pkgconfig to find the dependencies that are > > > > +installed in nonstandard paths. The package > > > > +`pkg-config-aarch64-linux-gnu` is required in this case. To > > > > +install it in > > > Ubuntu: > > > > + > > > > +.. code-block:: console > > > > + > > > > + sudo apt-get install pkg-config-aarch64-linux-gnu > > > > + > > > > To cross-compile DPDK on a desired target machine we can use the > > > > following > > > > command:: > > > > > > Is there a package for Fedora or similar Redhat-derived distros? > > > > I don't think it's available. Should I add instructions on how to cross= build it > instead of the apt-get example? > > > I think you might need both. Distro-instructions is probably best, but th= ere > are a lot of people not using Ubuntu, I suspect. >=20 > Following patch 1, if pkg-config is added to all the cross-build files, d= oes that > prevent previously working cross-builds from passing due to the lack of t= he > pkg-config package? Do the travis jobs need updating, for example? Cross compiling pkg-config from source requires glib, which in turn require= s other packages (libffi and pcre). Do we want to add instructions to cross build that dependency tree? I opened a pull request to the Github mirror to make sure I didn't break th= e CI: https://github.com/DPDK/dpdk/pull/14 If the binary 'aarch64-linux-gnu-pkg-config' isn't found, Meson seems to ju= st show the following warnings, but it doesn't fail with error: ''' Did not find pkg-config by name 'aarch64-linux-gnu-pkg-config' Found Pkg-config: NO ''' I'll send v2 with an additional patch to add the package to the list of req= uirements for Travis's environment. >=20 > /Bruce - Ali