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 C505442F93; Wed, 2 Aug 2023 12:10:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 95BB640DDB; Wed, 2 Aug 2023 12:10:59 +0200 (CEST) Received: from mgamail.intel.com (unknown [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id E6F264021D for ; Wed, 2 Aug 2023 12:10:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690971058; x=1722507058; h=date:from:to:cc:subject:message-id:references: content-transfer-encoding:in-reply-to:mime-version; bh=YxAr5uPl68zw6zfB8rY8oD6B4W+KDAmubl9EnFpoBHU=; b=KNVOInFMPoWHRsOptYDguJg9jDOqVzj8PcB/apzueuwbc7ilx8sUtDKL NpmgYyEElZLrajU+S1ivgd+7Cgfzmp6aN4hqInh0y46Bvayl6KpVWnb4m Qk/aHGBmc2JP3vJMjevcrnqRAWWIcf80xlsfmouivT12cNMMnpqtMNja0 M41Zsk7RzL0pblKI5RILIf9WiJdbSZk2VfVxGd9kk5m26EY20HxQvg+m9 qseoUWWmGeADWYOoBfU2qH0LvSwOAaCwb2GxTFkX9q1vSNM4WyOb0gjMZ KYQj8+MYF+bUtPlUVjtlg2ttt8UtfJvl3oQ7vkl1SM096hjWtzNZKbjqG Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10789"; a="400489081" X-IronPort-AV: E=Sophos;i="6.01,248,1684825200"; d="scan'208";a="400489081" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2023 03:10:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10789"; a="732325520" X-IronPort-AV: E=Sophos;i="6.01,248,1684825200"; d="scan'208";a="732325520" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga007.fm.intel.com with ESMTP; 02 Aug 2023 03:10:39 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 2 Aug 2023 03:10:38 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Wed, 2 Aug 2023 03:10:38 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.169) 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; Wed, 2 Aug 2023 03:10:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PNxlmw0GeziTkKYUFiVqp7PyBK0E7WCto3lR7jKiIncqYm/6lzY+IPMxsjgrttcsmyV6/71dEhnKnkslAKZXYmw4v+BzR+SXK4UNFfjWrCoXst2NUJOmA5iXaZF4W1aQgyoDTaVLnGFsGBCM+wtwHeAkgnwA2nVggA2xqBuiO5ddmaOSQrhjftJunbkkWzUypJOqalqWlDYbcUt0pHGW8WWRxyINn3ya0AYINgEnD6AJ7rbPqGu6wkW53snon+2fap8UdCUK8925vV4tNZNmvxtgq37Qp7dE+otrkvlyaUyRpEdwLiFORtRLkv3+cdiRlu2lGa2GzxHGwbGiyirT2w== 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=y6wvB4SJlG/ZCn4ZvACEQNzPk2N8e4Y0dE4ilMJ1caw=; b=Pfl+I8VvdFn0HRcbtHNyZ+x984700bdVNNieYAukcFoZ9hyOTit2N1AJEj9WjZzZgGaxnyrSR1M9RdcUWphhSTGoox7cGy3k1jlSJ1ydKH/CSHVaeXLT0EiMYAnCYsCEJ9/KPgwYrjTLjYe9277XCF0baFXv4ui3dYbPp4/+9D4tYZOPiZOKI5UqUiKIYzbyYkg9Emerwl8aPH1A5IawVFmN+ZENnMjM2YlX6Qf+Q7ww75EY5mpDWTn07/Un86dmx78K7zvOB9Yf9mmHxoTlRfuXdXrK3atedMPfcabTaDHYD2MnO3wQ8Ltv1GQqWhiXlospM5xHeIkrEIs43TgDWA== 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 PH8PR11MB6754.namprd11.prod.outlook.com (2603:10b6:510:1c9::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.45; Wed, 2 Aug 2023 10:10:36 +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.045; Wed, 2 Aug 2023 10:10:36 +0000 Date: Wed, 2 Aug 2023 11:10:28 +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: <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: DB9PR02CA0022.eurprd02.prod.outlook.com (2603:10a6:10:1d9::27) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|PH8PR11MB6754:EE_ X-MS-Office365-Filtering-Correlation-Id: e08fe9e3-f3c2-46ff-4f88-08db9340b6f9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nFLH8nN60hx1GM4mjf87/sZcxmbH1Za95AntbcsAAgO58+MoKfsAETD9k7go32qhGwPLXlqQYFRPfGrRnIjnDt9eALsZhDBrELpIv5FNZ9Dmp+Cf1vSS2CBEsC065mpykINb28Ol7q3inZcWbxaMie7wQ+SxD1lJokXbVtftUy6VQQnVcubVMuJUmmHx15I1M98XkD+mIWkbO5jNkXptF0TR/nqn7Ij15yKO3a1dcXUUltQRmIs5ayrL7Sisw7kdeSHvSFBjJOmpEwEUpE3xdlZ2T8evIGKH/G6D1Bz9Gjf7+4Iwxsd3NCXzf+BoZNKTRwgcvlKZzvJmliFvOLr0MWmozoIE0cHUpaS9/7Km85cicqRTyYYsgle3jyzIRjVheVSKgNNRhk1dcJfg8/M0u+zXDnuw7HhJFtL21w1/8gimGaWd2WzQTkWx7dLqVuk4v0ldQA7CNsn5bvskkX3UvK6kaeuWcVIB76X28xb+yNGQ+auLWMlN+cKGWMa4TZFLAJsCru/h0hVsyWGZVBWkKSItn20S6WBOCVw0dD7qwUg= 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)(346002)(376002)(366004)(136003)(396003)(39860400002)(451199021)(5660300002)(26005)(66574015)(15650500001)(83380400001)(38100700002)(82960400001)(41300700001)(316002)(186003)(8676002)(8936002)(6506007)(53546011)(4326008)(66476007)(66556008)(66946007)(86362001)(2906002)(6512007)(966005)(6486002)(6666004)(478600001)(44832011)(110136005)(54906003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?Q?YSlzVrDc2DAM/6570gBZalXu7eHAFv63pq4prABF0byeo+7S8l3imSSPIx?= =?iso-8859-1?Q?q3bvufQx47h0lwF1AVxIbzZgMpRH6Eo2NFggoTbMTv0ZbqEWngWO543H73?= =?iso-8859-1?Q?OdUZX/OLpG+5ZeZby/m6JaiSan6J6vQ6wxkAl/87bV2x6urmbAqapYUKtI?= =?iso-8859-1?Q?sXW4K/TP6FugvwhrixRI07nAQ++WruPVkSLOrkHD12bIOqcua7/WGHlEnA?= =?iso-8859-1?Q?oLGoHD2mKnL5kwxFYaUutwMyRK8vc5jDPLz/lYEzV78VTtv1lPENIcQa6i?= =?iso-8859-1?Q?vemTTwlB0ff7DIpT2/GhnsdG25lgVPRdfavKOj4VHagCE3NXkscNdA9Adl?= =?iso-8859-1?Q?EdVJu5nhRCmkCdNkaIST21w1donTI6+gPwkZyg9wVGFi5zV/PrQHN2YrXM?= =?iso-8859-1?Q?xDcgADdCd9QDQBZb5LCwhWJRBpV5UgovCGbqLqeDWvEqU0LZy9vTPhDXwP?= =?iso-8859-1?Q?5fhZjVd6neAxFibB5KlirXx7xLr3dHkkXgJ9WdOARHtX4PATe4aIbOUJG9?= =?iso-8859-1?Q?1XNWIA/6dJbqlJbLuuZVbZaPJDB5V5lx4F9c1R9o1hTkYudUT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Gva3B3JAGp/i3ioATdJC1FIkWUGZ5I2XWbJnIkkHfr6xmqvQbgIcB?= =?iso-8859-1?Q?czWaKwVlsvWwo5XxOdh+c+gtBhGyEpbzLr77su3LcuN/pYBE2oW3Jq8Q5k?= =?iso-8859-1?Q?pFp1DBInLgg3I6F38KXjTtUUkrvDvgI285lxYVE7eBxC7KYtHJBwDsE1UE?= =?iso-8859-1?Q?wTEWUWq5lfJRZgvzVOR53VogieuIwmll1yBkO1tTlBA51SweFQNudxdg?= =?iso-8859-1?Q?=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: e08fe9e3-f3c2-46ff-4f88-08db9340b6f9 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Aug 2023 10:10:36.2536 (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: YKlVFr3dQiqAidB7JMZlVihKAsZFUn74s2G3TAM0XhJCa7P8Ifqx/rnCeaCPMPfelWRpJVkEiF3GIY1M0ZGBreDnnQL31t7PbHtnZdDXWGc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB6754 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 On Tue, Aug 01, 2023 at 03:00:06PM +0100, Bruce Richardson wrote: > +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? > Doing some google searching throws up this patch which looks relevant: https://patches.dpdk.org/project/dpdk/patch/20180830115504.28608-1-christian.ehrhardt@canonical.com/