(*ABS*+0xbb29b267): multiple definition of `__crc___gcov_merge_add'
kbuild test robot
build botHi 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
Am Sonntag, 24. September 2017, 08:42:06 CEST schrieb kbuild test robot:
Quoted 3 lines
Hi Thomas,
FYI, the error/warning still remains.
Thomas' fix will be part of the next pull request.
Thanks,
//richard
PATCH 1/1 gcov: GCOV_KERNEL and GCOV are mutually exclusive
Fix it by forcing the user to choose one of the two GCOV options.
Signed-off-by Thomas Meyer <[email protected]>
--- kernel/gcov/Kconfig | 1 + 1 file changed, 1 insertion(+)
kernel/gcov/Kconfig +1 -0
@@ -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---
Signature · 1 line
2.11.0