]> git.droids-corp.org - dpdk.git/blobdiff - mk/toolchain/gcc/rte.toolchain-compat.mk
build: fix crash by disabling AVX512 with binutils 2.31
[dpdk.git] / mk / toolchain / gcc / rte.toolchain-compat.mk
index df71e4a8b570c7c56f24b05cfcca6795956a25ec..ea40a11c0cf8171af6ad1f8e956b07afac3b6ff6 100644 (file)
@@ -27,7 +27,14 @@ ifneq ($(filter 2.30%,$(LD_VERSION)),)
 FORCE_DISABLE_AVX512 := y
 # print warning only once for librte_eal
 ifneq ($(filter %librte_eal,$(CURDIR)),)
-$(warning AVX512 support disabled because of ld 2.30. See Bug 97)
+$(warning AVX512 support disabled because of binutils 2.30. See Bug 97)
+endif
+endif
+ifneq ($(filter 2.31%,$(LD_VERSION)),)
+FORCE_DISABLE_AVX512 := y
+# print warning only once for librte_eal
+ifneq ($(filter %librte_eal,$(CURDIR)),)
+$(warning AVX512 support disabled because of binutils 2.31. See Bug 249)
 endif
 endif
 endif