mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* (*ABS*+0xbb29b267): multiple definition of `__crc___gcov_merge_add'
@ 2017-09-24  6:42 kbuild test robot
  2017-09-24  7:50 ` Richard Weinberger
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2017-09-24  6:42 UTC (permalink / raw)
  To: Thomas Meyer; +Cc: kbuild-all, linux-kernel, Richard Weinberger

[-- Attachment #1: Type: text/plain, Size: 984 bytes --]

Hi Thomas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   cd4175b11685b11c40e31a03e05084cc212b0649
commit: d3488649dcd23b7a6e63895274ec69f80e92d4ed um: Fix CONFIG_GCOV for modules.
date:   10 days ago
config: um-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout d3488649dcd23b7a6e63895274ec69f80e92d4ed
        # save the attached .config to linux build tree
        make ARCH=um 

All errors (new ones prefixed by >>):

   kernel/gcov/base.o: In function `__crc___gcov_merge_add':
>> (*ABS*+0xbb29b267): multiple definition of `__crc___gcov_merge_add'
   kernel/gcov/base.o: In function `__crc___gcov_init':
>> (*ABS*+0xdceb3072): multiple definition of `__crc___gcov_init'

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 19505 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: (*ABS*+0xbb29b267): multiple definition of `__crc___gcov_merge_add'
  2017-09-24  6:42 (*ABS*+0xbb29b267): multiple definition of `__crc___gcov_merge_add' kbuild test robot
@ 2017-09-24  7:50 ` Richard Weinberger
  2017-09-26 19:37   ` [PATCH] gcov: GCOV_KERNEL and GCOV are mutually exclusive Thomas Meyer
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Weinberger @ 2017-09-24  7:50 UTC (permalink / raw)
  To: kbuild test robot; +Cc: Thomas Meyer, kbuild-all, linux-kernel

Am Sonntag, 24. September 2017, 08:42:06 CEST schrieb kbuild test robot:
> Hi Thomas,
> 
> FYI, the error/warning still remains.

Thomas' fix will be part of the next pull request.

Thanks,
//richard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] gcov: GCOV_KERNEL and GCOV are mutually exclusive
  2017-09-24  7:50 ` Richard Weinberger
@ 2017-09-26 19:37   ` Thomas Meyer
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Meyer @ 2017-09-26 19:37 UTC (permalink / raw)
  To: richard, linux-kernel; +Cc: Thomas Meyer

Fix it by forcing the user to choose one of the two GCOV options.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
---
 kernel/gcov/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/gcov/Kconfig b/kernel/gcov/Kconfig
index 1276aabaab55..6c0dd2a6d4fd 100644
--- a/kernel/gcov/Kconfig
+++ b/kernel/gcov/Kconfig
@@ -3,6 +3,7 @@ menu "GCOV-based kernel profiling"
 config GCOV_KERNEL
 	bool "Enable gcov-based kernel profiling"
 	depends on DEBUG_FS
+	depends on !GCOV
 	select CONSTRUCTORS if !UML
 	default n
 	---help---
-- 
2.11.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-26 19:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-24  6:42 (*ABS*+0xbb29b267): multiple definition of `__crc___gcov_merge_add' kbuild test robot
2017-09-24  7:50 ` Richard Weinberger
2017-09-26 19:37   ` [PATCH] gcov: GCOV_KERNEL and GCOV are mutually exclusive Thomas Meyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®