Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1308882

Re: [PATCH v2] kernel: add kcov code coverage

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] kernel: add kcov code coverage
Date 2016-01-13 23:40 +0100
Message-ID <qQCf9-6cl-35@gated-at.bofh.it> (permalink)
References <qQt2a-8ek-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Dmitry,

[auto build test ERROR on kbuild/for-next]
[also build test ERROR on v4.4]
[cannot apply to tip/x86/core next-20160113]
[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/20160113-205004
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git for-next
config: x86_64-randconfig-n0-01140517 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

>> Makefile:695: 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]: *** [kernel/bounds.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

vim +695 Makefile

   689	endif
   690	endif
   691	KBUILD_CFLAGS += $(stackp-flag)
   692	
   693	ifdef CONFIG_KCOV
   694	  ifeq ($(call cc-option, $(CFLAGS_KCOV)),)
 > 695	    $(warning Cannot use CONFIG_KCOV: \
   696	             -fsanitize-coverage=trace-pc is not supported by compiler)
   697	  endif
   698	endif

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] kernel: add kcov code coverage Dmitry Vyukov <dvyukov@google.com> - 2016-01-13 13:50 +0100
  Re: [PATCH v2] kernel: add kcov code coverage kbuild test robot <lkp@intel.com> - 2016-01-13 23:40 +0100
  Re: [PATCH v2] kernel: add kcov code coverage "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-01-14 10:10 +0100
    Re: [PATCH v2] kernel: add kcov code coverage Dmitry Vyukov <dvyukov@google.com> - 2016-01-14 10:20 +0100
      Re: [PATCH v2] kernel: add kcov code coverage Dmitry Vyukov <dvyukov@google.com> - 2016-01-14 13:30 +0100
        Re: [PATCH v2] kernel: add kcov code coverage "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-01-14 13:40 +0100
        Re: [PATCH v2] kernel: add kcov code coverage "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-01-14 14:00 +0100
          Re: [PATCH v2] kernel: add kcov code coverage Dmitry Vyukov <dvyukov@google.com> - 2016-01-14 15:30 +0100
  Re: [PATCH v2] kernel: add kcov code coverage Andrey Ryabinin <ryabinin.a.a@gmail.com> - 2016-01-14 12:00 +0100
    Re: [PATCH v2] kernel: add kcov code coverage Dmitry Vyukov <dvyukov@google.com> - 2016-01-14 15:40 +0100

csiph-web