CC: linux-kernel(a)vger.kernel.org
TO: Nicholas Piggin <npiggin(a)gmail.com>
CC: Michael Ellerman <mpe(a)ellerman.id.au>
Hi Nicholas,
First bad commit (maybe != root cause):
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e2da783614bb8930aa89753d3c3cd53d5604665d
commit: 903dd1ff453e458fc7608ee4df42a6df16d3d1a0 powerpc/64e: remove 64s specific
interrupt soft-mask code
date: 3 months ago
config: powerpc64-randconfig-r005-20210118 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
bfd75bdf3fd62d4f5e7028d4122f9ffa517f2a09)
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
# install powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 903dd1ff453e458fc7608ee4df42a6df16d3d1a0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x22FE): unknown
relocation (110) against symbol interrupt_base_book3e
ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x2316): unknown
relocation (110) against symbol __end_interrupts
ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x248A): unknown
relocation (110) against symbol interrupt_base_book3e
ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x24A2): unknown
relocation (110) against symbol __end_interrupts
> ld.lld: error:
arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x36BA): unknown relocation (110)
against symbol
ld.lld: error: undefined symbol: .early_setup
>> referenced by arch/powerpc/kernel/head_64.o:(.ref.text+0x8E)
>> did you mean: early_setup
>> defined in: arch/powerpc/built-in.a(kernel/setup_64.o)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org