Re: Cannot use CONFIG_GCC_PLUGINS: your gcc version does not support plugins, you should upgrade it to at least gcc 4.5

From: Fengguang Wu
Date: Sat Aug 27 2016 - 09:42:00 EST


Hi Kees,

On Sat, Aug 27, 2016 at 09:28:38AM -0400, Kees Cook wrote:
Hi,

This appears to be "as expected": 4.4 gcc doesn't have either of those
features, so it correctly failed.

OK, I'll teach the robot to use newer compiler for CONFIG_GCC_PLUGINS.

Thanks,
Fengguang

On Sat, Aug 27, 2016 at 1:52 AM, kbuild test robot
<fengguang.wu@xxxxxxxxx> wrote:
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 28687b935e93a9041a485b9ecdcab0e335f8eda5
commit: ed58c0e9eefef517aa5a547b78658e2ab4422232 gcc-plugins: abort builds cleanly when not supported
date: 3 weeks ago
config: x86_64-randconfig-s1-08271305 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
git checkout ed58c0e9eefef517aa5a547b78658e2ab4422232
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

scripts/Makefile.gcc-plugins:17: warning: cannot use CONFIG_KCOV: -fsanitize-coverage=trace-pc is not supported by compiler
Cannot use CONFIG_GCC_PLUGINS: your gcc version does not support plugins, you should upgrade it to at least gcc 4.5
make[1]: *** [gcc-plugins-check] Error 1
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation



--
Kees Cook
Nexus Security