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 E2896A0543; Tue, 4 Oct 2022 14:46:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8D37C40DFB; Tue, 4 Oct 2022 14:46:37 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 3F2D040DDC for ; Tue, 4 Oct 2022 14:46:36 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5D2F65C00D7; Tue, 4 Oct 2022 08:46:33 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 04 Oct 2022 08:46:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm2; t=1664887593; x=1664973993; bh=Ktep4tUTFs 55CBJFL/WZFME7FjkIfBLGlmeVxRUV95o=; b=Dl/GQBfv+3xUlPOm9I52FfClIB cuUsbdVtgevTJkx3Pb01ZAiIpIgKk5sbMoZR5PLNHvxaFtWKEXYTh89w0xiMh4Ez d7Gijkmj6MPErpOwOvGH4rCDBcksgiXa3H7I3SwTuZ5+Gwj1b2lZh8LRAAaCWKEm /M1I9rpdsLS1z+kPmKg9+RcXHNfLbFCymtl42/KZvRMWLhzsBH3W6ezJgRX+UeDm kKT1V4dAmY/0XG3s36uS3zc1AHPkmpjLdZp9hQkB2ViaKQDps4DkMLG47Q4jfRGE Fydminloz3XnJnCnQWppX6gd/GRJoujUMfezilLO6NSpc94X5Pg1OpTS+eTw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1664887593; x=1664973993; bh=Ktep4tUTFs55C BJFL/WZFME7FjkIfBLGlmeVxRUV95o=; b=qjzn3h8S1F7HSEhGjKPNmN/cDXa3I j04rYX4uAr0R1VZgsr9zvKrRByqEogvCWvnjyHcMTcuh1oLW0YJvclG0rQej6MpD BDi7gBxE5vwH1C8Ke4wvAUqDIDfdu7Uu4pkN+5/QBkLuxrMBe7oe2CMz1Uier41A 89tdD1s2GApBhkMsXlX+EvGENFczBdpfbsXOMVXUsWkh0YRfABGFlQZ7UCMwnkM3 ob+SVdPDJM8n2dly42DGep5UpSUFrIK2O3cAITG0ua9UQLLixD51DG04OKrM9M/t Peeq9eEU9/ayXSaO+oIpQJq2xZKCPPxB7mizDTfk62qG/EzsyEmwKuHwQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeiuddgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpeeugfegteduhfdujefgvdfhteeiuefghefffeeukefgfffgtefhfffh jeeuvdefvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 4 Oct 2022 08:46:32 -0400 (EDT) From: Thomas Monjalon To: Rahul Bhansali , Akhil Goyal Cc: dev@dpdk.org, ruifeng.wang@arm.com, honnappa.nagarahalli@arm.com Subject: DPDK build for Arm with GCC 12 Date: Tue, 04 Oct 2022 14:46:30 +0200 Message-ID: <5990131.2l3rmUXbR5@thomas> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 Hello, GCC 12 suspects an out-of-bound write in NEON port_groupx4(): 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 = 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 dp1, | ~~~~~~~~~^~~~~~~~~~~~~~~ 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] = 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 dp1, | ~~~~~~~~~^~~~~~~~~~~~~~~ Please could you help fixing it?