tree: https://github.com/intel-lab-lkp/linux/commits/Jisheng-Zhang/riscv-jump_label-mark-arguments-as-const-to-satisfy-asm-constraints/20221006-145135 head: a65d32ad7e3e266a1a7ef65fbcfe1f0a3e1f72f9 commit: f3e37da833f505cebdc8ffd6bfaa8f024c80570a riscv: Fix build with CONFIG_CC_OPTIMIZE_FOR_SIZE=y date: 6 days ago config: riscv-randconfig-r032-20221012 compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920) 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://github.com/intel-lab-lkp/linux/commit/f3e37da833f505cebdc8ffd6bfaa8f024c80570a git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Jisheng-Zhang/riscv-jump_label-mark-arguments-as-const-to-satisfy-asm-constraints/20221006-145135 git checkout f3e37da833f505cebdc8ffd6bfaa8f024c80570a # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv prepare If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): >> ld.lld: error: section .text file range overlaps with _ftrace_branch >>> .text range is [0x800, 0x162B] >>> _ftrace_branch range is [0x840, 0x997] -- >> ld.lld: error: section .text virtual address range overlaps with _ftrace_branch >>> .text range is [0x800, 0x162B] >>> _ftrace_branch range is [0x840, 0x997] -- >> ld.lld: error: section .text load address range overlaps with _ftrace_branch >>> .text range is [0x800, 0x162B] >>> _ftrace_branch range is [0x840, 0x997] -- >> ld.lld: error: section .text load address range overlaps with _ftrace_branch >>> .text range is [0x800, 0x162B] >>> _ftrace_branch range is [0x840, 0x997] llvm-nm: error: arch/riscv/kernel/vdso/vdso.so.dbg: No such file or directory -- 0-DAY CI Kernel Test Service https://01.org/lkp