riscv64-linux-ld: section .data LMA [0000000000800000,0000000000a9985f] overlaps section .rodata LMA [0000000000686b40,000000000090a9df]

From: kernel test robot
Date: Fri Jul 09 2021 - 02:00:56 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f55966571d5eb2876a11e48e798b4592fa1ffbb7
commit: 44c922572952d89a1ed15764f2b373ba62692865 RISC-V: enable XIP
date: 2 months ago
config: riscv-randconfig-r036-20210709 (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,0000000000a9985f] overlaps section .rodata LMA [0000000000686b40,000000000090a9df]
>> riscv64-linux-ld: section __ksymtab LMA [000000000090a9e0,000000000091283f] overlaps section .data LMA [0000000000800000,0000000000a9985f]

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip