clang-7: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported [-Wignored-optimization-argument]
clang-7: warning: optimization flag '-fmerge-constants' is not supported [-Wignored-optimization-argument]
LD init/built-in.o
CC arch/mips/kernel/cpu-probe.o
clang-7: error: optimization flag '-fno-delete-null-pointer-checks' is not supported [-Werror,-Wignored-optimization-argument]
clang-7: error: optimization flag '-fmerge-constants' is not supported [-Werror,-Wignored-optimization-argument]
scripts/Makefile.build:296: recipe for target 'arch/mips/kernel/cpu-probe.o' failed
make[2]: *** [arch/mips/kernel/cpu-probe.o] Error 1
scripts/Makefile.build:547: recipe for target 'arch/mips/kernel' failed
Hi Loonger,
Failed to build:
I will fix it in the Compiler side.
Regards, Leslie Zhai