Suse linux is running in my system. I planned to install new kernel in my system. I downloaded new kernel from kernel.org and when i tried to compile it the following error was appeared. Can some one please help me to avoid this error.
Room:/usr/src/linux-18.104.22.168 # make
scripts/kconfig/conf -s arch/x86/Kconfig
SYMLINK include/asm -> include/asm-x86
In file included from include/linux/compiler-gcc.h:86,
include/linux/compiler-gcc4.h:8:4: error: #error Your version of gcc miscompiles the __weak directive
make: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
Thanks in advance.