tree: https://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git kbuild head: db547ef1906400eb34682e43035dd4d81b9fdcfb commit: 543c37cb165049c3be24a0d4733e67caa2b33eef [4/15] Add sancov plugin config: x86_64-randconfig-r0-07191226 (attached as .config) compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7 reproduce: git checkout 543c37cb165049c3be24a0d4733e67caa2b33eef # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): scripts/Makefile.gcc-plugins:17: warning: cannot use CONFIG_KCOV: -fsanitize-coverage=trace-pc is not supported by compiler >> scripts/Makefile.gcc-plugins:32: warning: your gcc version does not support plugins, you should upgrade it to gcc 4.5 at least In file included from scripts/gcc-plugins/sancov_plugin.c:22:0: scripts/gcc-plugins/gcc-common.h:4:22: fatal error: bversion.h: No such file or directory compilation terminated. make[2]: *** [scripts/gcc-plugins/sancov_plugin.o] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [gcc-plugins] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [sub-make] Error 2 vim +32 scripts/Makefile.gcc-plugins 543c37cb Emese Revfy 2016-05-24 11 # It is needed because of the gcc-plugin.sh and gcc version checks. 543c37cb Emese Revfy 2016-05-24 12 gcc-plugin-$(CONFIG_GCC_PLUGIN_SANCOV) += sancov_plugin.so 543c37cb Emese Revfy 2016-05-24 13 543c37cb Emese Revfy 2016-05-24 14 ifneq ($(PLUGINCC),) 543c37cb Emese Revfy 2016-05-24 15 CFLAGS_KCOV := $(SANCOV_PLUGIN) 543c37cb Emese Revfy 2016-05-24 16 else 543c37cb Emese Revfy 2016-05-24 @17 $(warning warning: cannot use CONFIG_KCOV: -fsanitize-coverage=trace-pc is not supported by compiler) 543c37cb Emese Revfy 2016-05-24 18 endif 543c37cb Emese Revfy 2016-05-24 19 endif 543c37cb Emese Revfy 2016-05-24 20 endif 543c37cb Emese Revfy 2016-05-24 21 6b90bd4b Emese Revfy 2016-05-24 22 GCC_PLUGINS_CFLAGS := $(addprefix -fplugin=$(objtree)/scripts/gcc-plugins/, $(gcc-plugin-y)) 6b90bd4b Emese Revfy 2016-05-24 23 543c37cb Emese Revfy 2016-05-24 24 export PLUGINCC GCC_PLUGINS_CFLAGS GCC_PLUGIN SANCOV_PLUGIN 6b90bd4b Emese Revfy 2016-05-24 25 6b90bd4b Emese Revfy 2016-05-24 26 ifeq ($(PLUGINCC),) 6b90bd4b Emese Revfy 2016-05-24 27 ifneq ($(GCC_PLUGINS_CFLAGS),) 6b90bd4b Emese Revfy 2016-05-24 28 ifeq ($(call cc-ifversion, -ge, 0405, y), y) 6b90bd4b Emese Revfy 2016-05-24 29 PLUGINCC := $(shell $(CONFIG_SHELL) -x $(srctree)/scripts/gcc-plugin.sh "$(__PLUGINCC)" "$(HOSTCXX)" "$(CC)") 6b90bd4b Emese Revfy 2016-05-24 30 $(warning warning: your gcc installation does not support plugins, perhaps the necessary headers are missing?) 6b90bd4b Emese Revfy 2016-05-24 31 else 6b90bd4b Emese Revfy 2016-05-24 @32 $(warning warning: your gcc version does not support plugins, you should upgrade it to gcc 4.5 at least) 6b90bd4b Emese Revfy 2016-05-24 33 endif 6b90bd4b Emese Revfy 2016-05-24 34 endif 543c37cb Emese Revfy 2016-05-24 35 else :::::: The code at line 32 was first introduced by commit :::::: 6b90bd4ba40b38dc13c2782469c1c77e4ed79915 GCC plugin infrastructure :::::: TO: Emese Revfy <re.emese@xxxxxxxxx> :::::: CC: Michal Marek <mmarek@xxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data