[mark:arm64/ftrace/per-callsite-ops 4/6] kernel/exit.c:1815: multiple definition of `abort'; arch/arc/kernel/traps.o:arch/arc/kernel/traps.c:158: first defined here

From: kernel test robot
Date: Fri Apr 29 2022 - 16:03:26 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/ftrace/per-callsite-ops
head: 2aaba224d039a36f7eca5ad68c77686d3546e4fa
commit: be98798b102a3e28fa0832c9c0473f42e14abe8b [4/6] HACK: arm64: ftrace: align pre-function literal pool
config: arc-randconfig-r043-20220428 (https://download.01.org/0day-ci/archive/20220430/202204300335.TrNu3DnY-lkp@xxxxxxxxx/config)
compiler: arceb-elf-gcc (GCC) 11.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id=be98798b102a3e28fa0832c9c0473f42e14abe8b
git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark arm64/ftrace/per-callsite-ops
git checkout be98798b102a3e28fa0832c9c0473f42e14abe8b
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

arceb-elf-ld: kernel/exit.o: in function `abort':
>> kernel/exit.c:1815: multiple definition of `abort'; arch/arc/kernel/traps.o:arch/arc/kernel/traps.c:158: first defined here


vim +1815 kernel/exit.c

38fd525a4c61e7e Eric W. Biederman 2020-07-01 1813
be98798b102a3e2 Mark Rutland 2022-04-29 1814 void __aligned(8) abort(void)
7c2c11b208be09c Sudip Mukherjee 2017-12-14 @1815 {

:::::: The code at line 1815 was first introduced by commit
:::::: 7c2c11b208be09c156573fc0076b7b3646e05219 arch: define weak abort()

:::::: TO: Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

--
0-DAY CI Kernel Test Service
https://01.org/lkp