riscv64-linux-ld: section __ex_table LMA [000000000187a9d0,000000000187d56f] overlaps section .rodata LMA [000000000178aa00,0000000001ef0fe7]
From: kernel test robot
Date: Sat May 22 2021 - 13:48:59 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 45af60e7ced07ae3def41368c3d260dbf496fbce
commit: 44c922572952d89a1ed15764f2b373ba62692865 RISC-V: enable XIP
date: 4 weeks ago
config: riscv-randconfig-r033-20210522 (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=44c922572952d89a1ed15764f2b373ba62692865
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 44c922572952d89a1ed15764f2b373ba62692865
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
riscv64-linux-ld: section .data LMA [0000000000800000,0000000000a1a6ff] overlaps section .text LMA [00000000000667c8,000000000178a991]
>> riscv64-linux-ld: section __ex_table LMA [000000000187a9d0,000000000187d56f] overlaps section .rodata LMA [000000000178aa00,0000000001ef0fe7]
riscv64-linux-ld: section .rodata VMA [ffffffff8178aa00,ffffffff81ef0fe7] overlaps section .bss VMA [ffffffff80c08000,ffffffff8187a9c7]
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for ERRATA_SIFIVE
Depends on RISCV_ERRATA_ALTERNATIVE
Selected by
- SOC_SIFIVE
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip