summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorJerin Jacob <jerin.jacob@caviumnetworks.com>2018-09-03 15:01:10 +0530
committerThomas Monjalon <thomas@monjalon.net>2018-09-16 10:03:25 +0200
commitf3af3e44a444cdfe3fa7b3e2c042be351401eb23 (patch)
tree13c1fd2210c8dcb914aeea31760ada1385c8b39f /mk
parent3605968c2fa783674624562a7dfab256eb9044ea (diff)
downloaddpdk-next-eventdev-f3af3e44a444cdfe3fa7b3e2c042be351401eb23.zip
dpdk-next-eventdev-f3af3e44a444cdfe3fa7b3e2c042be351401eb23.tar.gz
dpdk-next-eventdev-f3af3e44a444cdfe3fa7b3e2c042be351401eb23.tar.xz
mk: disable OcteonTx for buggy compilers only on arm64
Disable octeontx for gcc 4.8.5 as the compiler is emitting "internal compiler error" for aarch64. The GCC "internal compiler error" was observed only for arm64 architecture so disable the PMD only for arm64. Fixes: 4f760550a093 ("mk: disable OcteonTx for buggy compilers") Cc: stable@dpdk.org Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/toolchain/gcc/rte.toolchain-compat.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/toolchain/gcc/rte.toolchain-compat.mk b/mk/toolchain/gcc/rte.toolchain-compat.mk
index 1e4434f..4490429 100644
--- a/mk/toolchain/gcc/rte.toolchain-compat.mk
+++ b/mk/toolchain/gcc/rte.toolchain-compat.mk
@@ -79,11 +79,13 @@ else
CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV=d
endif
- # Disable octeontx event PMD for gcc < 4.8.6
+ # Disable octeontx event PMD for gcc < 4.8.6 & ARCH=arm64
+ ifeq ($(CONFIG_RTE_ARCH), arm64)
ifeq ($(shell test $(GCC_VERSION)$(GCC_PATCHLEVEL) -lt 486 && echo 1), 1)
CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=d
CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=d
CONFIG_RTE_LIBRTE_OCTEONTX_PMD=d
endif
+ endif
endif