diff --git a/dpdkbuild/Makefile b/dpdkbuild/Makefile index adcec6034..cd0a7b983 100644 --- a/dpdkbuild/Makefile +++ b/dpdkbuild/Makefile @@ -114,6 +114,11 @@ ifeq ($(shell test $(GCC_MAJOR) -ge 10 && echo 1), 1) #aesni_mb_logtype_driver symbol which is defined in header file and presented in several #translation units DPDK_CFLAGS += -Wno-stringop-overflow -fcommon +ifeq ($(shell test $(GCC_MAJOR) -ge 12 && echo 1), 1) +# 3. gcc 12 reports reading incorect size from a region. Seems like false positive, +# see issue #2460 +DPDK_CFLAGS += -Wno-stringop-overread +endif endif endif