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 D4D6AA0544; Fri, 2 Sep 2022 09:19:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3FA8840F18; Fri, 2 Sep 2022 09:19:10 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 45BE840684; Fri, 2 Sep 2022 09:19:08 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 281MKuBK016279; Fri, 2 Sep 2022 00:19:05 -0700 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2171.outbound.protection.outlook.com [104.47.59.171]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3jax17uhbu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 02 Sep 2022 00:19:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ApNMvAemwcaTkwB9d63lkF2SHx74adpoozuGX0VYm02GHyB/JAul4cYxOk6u8+GVxp+rULLLBBbFuhsvqmJxYJLNaxclP2oQrss2rWVSVx3WM3+tFAraNz9XK4LmCfA9vh/I3mL6vFXR/iK4ytRzLjOU9vj9eEt8duGc8S8ZwdAQHSsCGOXti+Lprk8gF152p5UVkCfQhZWa8hdfLq54n4a2zgobaHbmF+IOsaaN6ervaMK2irpBGqNt62uVC6oKsFXo7c7nojtHWYyv8bDwFdLMXAYwogAmTYKQCh/TBdoEby3aEru6pl0hyQ+6v86Noh3ifpYxn/I98DtHfM3UEA== 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=Gse3+04PpdTKzkizkPHb1sOLM48s38eXOKIsZfQcFgg=; b=WptNFbaWLa9+/h4EPjw+jxtIhdCtsCfYbsM+o7hqkovdEivJOzQ+k5vWs9BHf8HNT11I35q1G/t1ms0Bv7lqAB0zcW0E8ObfPi16zcUUNtivPc8DrVTxhQpDCARg/BGCcIFKHdq2aBBBVYe9naZYhLvhwy+8OdN3fqcjx8n/43+ftP+UVoqlIhpO1Ipilug0Aj19QdycvWQFrUJOHALliwW53YUxzW9fpHzqewE+8JeuV47Le/E3Zey/VC5/0UZ99aNvYRezUY/iQhWLictxesGt4HpbXlw4BpQn+st0MPHr+bGqEKKAuvBvY0T4NTHff9URi1wC6Z39+l+ZHdbvuw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Gse3+04PpdTKzkizkPHb1sOLM48s38eXOKIsZfQcFgg=; b=FLQGEI3ER04EVF6qhgfTfYR5gnM4zUrozecUCh1pbVSNIDQwlIRC92IDIwCmLltCkTVkx1k+RrbSFYF6A/5GooN20L4R7LipnKgTUkPxiZ9SP8LEmsxWbCBtkdA6UfmOMw5CeZnHIDq2F0XBST4fnr9NkdECLRdGjwwPfzJ5viI= Received: from PH0PR18MB5167.namprd18.prod.outlook.com (2603:10b6:510:168::7) by CY4PR18MB0984.namprd18.prod.outlook.com (2603:10b6:903:ab::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.15; Fri, 2 Sep 2022 07:19:02 +0000 Received: from PH0PR18MB5167.namprd18.prod.outlook.com ([fe80::41ab:ee68:284f:3be2]) by PH0PR18MB5167.namprd18.prod.outlook.com ([fe80::41ab:ee68:284f:3be2%3]) with mapi id 15.20.5588.011; Fri, 2 Sep 2022 07:19:01 +0000 From: Amit Prakash Shukla To: Stephen Hemminger CC: Ruifeng Wang , "dev@dpdk.org" , Jerin Jacob Kollanukkaran , "stable@dpdk.org" , Akhil Goyal Subject: RE: [EXT] Re: [PATCH] examples: compilation fix for GCC-12 Thread-Topic: [EXT] Re: [PATCH] examples: compilation fix for GCC-12 Thread-Index: AQHYvdw10sjldXp89kqPe/WWzNZeIK3KsgsAgAEJ3IA= Date: Fri, 2 Sep 2022 07:19:01 +0000 Message-ID: References: <20220901082343.3074804-1-amitprakashs@marvell.com> <20220901082410.140d209b@hermes.local> In-Reply-To: <20220901082410.140d209b@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0c0e951a-603b-4672-3670-08da8cb36928 x-ms-traffictypediagnostic: CY4PR18MB0984:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5AZkXjI42HTOSyRH4iztX9TWeoXIrSNQcO/stbcf9BJRCtLgQns/NFnXFZFs/o7hb2tw/b5PQsNsZoEAJbybcsbNdek4jIHl9N+fRBkBvIjhEqgUSzj1f4EP275Ha0zhJmzA2Q5QPSLj6dp7a7WlxF3v0gzcORqTXBlA3wli3VnRtA33xZlByUhN9lBX43lbBdLslskdRSyZzxoTPyaTHl4DZbuQjTdIP9nLjHEPiQ91r19Djw3fwmJS9LncGlc5PYLGPW8lO0THqs/U8WT8Y58AP2kdO7jKe+5tDq6XKL+Mt/MNLezOg2wPiWXs3aRv1ffi4Xes9gsOJx+Q4Y/6JW+1WiHIlLUQ1Y3mZBjEImRSHvB4L4q9WekTHlXdZcO4+/ok2sJQUmN3RROrZaujXG3hpHNLOttPeVbo1qBD6N1603IklrKWDLVVHSuEsSL2zKHM0x96bWeu+S4I7ii4g5qOFyblYWOF2puCCPuzTkmGLtMRXvGq1JCipR/ZGTD9Tmoxl1bQS1g/BhzPuYiSKcDm+M4xiKf8pRskcRIsV1wB4Sxf+brIf1QjfVUVm6gLolQLhYnoigBrx0V2pApI4AB73sgdflMEi1jy1lnvNAQNdFd37INSu1X3L/IURhNE9Nc7kNQOEAeDdLbFTaok/9U7wTDUzr2KjHCy9ZWOUF4Fp3TlW9hz4TZHWgI3oLz4CzzwWXChlsE3WfxzJJTI3Z7eAnnyn83lX7IOukjDA6uqN6rsZsGF8ReTXv/trwj7imOnikf9hsFvNzklIDOjMQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB5167.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(396003)(136003)(366004)(346002)(376002)(39860400002)(6916009)(52536014)(8936002)(54906003)(316002)(2906002)(5660300002)(64756008)(8676002)(4326008)(66446008)(66476007)(66556008)(76116006)(66946007)(71200400001)(33656002)(478600001)(55016003)(41300700001)(7696005)(6506007)(107886003)(26005)(53546011)(9686003)(86362001)(83380400001)(186003)(122000001)(38070700005)(38100700002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ZSYKjuHNcV5VA4RXLwdNSOioLWe9aneMhMtH9rQns/pcbIDF6e8MKASRvGhB?= =?us-ascii?Q?ucOom+yfNIz8GLUMuuPX1Jy7loWrUcDmOVWNRluIPb+NKROWSD5sP+9sspPs?= =?us-ascii?Q?rxsu7fpW7wbIwh4H4gQa1LccKVKcQAR1fqz/DDhLRGtgsEw/SBKxyfjQ9Cir?= =?us-ascii?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Be/WKIDhntu51?= =?us-ascii?Q?ECq6zINASFcOlFXqXG+G7yERP9fzELa1qrB9sl7EAeLwprwxItxpZLD1RFDr?= =?us-ascii?Q?TWYBNURyv93MGBe1CyvF0tHMUye+UYZNNTiMY4mD6mjE0VCsHmXRL+K/OS4O?= =?us-ascii?Q?aTr1ZQL5lMyjTxtF93apwh24f8yXU/rUkePRvVMsr4zANd6MDSF/nt6QJ6+2?= =?us-ascii?Q?6a4Vo61XS9lPGZntvZHFOgomLzfUSmD+KlolRsD17J84AmrQST7WuWh+Q0Cv?= =?us-ascii?Q?Y6V2W+xUzoIOnc73WAXCYb4h0BBmk/mACKsfOBsAlRDO/5OKTJfnc/47BbiZ?= =?us-ascii?Q?Bw4l87gfO8jhG8huPIuuHZHAzX0SZcikDQC3PbwN4sJSPPPcs16Vax41Azzm?= =?us-ascii?Q?rNeb4lvblkyoeD2CkZ7LRaQNRFat6Kjm4zdSx3Fh6bw7OBv/y9PSm5EahhKi?= =?us-ascii?Q?/3JhGvOh4+e32xAOs6uWFVOGzrqfAswFmSwskXFOPouRWvMn/BMqJcYWJ7Jr?= =?us-ascii?Q?6mNzEuApV37KgZnnu7spo9t1UikA5IMfGHxBF+Cc?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR18MB5167.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0c0e951a-603b-4672-3670-08da8cb36928 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Sep 2022 07:19:01.7155 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: q4mrNHtHsR77GD0m5ATtIZXpm3wsrZtfhWpABunLMueutjdTuNouTPd4M2J1Jiw9XB59/Y/t8q6IZZ6839z39WcbJTUdLrg13gk5SMoOpp0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR18MB0984 X-Proofpoint-GUID: Gl9ZtDyzg4AcK_BXX4k97SFIO69hCgif X-Proofpoint-ORIG-GUID: Gl9ZtDyzg4AcK_BXX4k97SFIO69hCgif X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-09-01_12,2022-08-31_03,2022-06-22_01 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 Thanks Stephen for feedback. I will make the change in v2. > -----Original Message----- > From: Stephen Hemminger > Sent: Thursday, September 1, 2022 8:54 PM > To: Amit Prakash Shukla > Cc: Ruifeng Wang ; dev@dpdk.org; Jerin Jacob > Kollanukkaran ; stable@dpdk.org; Akhil Goyal > > Subject: [EXT] Re: [PATCH] examples: compilation fix for GCC-12 >=20 > External Email >=20 > ---------------------------------------------------------------------- > On Thu, 1 Sep 2022 13:53:43 +0530 > Amit Prakash Shukla wrote: >=20 > > diff --git a/examples/common/neon/port_group.h > b/examples/common/neon/port_group.h > > index 82c6ed6d73..97da604583 100644 > > --- a/examples/common/neon/port_group.h > > +++ b/examples/common/neon/port_group.h > > @@ -24,7 +24,7 @@ port_groupx4(uint16_t pn[FWDSTEP + 1], uint16_t *lp, > uint16x8_t dp1, > > union { > > uint16_t u16[FWDSTEP + 1]; > > uint64_t u64; > > - } *pnum =3D (void *)pn; > > + } __attribute__((__packed__)) *pnum =3D (void *)pn; >=20 > Use __rte_packed instead of direct attribute