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 89A0742D76; Wed, 28 Jun 2023 01:35:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 257FB406B3; Wed, 28 Jun 2023 01:35:32 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 8FF9E40151 for ; Wed, 28 Jun 2023 01:35:30 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2CEB15C00BF; Tue, 27 Jun 2023 19:35:30 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 27 Jun 2023 19:35:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1687908930; x=1687995330; bh=66o7LZdEgL2kGFfgD1RmNGKKt9DpNJ9mu/S q1LQcijs=; b=s4N9RsRgdWS74kXuMLFet2IKym/MXpxdxjoNsQBfsF6xYiaErs/ +R0+7SvmGI68zVIoVwEdWfYhB9aJF7ITsdlVxtEnv2WK9UMourbkRHOYPJb3Jr0h muMpSt7PI76JKu38ZlIMFE1kDcqrms6oo3hFn3cW6qt2ZcSmmtnb5/truIcIr7U8 l1PvVZXxMOfqO/J7BC9dfH7mkrdoINRR9XvqDZUWwrZ6uRcdEo67TpWfQpBmw0oq 48ZD4VogJgaHkVOKB3oKo19sV89RO+Q4hqssM4adlye7giCI1QlgeYBMWjAgpgi8 eFd+R4s44YBHQ0FcW7V1Uw8wtCh0so546Pw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references: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= 1687908930; x=1687995330; bh=66o7LZdEgL2kGFfgD1RmNGKKt9DpNJ9mu/S q1LQcijs=; b=LlBCIrirgWy0H4pg7L2IWw8X7IYmofvrZ1/Eb42eHpKegGOB50s i/LLcFS45amTZ+HOiOMiUMABDF7pR+uXd40cT2GE698SA5BJE2yaK/MJ+b/N9rQ6 R11Xn1ygS+BtWZ2X1wFLrYdXURt2tjGGP19lPzpbvkW2Nq6If6eG5d6KUS+SxD3P 8mtazWVXocMUD4pjveQZTw68BPVmZjDbZPmI+Bc2MgrBDUxPcra39CVPR4mMtVOy ku0Mo9j6bEZb35Jod+PHgKfOFAd4yAZuMqITfs1qxIX5y5r2Kvnr3AmQhSfMj0pz DsWuZ4xzEpEZ7jeXDQ6Bv4brRAl81dfVpJw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrtddugddvgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkfgjfhgggfgtsehtqhertddttdejnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepgedttdeljeejgeffkeekkedtjeevtdehvedtkeeivdeuuedviedu vdelveejueejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 27 Jun 2023 19:35:28 -0400 (EDT) From: Thomas Monjalon To: David Christensen Cc: dev@dpdk.org, Thinh Tran , david.marchand@redhat.com Subject: Re: [PATCH v2] config/ppc: fix gcc "internal compiler error" message for p10 Date: Wed, 28 Jun 2023 01:35:27 +0200 Message-ID: <1818610.BzM5BlMlMQ@thomas> In-Reply-To: <20230627210341.2516951-1-drc@linux.vnet.ibm.com> References: <20230627205437.2476729-1-drc@linux.vnet.ibm.com> <20230627210341.2516951-1-drc@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 27/06/2023 23:03, David Christensen: > Building DPDK with gcc 11.3.x for the power10 instruction set may > generate the following error: >=20 > ../drivers/mempool/cnxk/cnxk_mempool_ops.c > during RTL pass: final > ../drivers/mempool/cnxk/cnxk_mempool_ops.c: > In function =E2=80=98cnxk_mempool_alloc=E2=80=99: > ../drivers/mempool/cnxk/cnxk_mempool_ops.c:124:1: > internal compiler error: output_operand: invalid expression as operand > 124 | } > | ^ > Please submit a full bug report, > with preprocessed source if appropriate. > ... > ninja: build stopped: subcommand failed. >=20 > The same issue is not encountered when building with gcc 11.4 or > later, where the compiler automatically adds the option > "-mno-block-ops-vector-pair" when building for power10 which > is intended as a code optimization and also effectively avoids > the compiler bug displayed. >=20 > Modify the meson.build file for ppc and manually set the flag when > building for power10 with gcc less than 11.4. >=20 > Bugzilla ID: 1251 >=20 > Signed-off-by: David Christensen > Tested-by: Thinh Tran Applied, thanks. Note: IBM POWER support is still marked as alpha. Would you like to work on its status?