2017-09-17 18:53:35

by Fengguang Wu

[permalink] [raw]
Subject: (*ABS*+0xbb29b267): multiple definition of `__crc___gcov_merge_add'

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0666f560b71b899cd11a7caf39fd45129e9030fd
commit: d3488649dcd23b7a6e63895274ec69f80e92d4ed um: Fix CONFIG_GCOV for modules.
date: 4 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


Attachments:
(No filename) (932.00 B)
.config.gz (19.05 kB)
Download all attachments

2017-09-18 16:33:04

by Thomas Meyer

[permalink] [raw]
Subject: Re: (*ABS*+0xbb29b267): multiple definition of `__crc___gcov_merge_add'

True, as CONFIG_GCOV and CONFIG_GCOV_KERNEL should be mutually exclusive CONFIG options.

With kind regards
Thomas

> Am 17.09.2017 um 20:52 schrieb kbuild test robot <[email protected]>:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 0666f560b71b899cd11a7caf39fd45129e9030fd
> commit: d3488649dcd23b7a6e63895274ec69f80e92d4ed um: Fix CONFIG_GCOV for modules.
> date: 4 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
> <.config.gz>


Attachments:
smime.p7s (5.21 kB)