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 A78BDA0C47 for ; Tue, 14 Sep 2021 11:18:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 95620410E0; Tue, 14 Sep 2021 11:18:17 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id C71E84003C; Tue, 14 Sep 2021 11:18:14 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10106"; a="282936998" X-IronPort-AV: E=Sophos;i="5.85,292,1624345200"; d="scan'208";a="282936998" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2021 02:18:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,292,1624345200"; d="scan'208";a="451956288" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga002.jf.intel.com with ESMTP; 14 Sep 2021 02:18:13 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 14 Sep 2021 02:18:13 -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.2242.12 via Frontend Transport; Tue, 14 Sep 2021 02:18:13 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.49) 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.2242.12; Tue, 14 Sep 2021 02:18:12 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f3UBiLWR9RipYe6JGtWljtFz7bDjfq/9rt12LhNSCLtDib3PDzALfOU2WdkJJiim62E3/eXn4KLD10e1PVoPjz2qBV9oJ2LoI8j92/ancMc5ugZxqtSYVgRnI69w3YhW7yGp7wrTq7Z629XUw1h1CJZiZuJdL48soaZzry7/k5LjNUY3M+l7jCjJPqi3YX3m9vDkZz3mudYGol4KWczhgkSmn8IQ5iCA+F8bgLJBm5qWe0hQxrKY/8gZyRqE+eQ+7jKmW++JdpsGN8RZ2DKEiVU4H0AE1KTmSIDh+99mgBTxO+qfPkHxbKjtT+2Jl05c2N2ebdk1dk5dwnsdr7NL3w== 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; bh=ELxaKUw2ZB5EC3xmQu8Xcn/nR0DHJrPLGd08ug9SV3Y=; b=UM3D4pmggHDpMwzQyDndm9VUAv5c3R5MbqX+xtGyRETtZyKXuSb+QnX3zNlmJ2V3kGwlGnlBn0iTWoxm/lP8mJix/1J5obxkM3DcKqiluabelv6RncVFN9VTrtRvjlIS8TUxvOqFK640G/WQ915MQmtSaBjweac0LQ9TsI8ZHRF68Ta9h+P6jIoyVQF0cM91gNb57gcHz/zv4Ov8CzOkPq7tN4kSG6q/0XkiYowI4jV63modTy7y9tKd9i4Y9xWtLF2LE01a3Av+EPIGesVm/HoAeo5ujNA++F36yhWt6Bj/CVkiyo2Po9sRJhQSufJ793W37JaIpT4q1b5EwYHDdA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ELxaKUw2ZB5EC3xmQu8Xcn/nR0DHJrPLGd08ug9SV3Y=; b=o2PaJuA+L9CNXJ4nSVaj80mSf+CL9DkGkcPXGDaDDiZ8xAktJmsryiTZ0IY/ZK3sFDAUz/IpzXZMOQwstBdNvDuEt5K44LiAtW+N0y6wL+z0p/HqJuTrP2QeF/YXQgNs5nWMiizm/KVMhCGkM0d7GeW0EsUpzmzQputk4o5aBQg= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4919.namprd11.prod.outlook.com (2603:10b6:510:34::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.17; Tue, 14 Sep 2021 09:18:11 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc%5]) with mapi id 15.20.4500.019; Tue, 14 Sep 2021 09:18:11 +0000 To: David Christensen , , CC: References: <20210623161620.49916-1-drc@linux.vnet.ibm.com> <20210902235326.3236718-1-drc@linux.vnet.ibm.com> From: Ferruh Yigit X-User: ferruhy Message-ID: Date: Tue, 14 Sep 2021 10:18:06 +0100 In-Reply-To: <20210902235326.3236718-1-drc@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DB6PR07CA0002.eurprd07.prod.outlook.com (2603:10a6:6:2d::12) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB6PR07CA0002.eurprd07.prod.outlook.com (2603:10a6:6:2d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.9 via Frontend Transport; Tue, 14 Sep 2021 09:18:10 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7eb3247d-19b3-4254-ff9a-08d9776092bc X-MS-TrafficTypeDiagnostic: PH0PR11MB4919: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:64; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +xrsaPLoWD8O0CAh5Vb00hKb0YnrqmTP0ALNg/at0p8v+WSkrKl8yBYIj1EMupuVRUR4STCmUUug/kiwImeShpHc135sWyWS8cK3kdDeTcQhGMsGRI+4vsfjLCFFuTWKFQ9a7OnbUerGnzrxdhZdZMt98TpRKuNHf4Y+lqRKxA+wrs4q158Sf7X5Ocoul+TaJ+FjlX4VxenHS7DWzhHD6KusUB+yB17HgrFRzC54V2yw7Chle5BpS6zdtD62o9RGIx9pHOZ4SZ3rctiQBCfmM/JOtj8JNBGsZhOPrRyU+xQqvOfsQUeLUvqhtRPklq5C182JIsqe0zawi3kjapKeMx45VOgjsstypBiOTyelqQIG5mXqyUw7xF6upv+MMt7JV5klody9iYwyOTNhvb2CwFTLdv7Vh6vEjuUjK+DKZTpsyJd7U4MxGem2Ieb8+PNCxliBUzR0OfoxKe9pEyBLXIG9Eon8BKrJWH/A6IHGI9bEbzZ5fdKZ3LgcUjMTJ/1qRWnNIz2IsMHBunC/kWebZggr5alx15p3aQjQU5bvcqR7lgX6lDhVnb5JC7VGRgMYe19rxwYQH+IPwQg/8lm8e8S0hGFNeRKtRPv+fr76G5OmRUr7RYMtymujj7xoqhK0UxR2cnYkax3gGOSJkpPG9Qi98WlGnewxllAEvQH2QD+M7Os2hUa0e7NofJBw04dwpj0osEURe9vUzlgyhIIgUvBULrltD6rNikX1//r1E410IHat5ni2Zy9Z8z8TwO6b8cVpDa7YzPO+xMxioLOq7ggH7lgjyWZUjxtx2YmckfU= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(346002)(376002)(136003)(39860400002)(366004)(8936002)(478600001)(83380400001)(186003)(2616005)(26005)(38100700002)(44832011)(8676002)(31686004)(6486002)(5660300002)(956004)(966005)(53546011)(16576012)(36756003)(86362001)(2906002)(4326008)(31696002)(66476007)(66556008)(66946007)(6666004)(316002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RURSc1NqQlFUWE9ldXRvWVNwVzBYMDJFb3NtdFhKUk01Y3dObzhkUEZENFl0?= =?utf-8?B?RHQxeHVBcjZubUdLWk9mbU5TN2hFMGFROEp1ME83aTU5SzgyaC9ObFFWTzM0?= =?utf-8?B?b25IR0svSEduNm1NR2NHcE9TMGxPclMxWUVvZjVxN09KNmQyUHd3QlFhQmdo?= =?utf-8?B?UEpPTlo4QkpwS0w4cGVNaklUYWl0SnNkQzNPanAyVDFPdHVqVUZkKzJiNFkw?= =?utf-8?B?MlZ2QzZ1aVhQZExjT09oTlloR3ZwalBHNnJralNjMDhCU2VRRHZDSjQ3S2dI?= =?utf-8?B?dzJJQ0JMSm1XOWdUSUl2U1NzQmJDR1JUUTBTQU9ERzZ1WnlEOW5qRXYxR1h1?= =?utf-8?B?aFVTbWpYNFUySVo1S3gwUnpVM0VKeUErMjRrUUFzLzdydFdkUGF0eDhSVkRt?= =?utf-8?B?SDJNYmpFWitpaHRkbkF2Ni9pM3NERFlpL3ZVMWZxM0FLaFJEcjlqU3hUbW1v?= =?utf-8?B?TUY5ZWthY2NtSzIrQWEvVS9NdzVUZ1dMczE1djRxYU9LR09z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05rVUQxa0hrSWRvKzQzSVQr?= =?utf-8?B?Z0swdzBDY2pDNzVKa1VzRythOVRDT1piQ05zVVp1RW9EM0NTSGZKdFRxcGJR?= =?utf-8?B?YXU5YmwxRjRoZ2dUYXVXTVQ2U3pmTXp3WnJMY0FoNE5SdG95NmQzYS8vN3ds?= =?utf-8?B?UmdRYWZuYUNXQ29wQkoxQWNpSlBKb1gzSTlSNFpoUE5IT25tVitQa1JUU2hx?= =?utf-8?B?YXlROThOT3JhQmxuQ2NwUUYyM2ZiVjBTT29ZWHMrTEJTL2FKWnFWc3doNStE?= =?utf-8?B?ZmdmOTEyNThYK1paZVpYR3ZwdGFRc0hsbk16YUwwdzVscVBzNzhpeWJ5L3JU?= =?utf-8?Q?jrs8lkisS3iqki/1GGyMrVgSp9QfqdCRmlGwXBW?= X-MS-Exchange-CrossTenant-Network-Message-Id: 7eb3247d-19b3-4254-ff9a-08d9776092bc X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2021 09:18:11.6710 (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: s/Ni1/CM5OzZ1asCUDCeIRO0fPFmog1Xsm7tJWKTwSQAy5DNKMquyCIXALsQBJOXhEH6U+C3wHEZI+SgfhSlzg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4919 X-OriginatorOrg: intel.com Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2] config/ppc: ignore gcc 11 psabi warnings X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On 9/3/2021 12:53 AM, David Christensen wrote: > Suppress the gcc warning "note: the layout of aggregates containing > vectors with 4-byte alignment has changed in GCC 5" on POWER systems > by setting "-Wno-psabi". Warning was originally added to gcc in > commit https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=9832651 to warn > of the vector alignment changes introduced in GCC 5. Older gcc > versions forced vector alignment to 16 bytes due to requirements for > POWER 6 and earlier CPUs, but these restrictions don't apply to CPUs > supported by DPDK. > > Bugzilla ID: 739 > > Signed-off-by: David Christensen > --- > v2: > - update copyright year > - rebase for 21.11-rc0 > --- > config/ppc/meson.build | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/config/ppc/meson.build b/config/ppc/meson.build > index adf49e1f42..5354db4e0a 100644 > --- a/config/ppc/meson.build > +++ b/config/ppc/meson.build > @@ -1,5 +1,6 @@ > # SPDX-License-Identifier: BSD-3-Clause > # Copyright(c) 2018 Luca Boccassi > +# Copyright(c) 2021 IBM Corporation > > if not dpdk_conf.get('RTE_ARCH_64') > error('Only 64-bit compiles are supported for this platform type') > @@ -17,6 +18,12 @@ if not power9_supported > dpdk_conf.set('RTE_MACHINE','power8') > endif > > +# Suppress the gcc warning "note: the layout of aggregates containing > +# vectors with 4-byte alignment has changed in GCC 5". > +if cc.get_id() == 'gcc' and cc.version().version_compare('>=10.0') and cc.version().version_compare('<12.0') and cc.has_argument('-Wno-psabi') > + add_project_arguments('-Wno-psabi', language: 'c') > +endif > + > # Certain POWER9 systems can scale as high as 1536 LCORES, but setting such a > # high value can waste memory, cause timeouts in time limited autotests, and is > # unlikely to be used in many production situations. Similarly, keeping the > -- I am getting following build error in my environment: "config/ppc/meson.build:23:6: ERROR: Unknown statement." The compiler I have is: powerpc64le-linux-gcc (gcc 10.2.0 "powerpc64le-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0") meson version: Version: 0.59.1 Multi-line statements seems need to be merged with '\': diff --git a/config/ppc/meson.build b/config/ppc/meson.build index 0b1948fc7cb9..f95009c77e7a 100644 --- a/config/ppc/meson.build +++ b/config/ppc/meson.build @@ -20,7 +20,7 @@ endif # Suppress the gcc warning "note: the layout of aggregates containing # vectors with 4-byte alignment has changed in GCC 5". -if cc.get_id() == 'gcc' and cc.version().version_compare('>=10.0') and +if cc.get_id() == 'gcc' and cc.version().version_compare('>=10.0') and \ cc.version().version_compare('<12.0') and cc.has_argument('-Wno-psabi') add_project_arguments('-Wno-psabi', language: 'c') endif