CC: Linux Memory Management List <linux-mm(a)kvack.org>
TO: Kees Cook <keescook(a)chromium.org>
CC: Marco Elver <elver(a)google.com>
CC: Andrew Morton <akpm(a)linux-foundation.org>
CC: Linux Memory Management List <linux-mm(a)kvack.org>
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: c122052c3cb861b3e61a01d2c2ab9069e470663e
commit: 70a691bde53c0f7b8e2ff04e1a59f710ae355b69 [7598/8462] ubsan: remove
CONFIG_UBSAN_OBJECT_SIZE
config: riscv-randconfig-r026-20211218
(
https://download.01.org/0day-ci/archive/20211219/202112190243.VR0tfUjI-lk...)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
4c9e31a4814592bbda7153833e46728dc7b21100)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 70a691bde53c0f7b8e2ff04e1a59f710ae355b69
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir
ARCH=riscv SHELL=/bin/bash
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: kernel/built-in.a(kallsyms.o):(function
kallsyms_open: .text+0xec4): relocation R_RISCV_PCREL_HI20 out of range: -524470 is not in
[-524288, 524287]; references kallsyms_markers
>> referenced by kallsyms.c
>> defined in kernel/built-in.a(kallsyms.o)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org