Conflict between sparse and commit cafa0010cd51f ("Raise the minimum required gcc version to 4.6")
From: Christophe Leroy
Date: Fri Sep 07 2018 - 08:22:15 EST
Since commit cafa0010cd51f ("Raise the minimum required gcc version to
4.6"), sparse check fails as follows:
[root@pc16082vm linux-powerpc]# make C=2 arch/powerpc/kernel/process.o
CALL scripts/checksyscalls.sh
CHECK scripts/mod/empty.c
./include/linux/compiler-gcc.h:14:3: error: Sorry, your compiler is too
old - please upgrade it.
CHECK arch/powerpc/kernel/process.c
./include/linux/compiler-gcc.h:14:3: error: Sorry, your compiler is too
old - please upgrade it.
I have sparse version 0.5.2
What can be done to fix that ?
Christophe