[dpdk-stable] [PATCH] mk: fix scope of disabling AVX512F support

Thomas Monjalon thomas at monjalon.net
Wed Dec 19 20:58:26 CET 2018


19/12/2018 20:29, Ferruh Yigit:
> AVX512 was disabled for GCC because of Bugzilla issue 97 [1],
> the GCC defect submitted for the issue [2] highlighted that this is
> a known binutils version 2.30 issue.
> 
> Narrowed the scope of no-avx512 to the this specific binutils version.
[...]
>  # disable AVX512F support of gcc as a workaround for Bug 97
>  ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
> +ifneq ($(filter 2.30%,$(LD_VERSION)),)
>  MACHINE_CFLAGS += -mno-avx512f

I think we should print a warning here.
There is a function $(warning) or $(info) for such case.





More information about the stable mailing list