From: Ali Alnubani Date: Mon, 20 Jan 2020 19:51:14 +0000 (+0000) Subject: mk: disable OCTEON TX2 EP with old arm64 compilers X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a4feffcfe1604e967a70012078eb80f90463da2e;p=dpdk.git mk: disable OCTEON TX2 EP with old arm64 compilers OCTEON TX2 isn't built for gcc 4.8.5 as the compiler emits "internal compiler error" on aarch64. This causes the following build error when OCTEON TX2 EP is enabled: /usr/bin/ld: cannot find -lrte_common_octeontx2 collect2: error: ld returned 1 exit status Fixes: 56d46d13f736 ("raw/octeontx2_ep: add build infra and device probe") Signed-off-by: Ali Alnubani --- diff --git a/mk/toolchain/gcc/rte.toolchain-compat.mk b/mk/toolchain/gcc/rte.toolchain-compat.mk index 7ce01a3661..98dca3e786 100644 --- a/mk/toolchain/gcc/rte.toolchain-compat.mk +++ b/mk/toolchain/gcc/rte.toolchain-compat.mk @@ -102,13 +102,14 @@ else CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV=d endif - # Disable octeontx event PMD for gcc < 4.8.6 & ARCH=arm64 + # Disable OCTEON drivers and libs for arm64 gcc < 4.8.6 ifeq ($(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 CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_DMA_RAWDEV=d + CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_EP_RAWDEV=d CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_EVENTDEV=d CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_CRYPTO=d CONFIG_RTE_LIBRTE_OCTEONTX2_MEMPOOL=d