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 136E2A0032; Wed, 13 Jul 2022 12:51:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ADCFD4282D; Wed, 13 Jul 2022 12:51:32 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2060.outbound.protection.outlook.com [40.107.93.60]) by mails.dpdk.org (Postfix) with ESMTP id A7C684280D for ; Wed, 13 Jul 2022 12:51:30 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A8BtM0a1pYASU9SIMjlbHoyvMOazF4vDVej9KbYmfIQ51KKML3z+sykA2D3lmhKzBzqfF2JLYIWiIGJRAyt2CsyY+QO8oFsiJd4KnIX29CA+IbbCsjRgfUJASD3aCsP5t9d2fwF3G9re4eSEDavq0jB8okQ7Rov2Pc5GLWdU1TRtesrO7X3zrXshLqMFig/lKvSAv/QcAgnNjyeVMd+Hp66zNb0M0LcEq5gziMQh1N5dNQotPW5JlnQhhQ56ZGP6AnREvGpxl0Ok1roccqND3CRUWnEySx0Vx6HtrRJ4f7xsSy0g7C9clmOCeO8BqdYEavU3WLSGO5B7nfhByM5deQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZcWiGuuHWxRniOSdcbuGHxH6LnSW9IST3Z/EwhG3lFA=; b=hZ55lma88Jpg7BOgJT7VXX5SuK8dg2fUSH5P4SN1ZG30DXGnxnmeEDulTcrvXOveD5l3nC+rc4Nbgtkj6wejCbinkSpsKeBKXxsgCZORRkYO4kkclIqVlI5AelHhvRh3A8Nuo8D4/G3QFwJ1ocsrRVEqWn9gAjBhEiF4JiZm/hW4gKvxOTmKWRTHJndXdD/q92HKUe67ANDJRnKUdGEeCt/6wgsy/ykEXphh69oseL6xLRwv55HE0bl5irj5MZKCKJC7gbTYXJmhj3amgsa+StTEpsrn+xIY83gx30odiRSmlin/WHWwFrFH55mZivhaC4PU6wJFkSmQSDFWIfItRA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZcWiGuuHWxRniOSdcbuGHxH6LnSW9IST3Z/EwhG3lFA=; b=Bzrvpdy2CCxtPHGFn6PcwJYZER+E+8CV7FXMZj/h+SJAriXlPczJ1JM7CLj1IfoVK07ZeIewNUBr1Fdze9U/l6oHlc1lX8o4cGUClxHHqZe5GybeWW/Wk1wNSudB3Rr24wR4zwxtepu2q7xMxJrNj23k/udVdTUguwGnJ9uu5ufzBunNEi02CdS2OWcdMrAM7KnIV5bURkwLKegNXDAg1Xzcws0mpuVZjD4zC0h0aKH5lmybRL86wL04GRqkK/HQp+MajGcIOvb5Ipx6Aht3tXH/GvY4fEkOoh/baQtA2pA+faAlGgxUswP6mWIga6IaHbry7X6Q36EZQ0Eu5GTtsQ== Received: from DM4PR12MB5167.namprd12.prod.outlook.com (2603:10b6:5:396::10) by MWHPR12MB1582.namprd12.prod.outlook.com (2603:10b6:301:10::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.25; Wed, 13 Jul 2022 10:51:25 +0000 Received: from DM4PR12MB5167.namprd12.prod.outlook.com ([fe80::8b3:1cc1:b33f:14d4]) by DM4PR12MB5167.namprd12.prod.outlook.com ([fe80::8b3:1cc1:b33f:14d4%8]) with mapi id 15.20.5438.013; Wed, 13 Jul 2022 10:51:25 +0000 From: Ali Alnubani To: "NBU-Contact-Thomas Monjalon (EXTERNAL)" CC: "dev@dpdk.org" , David Christensen Subject: RE: [PATCH] config: set pkgconfig for ppc64le Thread-Topic: [PATCH] config: set pkgconfig for ppc64le Thread-Index: AQHYkfaY9fw6KXg6/UyGjbPSHjIkeK15oKmAgAJOOnCAAB5tgIAAC41ggAAPxtA= Date: Wed, 13 Jul 2022 10:51:25 +0000 Message-ID: References: <20220707114128.1635863-1-alialnu@nvidia.com> <10833404.lRi8OiJO2u@thomas> <10944950.2OtUDhi4od@thomas> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1126a472-3186-47ae-6d74-08da64bda1c1 x-ms-traffictypediagnostic: MWHPR12MB1582:EE_ x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SsDjh1ixEOKzIVOMWLMQN7X0qQWLa2dJJEqQYFSWw2Rk4/vTXr0PbIO3Tr6+5czYxRlAjtUsC2uWsZip2PHdP9ZN8/fCLyCrl8C/83NKWGNbmcFeVAljG6AN+2uxx0h6NBqRi05Fyu2+VzqnASyL+/tNEAtD5kQULTe8oFZFBcKx0fZT/cV4CZ7GF8so0R8eDB6FRwLdZqk+8+9ClnvztZsk0b+uNb2fVdsNX1zL9S/3ha7VTm2ZyNrSI4XJ5Lx1Gqx0Wa5kzv8U38tDIVkPc4vourKOAigg+VFljTl3fMQtoKNnaPC8XyLlSlGBWt0m48NQixtxn+zI0PC+N2SLKEd091Xtt5N906jvHxXyMCY71RoGjFQ1uoLsCBXZjnKLeyLkL+K3fRRWb9R4wPxYhLlxXgjwWqtxVnCOSyztlK6/cTyv3vO88Bdys+TYwxNY5FoxyEMF2CucQu1UbSl21FK+nCa/GV0Tw1FVdHrq94HGfUy2xeeKMnXeseD6krQH267Vt23sEet0irzNiFThiNFAgj27eg+ZCS/dQJr6Qn+CJl+MCYj4pHh2GyjSnGF5WPwUkF5jUoqzDI7RbVeaSmQ/CtowmXm5Ygd3G3OxSNbnvtWqyulsVxlU0VFtp4uxQAgMQp8a5bYvGTk+bJkRwjQmfGO6i1HMCGwunDeUAlOBfI4PmR3+Og8pNKJ0Sstw79eMBPbrzFqHrxLc+KPHxmApW5rvEPkm0Fr/QpyB9fyqhyWNrv5OV6qdHkH4b90F9/qWmby5yXiem/Q+YwiwlFhFb2bWwSuHCYw7cAKUveTgNhN9WSc+dRn20WGr01IlfUFVpPpysgsf7hCEU0yM6MBAhbHUkPN2NMwMv79AKrXt6eu09yYGumVAdNcAHnVrZKS3+xjhB9pl5oZjl/bIKA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5167.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(346002)(136003)(396003)(376002)(39860400002)(366004)(53546011)(26005)(9686003)(2940100002)(55016003)(2906002)(8936002)(478600001)(5660300002)(41300700001)(6506007)(33656002)(7696005)(83380400001)(186003)(71200400001)(316002)(54906003)(966005)(6916009)(38100700002)(38070700005)(86362001)(66446008)(66476007)(52536014)(64756008)(76116006)(66946007)(66556008)(122000001)(4326008)(8676002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?JivUaCsVv15WHXCxHZV0sJUlFJDUN0+lEbgr8i3Qwz8s9L/3/Dhz/DYubiU8?= =?us-ascii?Q?loBfqcpS6TFOqtQ8Jf99xgx2zUfseobX9AF0xSAnU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ftqEhOWj2FM0Yfe7DV7GDBOJuJvYQ3MeKX20TK/DBLap8bn0C?= =?us-ascii?Q?QbxVspViFkghlHi8PF6fQ3Z3LUZo7OvvCZsrmRwZWJjn2kk4ak/vh6J9j5p7?= =?us-ascii?Q?b5cPCfEe7Ucw8fm/Ca4r5/Dop6Eb/H7NYu4GHNZ7kpdwApgFDLzDl9urL5DM?= =?us-ascii?Q?jRK8tL1/BjqtM7ybmOyoSjvNx+FGVPiGQ4kbDpuqavQPxeywD+o7lCkDgqfI?= =?us-ascii?Q?zgGJioFrMCTymBcblDAAzzcwyNipsH3n/IdaZm1eJjOhBlwoSA7tj1FNwaK+?= =?us-ascii?Q?TCiiECJ627XnSaV1eTrQ6slIEAGYZr0yNCMmX0lbd7SYrjuSMK1Wb/1aTLZ9?= =?us-ascii?Q?vwVG3jipjE1lVmfgco1+VsMawjR9/4UbLvuPLP9GdOCUhDoV8BjJsr8eakQX?= =?us-ascii?Q?uIxZE7xNSDqSNjo2X0n3Ng39W4hyzmCVQx6YdU6OtrAqevP60FJbbZL3Efgx?= =?us-ascii?Q?aZ12Mo0O8TmawysaOZ33VN7UkOqvJKJ7JXEJ7EnTl46mVDJ+I+eyFTyOHGJD?= =?us-ascii?Q?vgPrdcy1P4uKZVr2sdOZf6bEIeWr0Qxq83xZaQ56OtIEWN9qXvCW9K0Kq/S9?= =?us-ascii?Q?YR9TtgBoo4TS/tOHqcZZqemVkncE8rrHjUBl0Dyt?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5167.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1126a472-3186-47ae-6d74-08da64bda1c1 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2022 10:51:25.1123 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: zSZ0N4ET/4obs3/u5PKli7KYo9W3wKxmVfvIBIHZV3xf9b0ZQS0KGIsNQLo7JmaGqD82/FV4uu0QSvCto2DLOA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1582 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 > -----Original Message----- > From: Ali Alnubani > Sent: Wednesday, July 13, 2022 1:14 PM > To: Thomas Monjalon > Cc: dev@dpdk.org; David Christensen > Subject: RE: [PATCH] config: set pkgconfig for ppc64le >=20 > > -----Original Message----- > > From: Thomas Monjalon > > Sent: Wednesday, July 13, 2022 12:12 PM > > To: Ali Alnubani > > Cc: dev@dpdk.org; David Christensen > > Subject: Re: [PATCH] config: set pkgconfig for ppc64le > > > > 13/07/2022 09:39, Ali Alnubani: > > > > -----Original Message----- > > > > From: Thomas Monjalon > > > > Sent: Monday, July 11, 2022 11:11 PM > > > > To: Ali Alnubani > > > > Cc: dev@dpdk.org; David Christensen > > > > Subject: Re: [PATCH] config: set pkgconfig for ppc64le > > > > > > > > + PPC maintainer > > > > > > > > 07/07/2022 13:41, Ali Alnubani: > > > > > Meson fails to detect the dependencies that are included > > > > > in PKG_CONFIG_PATH and built for ppc64le if binaries.pkgconfig > > > > > is not set in the ppc64le cross-file for Ubuntu. > > > > > > > > > > This fixes the issue by setting binaries.pkgconfig to the > > > > > binary provided by the package 'pkg-config-powerpc64le-linux-gnu'= . > > > > > > > > > > Signed-off-by: Ali Alnubani > > > > > --- > > > > > config/ppc/ppc64le-power8-linux-gcc-ubuntu | 1 + > > > > > > > > Why not adding the same for ppc64le-power8-linux-gcc? > > > > > > > > > +pkgconfig =3D 'powerpc64le-linux-gnu-pkg-config' > > > > > > I didn't find any operating systems that distribute the powerpc64le c= ross- > > compiler with the binary names found in config/ppc/ppc64le-power8-linux= - > > gcc. > > > Both Ubuntu and Fedora use the -gnu suffix. Fedora doesn't seem to > have > > a pkg-config binary for powerpc64le though. > > > > So how does it work on Fedora? > > >=20 > On Fedora, the pcc64 cross-compiler is provided by package 'gcc- > powerpc64le-linux-gnu' with binary names /usr/bin/powerpc64le-linux-gnu- > *, same as in Ubuntu. > The cross-file config/ppc/ppc64le-power8-linux-gcc doesn't work with > Fedora since the binary names in the file don't have the -gnu suffix, so = I'm > not sure where this cross-file is being used. >=20 > Another issue I found is that when I set the correct binary names in > config/ppc/ppc64le-power8-linux-gcc or use config/ppc/ppc64le-power8- > linux-gcc-ubuntu, I get the following error on Fedora: > config/ppc/meson.build:6:4: ERROR: Problem encountered: Only 64-bit > compiles are supported for this platform type > It happens because cc.sizeof('void *') in > https://git.dpdk.org/dpdk/tree/config/meson.build#n144 returns '-1'. I'm = on > Fedora 35. I believe that's because the Fedora package doesn't provide stdio.h for ppc= 64le. >=20 > Is anyone able to cross-build for ppc64le in Fedora?