* [broonie-misc:arm64-bti 5/11] include/linux/elf.h:79:19: error: redefinition of 'arch_parse_elf_property'
@ 2020-02-26 21:33 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-02-26 21:33 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3886 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git arm64-bti
head: d6897bb309fc4ef374e1de8242eb94d1fb97c13b
commit: 763c26f800f938383277a1289758bf995ad9df1e [5/11] arm64: elf: Enable BTI at exec based on ELF program properties
config: arm64-allnoconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 763c26f800f938383277a1289758bf995ad9df1e
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/module.h:18:0,
from include/linux/kallsyms.h:13,
from include/linux/ftrace.h:11,
from include/linux/perf_event.h:49,
from include/kvm/arm_pmu.h:10,
from arch/arm64/include/asm/kvm_host.h:36,
from include/linux/kvm_host.h:36,
from arch/arm64/kernel/asm-offsets.c:14:
>> include/linux/elf.h:79:19: error: redefinition of 'arch_parse_elf_property'
static inline int arch_parse_elf_property(u32 type, const void *data,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/elf.h:6:0,
from include/linux/module.h:18,
from include/linux/kallsyms.h:13,
from include/linux/ftrace.h:11,
from include/linux/perf_event.h:49,
from include/kvm/arm_pmu.h:10,
from arch/arm64/include/asm/kvm_host.h:36,
from include/linux/kvm_host.h:36,
from arch/arm64/kernel/asm-offsets.c:14:
arch/arm64/include/asm/elf.h:241:19: note: previous definition of 'arch_parse_elf_property' was here
static inline int arch_parse_elf_property(u32 type, const void *data,
^~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:101: arch/arm64/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1112: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:179: sub-make] Error 2
18 real 4 user 5 sys 56.23% cpu make prepare
vim +/arch_parse_elf_property +79 include/linux/elf.h
a1f926d8f77ce5 Dave Martin 2019-10-18 77
a1f926d8f77ce5 Dave Martin 2019-10-18 78 #ifndef CONFIG_ARCH_USE_GNU_PROPERTY
a1f926d8f77ce5 Dave Martin 2019-10-18 @79 static inline int arch_parse_elf_property(u32 type, const void *data,
a1f926d8f77ce5 Dave Martin 2019-10-18 80 size_t datasz, bool compat,
a1f926d8f77ce5 Dave Martin 2019-10-18 81 struct arch_elf_state *arch)
a1f926d8f77ce5 Dave Martin 2019-10-18 82 {
a1f926d8f77ce5 Dave Martin 2019-10-18 83 return 0;
a1f926d8f77ce5 Dave Martin 2019-10-18 84 }
a1f926d8f77ce5 Dave Martin 2019-10-18 85 #else
a1f926d8f77ce5 Dave Martin 2019-10-18 86 extern int arch_parse_elf_property(u32 type, const void *data, size_t datasz,
a1f926d8f77ce5 Dave Martin 2019-10-18 87 bool compat, struct arch_elf_state *arch);
a1f926d8f77ce5 Dave Martin 2019-10-18 88 #endif
a1f926d8f77ce5 Dave Martin 2019-10-18 89
:::::: The code at line 79 was first introduced by commit
:::::: a1f926d8f77ce54c403ba91d81d986635e81ff84 ELF: Add ELF program property parsing support
:::::: TO: Dave Martin <Dave.Martin@arm.com>
:::::: CC: Mark Brown <broonie@kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 8019 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-26 21:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-26 21:33 [broonie-misc:arm64-bti 5/11] include/linux/elf.h:79:19: error: redefinition of 'arch_parse_elf_property' kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.