CC: linux-kernel(a)vger.kernel.org
TO: Nicholas Piggin <npiggin(a)gmail.com>
CC: Michael Ellerman <mpe(a)ellerman.id.au>
CC: Daniel Axtens <dja(a)axtens.net>
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9b1ea29bc0d7b94d420f96a0f4121403efc3dd85
commit: 9a32a7e78bd0cd9a9b6332cbdc345ee5ffd0c5de powerpc/64s: flush L1D after user
accesses
date: 4 months ago
config: powerpc64-randconfig-r034-20210310 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
cd9a69289c7825d54450cb6829fef2c8e0f1963a)
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 9a32a7e78bd0cd9a9b6332cbdc345ee5ffd0c5de
# 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: can't create dynamic relocation R_PPC64_ADDR64
against symbol: do_uaccess_flush in readonly segment; recompile object files with -fPIC or
pass '-Wl,-z,notext' to allow text relocations in the output
>> defined in arch/powerpc/kernel/head_64.o
>> referenced by arch/powerpc/kernel/head_64.o:(___ksymtab+do_uaccess_flush+0x0)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org