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 9330342FB3; Tue, 1 Aug 2023 16:00:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6847A40F16; Tue, 1 Aug 2023 16:00:21 +0200 (CEST) Received: from mgamail.intel.com (unknown [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 7742140A89 for ; Tue, 1 Aug 2023 16:00:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690898419; x=1722434419; h=date:from:to:cc:subject:message-id:references: content-transfer-encoding:in-reply-to:mime-version; bh=FFsKAjTdri3dYepr0EJ2rLnqSxaGo0cMvefgmzLY/6Q=; b=QG8ahnKzBd0PJQeYtNkC++JN2+dtp0FeMUDtZAdOYjCS97aq6eidGyDo n2z65/renbE7esORYjeU9DgCEAHhWwmjP2wziaSbGldOz6ltXL1kJ9E5c EaD1b7ombeV7Iakr64QARwq7YdqczGcn3ZoqvvZi/Prd9Vd+GoS/34G+6 IWOvjdyURuur6WrV8TuoJMsOYUZo0mSSM9yud2xrIlD2sk+iJ5xF31M7S F0WBcSDyLhvHTlu+2Mes1uKul4+wNU/G/R/ClbKKOCpO1myQ4RcvcREWT etC3kuac4kIC45gQfUZPplhmPV18akWhB5TQY7knMDnaBgu7pOclOWDQp Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10789"; a="372016476" X-IronPort-AV: E=Sophos;i="6.01,247,1684825200"; d="scan'208";a="372016476" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2023 07:00:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10789"; a="678683791" X-IronPort-AV: E=Sophos;i="6.01,247,1684825200"; d="scan'208";a="678683791" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga003.jf.intel.com with ESMTP; 01 Aug 2023 07:00:15 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) 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.2507.27; Tue, 1 Aug 2023 07:00:14 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Tue, 1 Aug 2023 07:00:14 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.45) 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.2507.27; Tue, 1 Aug 2023 07:00:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OKs0zu8VG2AdBFSRvxijYIKwf93unLfFzu7B5JDMqETOan2D/1EdG3HIH6CiMw1JUITh1ZTh7epJStq3YbcAHF7bxCCemP9zW68IhX7lvIvJYlgUeUgxKrSfJ0QIinVdYYSxgPjp7f5C1ZhzADPIK4wQ7EiM/lWjsYHdZwXcm50pVPSiriBU04KP/w2Z9H87nHPDX1MMujeIXRX8Ct5iMltjmxwHYb/a32/97S63hD//z0G4tqOQtpztG/+mBkQoyfUXXBzzq7+s5yHIXJSHvTgLoWg+rxHhldRypJBCQ5tAL9r7IrG+CvEghoBhJlbFpxtCM9GBDagcdzUgFwS3Sw== 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=QlkOWqhTYFZqULVRmR2yLKsVJPl58RvNfESZ4DSrkDQ=; b=kU3mD9PzD3Xycl9Y08XSUd7vUyjUg9Sm+sqxW6hH6HI0eCKCxGz7PvUb1jA2okxoYihN0AkPNIZ9RaUH4n5450qLaQKdUO0I6mbFQ3o37NAkIOBppR7gT5g97cyi57Mb6ENFM3HZeQ2VugioU7v7pWJ1T8nD+YmZRTLiTZZdto99u3VVWD5jA6LnyQFcrB4Rstwve2hQ/zRao6Y/vHzJY3vkRt6ZLk2G3DNw67pzgSA9IUxXdhjpaKPXhaTdxraKRVEFzRJTBSYfPnI0Q0b1G/KAWRTUrddXaVHCg1uejcu3IdEcKh/BOOJz6cVSi6zVUbtSmAxjuev0zb7yrXbaCA== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by PH8PR11MB6801.namprd11.prod.outlook.com (2603:10b6:510:1c9::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.42; Tue, 1 Aug 2023 14:00:12 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::9802:65f0:c441:780f]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::9802:65f0:c441:780f%7]) with mapi id 15.20.6631.043; Tue, 1 Aug 2023 14:00:12 +0000 Date: Tue, 1 Aug 2023 15:00:06 +0100 From: Bruce Richardson To: Ali Alnubani , David Christensen CC: David Marchand , Patrick Robb , Tyler Retzlaff , "dev@dpdk.org" , Morten =?iso-8859-1?Q?Br=F8rup?= , "NBU-Contact-Thomas Monjalon (EXTERNAL)" Subject: Re: [PATCH v3] build: update DPDK to use C11 standard Message-ID: References: <20230731165810.3086571-1-bruce.richardson@intel.com> <20230731170539.GA22098@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-ClientProxiedBy: DUZPR01CA0219.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b4::16) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|PH8PR11MB6801:EE_ X-MS-Office365-Filtering-Correlation-Id: 16a8129c-4040-41a8-2843-08db92979fe2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: f+5/Bl3Wt2YQX1Rc29A9ndk3KbmRrETnm6danPlOOfan0r1Q9MJv5Ay/l+G40BjyMdOW5y7oRzxWA2T9jUcRTeGhBJTHHq0ORucxkwi7F0wNX0BC6Lm4fMaVn/fewQSzi3i6OpPEMdsw+MmNovJEaRUEeFc+c9dK8RHKWvCnA4lpn4jOqRyM9VqHWok7d4DdpHEtpUCcVODn+W4QN7BRs9AJIt2wawJEWIs2pvdTV1aymVyiptCokH+QU4im7oryamBMOBn1kIlObbtUe3loQEulh3I47flYXPecqOxUWP9r2pW8YEyCzt3N4ggu+eHV+/jtDnoKsC+UgY7Vk02jR4aKcqrSlvKJXYQ5VvttdeJ0zm/B2lcehe/8XJEGkc7zoXnTSRHQ/gdBIu6GC6zK/rCR/AkMUpF1Y5oJjJ9P32G7CPKfgyZcM0Z5zDOf8/7V/wIkxoDTR9J+IUR2YdCi/cctb28coPU0vL3vEHp4dGewaOFJNL3/OKn/1RifnpXiEI1ju16/rYndc18nNG8rWHvE6u6MYqqkyXj5Pf3DXiJ3pcJEyXqqJKLqQ+zdCFx7 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(396003)(346002)(376002)(39860400002)(136003)(366004)(451199021)(38100700002)(66476007)(86362001)(8676002)(8936002)(316002)(5660300002)(4326008)(54906003)(110136005)(66946007)(66556008)(82960400001)(15650500001)(41300700001)(478600001)(2906002)(6666004)(44832011)(6512007)(6486002)(6506007)(26005)(83380400001)(66574015)(186003)(53546011); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?Q?X4zVBqWX+JQM7x5LcnUX/BnKgAiwRXSXWx/t2CpUtNP0XDk6VGB2v4yP8/?= =?iso-8859-1?Q?EEWiFzLDJxemmHv2+4mrQlzx6c6PaFIoSsuBVR9GCPC0o1Z4/1Ac9YBzru?= =?iso-8859-1?Q?wWKo/NMbSCsNFjtmZcgkHwLam2bYff7hOG5hDW7Uj49gxxEWBWyFNYktis?= =?iso-8859-1?Q?or5+yGNi1iIe3cpn1tLcKGW34NSXwMUbw9j2npag1YLauE4Lzo4dUgu9hZ?= =?iso-8859-1?Q?YVpN9d+ckZAP+AUm4VEv4JOnS+ldxzuwdVz0rXB8jmOnDDlFpLUUqztdwJ?= =?iso-8859-1?Q?tkIMVc1w4oTl2pdzMuXR+FmtV1aZMVgXl1wl8rfXhkqpLT6KpjjHA3C2Bo?= =?iso-8859-1?Q?KbAYczXvWag6i9fAgWLoUvzIMveuEMKuNThh9iQQiUe2llQW8ppvODa4VX?= =?iso-8859-1?Q?hGZG1nMvz2nH1iy0xLL4yfLCioiYjsXuVkNEUI6fhOlcMTMZSfe9Fd+Aaf?= =?iso-8859-1?Q?ihCs+i1jh2NFgYDOGT5RGlFCK5uEhRq10m8/cGuwvzleIm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hdKLV+HJV2R8Ze1Xv3rLdU0lyBQopR4UWyRplrBqGA?= =?iso-8859-1?Q?fuXeMG+tPupCAnpsFfwnoM26x7CrB5kjOIRfEzCIIB5oChXNN0eApHnwNQ?= =?iso-8859-1?Q?CKhKeypHhtk8eR1w4/yY7l1H+UgqLrL0KZR26p0JcdbIf6l4UfnHMLuD/c?= =?iso-8859-1?Q?YIymRUhgEWkkyUOy1uzi4nENLrnyr4zeHuHHP/TdqcHlJADh3nS7NSS1JQ?= =?iso-8859-1?Q?Xd+hLzLA2il6rpwVDwwQKZ32a9FP3xogwMHcevbclA3jSGPV8AE/w7cQ?= =?iso-8859-1?Q?=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 16a8129c-4040-41a8-2843-08db92979fe2 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2023 14:00:12.5781 (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: f2+lioYH/xL7eUlstASr7FlL66pw4Ar090mOVFJikuuUNw5vfcBhMl+csa6RCRf2aSIJE5ukJmBrsPQE2gKgh7ePPR3fyQM4x2U/JB7U7GE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB6801 X-OriginatorOrg: intel.com 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 +David Christensen On Tue, Aug 01, 2023 at 01:47:19PM +0000, Ali Alnubani wrote: > > -----Original Message----- > > From: Bruce Richardson > > Sent: Tuesday, August 1, 2023 4:22 PM > > To: Ali Alnubani > > Cc: David Marchand ; Patrick Robb > > ; Tyler Retzlaff ; > > dev@dpdk.org; Morten Brørup ; NBU- > > Contact-Thomas Monjalon (EXTERNAL) > > Subject: Re: [PATCH v3] build: update DPDK to use C11 standard > > > > On Tue, Aug 01, 2023 at 12:42:36PM +0000, Ali Alnubani wrote: > > > > > > > > On Ubuntu 20.04 while cross compiling for ppc64le with powerpc64le-linux- > > gnu-gcc 9.4, I see: > > > > > > [..] > > > lib/acl/acl_run_altivec.h:44:16: error: two or more data types in declaration > > specifiers > > > [..] > > > lib/acl/acl_run_altivec.h:44:2: error: use of boolean types in AltiVec types is > > invalid > > > [..] > > > error: incompatible types when assigning to type '__vector unsigned char' > > {aka '__vector(16) unsigned char'} from type '__vector __bool int' {aka > > '__vector(4) __bool int'} > > > [..] > > > lib/acl/acl_run_altivec.h:66:4: error: invalid parameter combination for > > AltiVec intrinsic '__builtin_vec_sel' > > > [..] > > > > > Hi Ali, > > > > where can I get the full log for this error? Is it recorded in patchwork > > under a particular test set? I see compile runs for loongarch and > > aarch(64), but nothing listed for PPC. > > Hello Bruce, > > I run this build internally. Attaching build log with more info about the environment. > > Note: I'm using an out-of-tree cross file because the in-tree one doesn't set binaries.pkgconfig. > In file included from ../../root/dpdk/lib/acl/acl_run_altivec.c:6: > ../../root/dpdk/lib/acl/acl_run_altivec.h: In function 'resolve_priority_altivec': > ../../root/dpdk/lib/acl/acl_run_altivec.h:44:16: error: two or more data types in declaration specifiers > 44 | __vector bool int selector; > | ^~~ > ../../root/dpdk/lib/acl/acl_run_altivec.h:44:2: error: use of boolean types in AltiVec types is invalid > 44 | __vector bool int selector; > | ^~~~~~~~ I don't know anything about altivec, unfortunately, and the use of "bool int" together looks very strange. Adding PPC maintainer to thread. David, can you perhaps help out with these issues? Thanks, /Bruce