lkml.org 
[lkml]   [2016]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6] kernel: add kcov code coverage
Hi Dmitry,

[auto build test ERROR on v4.5-rc1]
[also build test ERROR on next-20160125]
[cannot apply to tip/x86/core kbuild/for-next]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Dmitry-Vyukov/kernel-add-kcov-code-coverage/20160125-210230
config: x86_64-allyesconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

>> Makefile:679: Cannot use CONFIG_KCOV: -fsanitize-coverage=trace-pc is not supported by compiler
>> gcc-5: error: unrecognized command line option '-fsanitize-coverage=trace-pc'
make[2]: *** [arch/x86/purgatory/purgatory.o] Error 1
>> gcc-5: error: unrecognized command line option '-fsanitize-coverage=trace-pc'
make[2]: *** [arch/x86/purgatory/sha256.o] Error 1
>> gcc-5: error: unrecognized command line option '-fsanitize-coverage=trace-pc'
make[2]: *** [arch/x86/purgatory/string.o] Error 1
make[2]: Target 'arch/x86/purgatory/kexec-purgatory.c' not remade because of errors.
make[1]: *** [archprepare] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2

vim +679 Makefile

673 endif
674 endif
675 KBUILD_CFLAGS += $(stackp-flag)
676
677 ifdef CONFIG_KCOV
678 ifeq ($(call cc-option, $(CFLAGS_KCOV)),)
> 679 $(warning Cannot use CONFIG_KCOV: \
680 -fsanitize-coverage=trace-pc is not supported by compiler)
681 endif
682 endif

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2016-01-25 15:41    [W:0.136 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site