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>
Hi Nicholas,
FYI, the error/warning still remains.
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: cd1245d75ce93b8fd206f4b34eb58bcfe156d5e9
commit: 9a32a7e78bd0cd9a9b6332cbdc345ee5ffd0c5de powerpc/64s: flush L1D after user
accesses
date: 7 months ago
config: powerpc-randconfig-r035-20210610 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
d2012d965d60c3258b3a69d024491698f8aec386)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-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=powerpc
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)
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for MTK_SCP
Depends on REMOTEPROC && (ARCH_MEDIATEK || COMPILE_TEST
Selected by
- VIDEO_MEDIATEK_VCODEC && MEDIA_SUPPORT && MEDIA_PLATFORM_SUPPORT
&& V4L_MEM2MEM_DRIVERS && (MTK_IOMMU || COMPILE_TEST && VIDEO_DEV
&& VIDEO_V4L2 && (ARCH_MEDIATEK || COMPILE_TEST
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org