]> git.droids-corp.org - dpdk.git/commitdiff
mk: disable OcteonTx for buggy compilers only on arm64
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Mon, 3 Sep 2018 09:31:10 +0000 (15:01 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 16 Sep 2018 08:03:25 +0000 (10:03 +0200)
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>
mk/toolchain/gcc/rte.toolchain-compat.mk

index 1e4434fa9804b4c9ffb97beea68746f361615e12..44904295cced5d8a51fbdd962cfc42033494c7c8 100644 (file)
@@ -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