From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stable-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id EE35BA00B8
	for <public@inbox.dpdk.org>; Mon, 28 Oct 2019 12:26:29 +0100 (CET)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 9C5CD1BF40;
	Mon, 28 Oct 2019 12:26:29 +0100 (CET)
Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130])
 by dpdk.org (Postfix) with ESMTP id B0B231BEFA;
 Mon, 28 Oct 2019 12:26:25 +0100 (CET)
From: Ali Alnubani <alialnu@mellanox.com>
To: dev@dpdk.org
Cc: jerinj@marvell.com,
	pbhagavatula@marvell.com,
	stable@dpdk.org
Date: Mon, 28 Oct 2019 13:25:35 +0200
Message-Id: <20191028112535.692-2-alialnu@mellanox.com>
X-Mailer: git-send-email 2.23.0
In-Reply-To: <20191028112535.692-1-alialnu@mellanox.com>
References: <20191028112535.692-1-alialnu@mellanox.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [dpdk-stable] [PATCH 2/2] mk: disable OcteonTx2 on old compilers
X-BeenThere: stable@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches for DPDK stable branches <stable.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
Errors-To: stable-bounces@dpdk.org
Sender: "stable" <stable-bounces@dpdk.org>

This disables OcteonTx2 for gcc 4.8.5 as the compiler is
emitting "internal compiler error" for aarch64.

Fixes: 9a8864c8b5da ("net/octeontx2: add build and doc infrastructure")
Cc: stable@dpdk.org

Signed-off-by: Ali Alnubani <alialnu@mellanox.com>
---
 mk/toolchain/gcc/rte.toolchain-compat.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mk/toolchain/gcc/rte.toolchain-compat.mk b/mk/toolchain/gcc/rte.toolchain-compat.mk
index 00d6fd642..dd2c4e5da 100644
--- a/mk/toolchain/gcc/rte.toolchain-compat.mk
+++ b/mk/toolchain/gcc/rte.toolchain-compat.mk
@@ -104,6 +104,9 @@ else
 		CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=d
 		CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=d
 		CONFIG_RTE_LIBRTE_OCTEONTX_PMD=d
+		CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_EVENTDEV=d
+		CONFIG_RTE_LIBRTE_OCTEONTX2_MEMPOOL=d
+		CONFIG_RTE_LIBRTE_OCTEONTX2_PMD=d
 	endif
 	endif
 
-- 
2.23.0