diff --git a/Makefile b/Makefile
index 5ab6be8889cab0a6eb5e3d86912684c3315bf2b0..034e5aadce5c5296ceb8265f2a45ac8ed808972b 100644
--- a/Makefile
+++ b/Makefile
@@ -600,9 +600,13 @@ KBUILD_CFLAGS	+= -g
 KBUILD_AFLAGS	+= -g
 
 # Report stack usage if supported
+# ARC tools based on GCC 7.1 has an issue with stack usage
+# with naked functions, see commit message for more details
+ifndef CONFIG_ARC
 ifeq ($(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-stack-usage.sh $(CC)),y)
 	KBUILD_CFLAGS += -fstack-usage
 endif
+endif
 
 KBUILD_CFLAGS += $(call cc-option,-Wno-format-nonliteral)