ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x36BA): unknown relocation (110) against symbol

5 views
Skip to first unread message

kernel test robot

unread,
Jan 17, 2021, 7:45:05 PM1/17/21
to kbuil...@lists.01.org, clang-bu...@googlegroups.com
CC: linux-...@vger.kernel.org
TO: Nicholas Piggin <npi...@gmail.com>
CC: Michael Ellerman <m...@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/?id=903dd1ff453e458fc7608ee4df42a6df16d3d1a0
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 <l...@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/kbuil...@lists.01.org
.config.gz

kernel test robot

unread,
Jan 18, 2021, 1:06:17 AM1/18/21
to kbuil...@lists.01.org, clang-bu...@googlegroups.com
CC: linux-...@vger.kernel.org
TO: Nicholas Piggin <npi...@gmail.com>
CC: Michael Ellerman <m...@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: 19c329f6808995b142b3966301f217c831e7cf31
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 95d146182fdf2315e74943b93fb3bb0cbafc5d89)
.config.gz

Nick Desaulniers

unread,
Jan 19, 2021, 4:33:25 PM1/19/21
to kernel test robot, kbuil...@lists.01.org, clang-built-linux
fixed by: https://github.com/llvm/llvm-project/commit/5fcb412ed0831ad763810f9b424149b3b353451a
> --
> You received this message because you are subscribed to the Google Groups "Clang Built Linux" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to clang-built-li...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/202101181440.hvKuMRGL-lkp%40intel.com.



--
Thanks,
~Nick Desaulniers
Reply all
Reply to author
Forward
0 new messages