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 B5635A00C2; Thu, 6 Oct 2022 08:14:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 56674427F3; Thu, 6 Oct 2022 08:14:20 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 22FDA40697 for ; Thu, 6 Oct 2022 08:14:19 +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 2964cC3e031544; Wed, 5 Oct 2022 23:14:15 -0700 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2172.outbound.protection.outlook.com [104.47.59.172]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3k1d7gjccb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Oct 2022 23:14:15 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NarmeWMgqmBYBq20zBhqwvEnjey+nMZu27jviC7w924bzjiwJ6hGM8oezJVZtuTlDNE4ZhF3f+LPL0liOBQsK/hcExjNOBvyyLrPJKdHrg8txM9bIBp3djCFRbcHWJvERp4quXOX4cXLE0AzhZVkYnqFpYy7UZoQYpoKWJdt7U7RMItp0KRSYcp1sD4NFB8UjthxPb71sdGC2CkwENZJ/5f+Mm9r2MSuQt2st4F3bkUwftubC25p1LVGOcO4pkDUhijz0baskdCXvs+dvETbR8KU5aYpi6LdJUEbuu7o9uww5YMAOOFyyEw6fB+2drC1MPthlqe42+DPTITx1MvRIg== 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=pGgGwdGf9T0IFJdi8mhx2g8smqGoUlATvZBdWLAFyy4=; b=W1l6j9HxOlrOfdEa0BlShJFaLmOEuZcKKEjqSOHiCofCPnGOO/5M2qqszOADEAh94cmTGBEsdozSxr5gl75cH57EsFN1lYl1NB+0iOtdwlKykyejVA0rlrLTMCu0WsU5XNr5dGwtBMG95H5ZC94k8zLuynL3yA0lGpkd5IDdKA5pW2wI1AEsjOcBQaTMNSnPHYKicCuuoMmzsdO/u+yIVo/LzkZVzxe0IHlS6dpbKaep+mIdTvE32brlXQu+q455oaw9AqSGgdD/+sSYtE2GKIn53gSeAC0mFU/IdLYfk71EWGXOMg7I7T6bvcKcapLKOeMI7ofLdH1bb3KQVKwb3w== 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=pGgGwdGf9T0IFJdi8mhx2g8smqGoUlATvZBdWLAFyy4=; b=gnnujtTPWW5ID7O25k1bmYG+GSafLe3QhwSbc60Km5tNT2zJbTM6c4vo0yW7zW823sHfbEtw99hXgyZ7+RxR3ej+X/eNWu6c8E60DXriOFUdLeX/TuJdnXlLUNiJT34+rsAuQchuwCAkOUXsROsaxlM5O3UJJILEYLPxj8QltRM= Received: from PH0PR18MB3846.namprd18.prod.outlook.com (2603:10b6:510:49::21) by PH0PR18MB3832.namprd18.prod.outlook.com (2603:10b6:510:1::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.34; Thu, 6 Oct 2022 06:14:11 +0000 Received: from PH0PR18MB3846.namprd18.prod.outlook.com ([fe80::2cd3:217d:91f9:4113]) by PH0PR18MB3846.namprd18.prod.outlook.com ([fe80::2cd3:217d:91f9:4113%8]) with mapi id 15.20.5676.034; Thu, 6 Oct 2022 06:14:11 +0000 From: Rahul Bhansali To: Thomas Monjalon , Akhil Goyal , Amit Prakash Shukla CC: "dev@dpdk.org" , "ruifeng.wang@arm.com" , "honnappa.nagarahalli@arm.com" Subject: RE: [EXT] DPDK build for Arm with GCC 12 Thread-Topic: [EXT] DPDK build for Arm with GCC 12 Thread-Index: AQHY1+9XpsJ1YyCCUUC9hz4+ZvIvra4A49gA Date: Thu, 6 Oct 2022 06:14:11 +0000 Message-ID: References: <5990131.2l3rmUXbR5@thomas> In-Reply-To: <5990131.2l3rmUXbR5@thomas> Accept-Language: en-US Content-Language: en-US X-Mentions: amitprakashs@marvell.com X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR18MB3846:EE_|PH0PR18MB3832:EE_ x-ms-office365-filtering-correlation-id: f3c93343-c58b-4418-197d-08daa761fc86 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Gc01XU9WS2tGiUUh+k+cyOlzG3+eL8yrmxbAhrjuWGy0JK9VfOE0wbYjtzJhNScVKMHOD5Sxe8JrMZq/UZZzXDkjivlfAz8mJGh+MHOPQ8+2NcZlUJ5le5QSspQa2P7aKTgGVZ6mkQV96EZEWhTh8dcK7ZRYZKG3Kw9pAxTMLYogIcvZsa5IrKuKmjThforWxTa77+jtichTJq2FGxQxluNl23aUg4qq4WeR5w5UBjDx6ivK71W8ODpaTnsQIss813USZ6BnaXEPt3m9vOoLHmi2O+5/IdjDHMRq6GA8GmxSbitDAfsg3OhPpcq7wh/TSVAtHSNu6QD19OadTvkwhGGgHOCa4RAUSPSHfGbgt7kBu+/bui/Uv0ve1LMEE7v/CIz+YCvczxQMLXN6nWOKs1CaKa66KbDJ6CoJ8fAAIaheyndi2FdbT2TB2gdKGg7u9wNbOkeU1tkVvXob1LDcnR+/1yfnCGqnipddRxFFsF0SlutuWf08gRHfLJrelBtQkCrLPlQ2+tmCscHfNgSTAlddi3nZOuByxnjRk6hwZWs9vejxkH2N8u9lZfhNAxLxiNVqqKHSkJrg3w6IVD+5sQbEWzV40+/Bviq47sFuR+l2zrzQUCsjeZCpcpcs6SACbSVVXCXbvLsil4SKj/Iw2KioBMhP1p+TA/iUXRzeOuFWUN7Yk6rrLTlwKYFOPn/qdKkGqCkKUCXhoMvq66Wlktt4AMBReo5zfT3MgRWc4XbcgZewTfnJKjyh8I+ST3wdcQoiGAC+s34WiLzqiIsKwwqmv4Fg7MWla1XIqNic6sI= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB3846.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(136003)(366004)(396003)(376002)(39860400002)(346002)(451199015)(83380400001)(186003)(38070700005)(122000001)(38100700002)(41300700001)(2906002)(5660300002)(52536014)(8936002)(55016003)(966005)(478600001)(53546011)(26005)(9686003)(6506007)(7696005)(71200400001)(4326008)(8676002)(64756008)(66446008)(66476007)(66556008)(76116006)(66946007)(316002)(6636002)(54906003)(110136005)(33656002)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?W7UVAanMZOLgwILJtGZ1Ao3OmEK8d2wQKbhRP8zMZb9MtnbCaBK/0Oh8iz3w?= =?us-ascii?Q?1NGLd4bdtmJYeIBpqaW4yjIFKG3fAAs1pgUiyF4aGOorpPK3aP5/qfrmwYv7?= =?us-ascii?Q?0AcBuDl35/+7EAPXRZBC1ONDhYNVOBT/RYhzBDSUdD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m4dfN1u0MydYVn5utw/llUBsSVegWXvAIEcBs?= =?us-ascii?Q?zdQNP/hkQJp3lTChH8ID5E2MxAutZmwQn0kA6G7S2pUCMukBq5bnWq/yvUSJ?= =?us-ascii?Q?foAc9LVxwZt7u+govJC+XKsPqhKqaZem6zPYbvWC/7yJyBoCOtuDgEQFlbbQ?= =?us-ascii?Q?c6sh8rMpZRa6Ez91Tqfit+lrCT6Tua7eJotlATopPRPxICb8gqbdSVHOR4wR?= =?us-ascii?Q?EYy3B/Q89R2LsLu+eHQ3IgF02b/FpSfofB28Kvkd4WcKUS3TO02VP8uu76wN?= =?us-ascii?Q?5XjSnAQA51kEW8xC3Z96GVXS936bSC1eno+1frC8CXKMa/1OA7gRep0sD7C2?= =?us-ascii?Q?Tf6LPndOjAT6+IFPEdxW0whGPxV0PN2yS6C5LcS3STPkacI3io9cSfobW3Yp?= =?us-ascii?Q?qV8XTkcFt5CmztiCjhc9XaBMMwf3w+jUlFROe2zOdmeQOfxkZOmimsgmc+/P?= =?us-ascii?Q?LaY06LyDIJ9Yw0hvTCms+gN9Ab3cScnIEC8CYW9VTohlNzAR4V83A++JgO0T?= =?us-ascii?Q?mCgvHlJsGzIIvIP3JssoyUkjohNAQyXuxRXugxT2?= 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: PH0PR18MB3846.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f3c93343-c58b-4418-197d-08daa761fc86 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Oct 2022 06:14:11.6347 (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: hbojI730+UtHfP77/XHZvSg8dw1ODNoyvzKFN777suG0xyh00vzHaRNM2UDJ4uDqY6yullpebc2owJcqwlr1tw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB3832 X-Proofpoint-GUID: xucV5yF-rWKpd4ZzQc2nbWTtQS2SVyFR X-Proofpoint-ORIG-GUID: xucV5yF-rWKpd4ZzQc2nbWTtQS2SVyFR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-10-05_05,2022-10-05_01,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 Hi Thomas, > -----Original Message----- > From: Thomas Monjalon > Sent: Tuesday, October 4, 2022 6:17 PM > To: Rahul Bhansali ; Akhil Goyal > > Cc: dev@dpdk.org; ruifeng.wang@arm.com; honnappa.nagarahalli@arm.com > Subject: [EXT] DPDK build for Arm with GCC 12 >=20 > External Email >=20 > ---------------------------------------------------------------------- > Hello, >=20 > GCC 12 suspects an out-of-bound write in NEON port_groupx4(): >=20 > In file included from examples/ipsec-secgw/ipsec_neon.h:9, > from examples/ipsec-secgw/ipsec_lpm_neon.h:9, > from examples/ipsec-secgw/ipsec_worker.c:16: > examples/common/neon/port_group.h: In function 'port_groupx4': > examples/common/neon/port_group.h:42:21: error: > array subscript 'union [0]' is partly outside > array bounds of 'uint16_t[5]' > 42 | pnum->u64 =3D gptbl[v].pnum; > | ^~ > examples/common/neon/port_group.h:21:23: note: > object 'pn' of size [0, 10] > 21 | port_groupx4(uint16_t pn[FWDSTEP + 1], uint16_t *lp, uint16x8_t d= p1, > | ~~~~~~~~~^~~~~~~~~~~~~~~ > examples/common/neon/port_group.h:43:21: error: > array subscript 'union [0]' is partly outside > array bounds of 'uint16_t[5]' > 43 | pnum->u16[FWDSTEP] =3D 1; > | ^~ > examples/common/neon/port_group.h:21:23: note: > object 'pn' of size [0, 10] > 21 | port_groupx4(uint16_t pn[FWDSTEP + 1], uint16_t *lp, uint16x8_t d= p1, > | ~~~~~~~~~^~~~~~~~~~~~~~~ >=20 > Please could you help fixing it? This is already addressed in http://patches.dpdk.org/project/dpdk/patch/202= 20902074337.3129786-1-amitprakashs@marvell.com/ by @Amit Prakash Shukla . >=20