ld.lld: error: vmlinux.o:(.debug_frame+0x2b7884): relocation R_RISCV_SET32 out of range: 2158664622 is not in

From: kernel test robot
Date: Sun Feb 09 2025 - 08:57:03 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9946eaf552b194bb352c2945b54ff98c8193b3f1
commit: 021d23428bdbae032294e8f4a29cb53cb50ae71c RISC-V: build: Allow LTO to be selected
date: 1 year, 1 month ago
config: riscv-randconfig-r133-20250208 (https://download.01.org/0day-ci/archive/20250209/202502092134.1ptPMAu1-lkp@xxxxxxxxx/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project 6807164500e9920638e2ab0cdb4bf8321d24f8eb)
reproduce: (https://download.01.org/0day-ci/archive/20250209/202502092134.1ptPMAu1-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502092134.1ptPMAu1-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.42) is being placed in '.bss..L_MergedGlobals.42'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.23) is being placed in '.bss..L_MergedGlobals.23'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.4) is being placed in '.bss..L_MergedGlobals.4'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.49) is being placed in '.bss..L_MergedGlobals.49'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.39) is being placed in '.bss..L_MergedGlobals.39'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.16) is being placed in '.bss..L_MergedGlobals.16'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.15) is being placed in '.bss..L_MergedGlobals.15'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.40) is being placed in '.bss..L_MergedGlobals.40'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.25) is being placed in '.bss..L_MergedGlobals.25'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.51) is being placed in '.bss..L_MergedGlobals.51'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.72) is being placed in '.bss..L_MergedGlobals.72'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.38) is being placed in '.bss..L_MergedGlobals.38'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.47) is being placed in '.bss..L_MergedGlobals.47'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.20) is being placed in '.bss..L_MergedGlobals.20'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.26) is being placed in '.bss..L_MergedGlobals.26'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.18) is being placed in '.bss..L_MergedGlobals.18'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.113) is being placed in '.bss..L_MergedGlobals.113'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.45) is being placed in '.bss..L_MergedGlobals.45'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.34) is being placed in '.bss..L_MergedGlobals.34'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.55) is being placed in '.bss..L_MergedGlobals.55'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.30) is being placed in '.bss..L_MergedGlobals.30'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.81) is being placed in '.bss..L_MergedGlobals.81'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.12) is being placed in '.bss..L_MergedGlobals.12'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.24) is being placed in '.bss..L_MergedGlobals.24'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.32) is being placed in '.bss..L_MergedGlobals.32'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.52) is being placed in '.bss..L_MergedGlobals.52'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.41) is being placed in '.bss..L_MergedGlobals.41'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.46) is being placed in '.bss..L_MergedGlobals.46'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.10) is being placed in '.bss..L_MergedGlobals.10'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.22) is being placed in '.bss..L_MergedGlobals.22'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.8) is being placed in '.bss..L_MergedGlobals.8'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.37) is being placed in '.bss..L_MergedGlobals.37'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.86) is being placed in '.bss..L_MergedGlobals.86'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.85) is being placed in '.bss..L_MergedGlobals.85'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.99) is being placed in '.bss..L_MergedGlobals.99'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.54) is being placed in '.bss..L_MergedGlobals.54'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.36) is being placed in '.bss..L_MergedGlobals.36'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.62) is being placed in '.bss..L_MergedGlobals.62'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.13) is being placed in '.bss..L_MergedGlobals.13'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals) is being placed in '.bss..L_MergedGlobals'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.27) is being placed in '.bss..L_MergedGlobals.27'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.31) is being placed in '.bss..L_MergedGlobals.31'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.21) is being placed in '.bss..L_MergedGlobals.21'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.11) is being placed in '.bss..L_MergedGlobals.11'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.43) is being placed in '.bss..L_MergedGlobals.43'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.6) is being placed in '.bss..L_MergedGlobals.6'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.98) is being placed in '.bss..L_MergedGlobals.98'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.61) is being placed in '.bss..L_MergedGlobals.61'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.35) is being placed in '.bss..L_MergedGlobals.35'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.14) is being placed in '.bss..L_MergedGlobals.14'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.57) is being placed in '.bss..L_MergedGlobals.57'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.44) is being placed in '.bss..L_MergedGlobals.44'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.29) is being placed in '.bss..L_MergedGlobals.29'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.19) is being placed in '.bss..L_MergedGlobals.19'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.1) is being placed in '.bss..L_MergedGlobals.1'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.7) is being placed in '.bss..L_MergedGlobals.7'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.9) is being placed in '.bss..L_MergedGlobals.9'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.33) is being placed in '.bss..L_MergedGlobals.33'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.17) is being placed in '.bss..L_MergedGlobals.17'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.104) is being placed in '.bss..L_MergedGlobals.104'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.3) is being placed in '.bss..L_MergedGlobals.3'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.28) is being placed in '.bss..L_MergedGlobals.28'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.5) is being placed in '.bss..L_MergedGlobals.5'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.42) is being placed in '.bss..L_MergedGlobals.42'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.23) is being placed in '.bss..L_MergedGlobals.23'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.4) is being placed in '.bss..L_MergedGlobals.4'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.49) is being placed in '.bss..L_MergedGlobals.49'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.39) is being placed in '.bss..L_MergedGlobals.39'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.16) is being placed in '.bss..L_MergedGlobals.16'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.15) is being placed in '.bss..L_MergedGlobals.15'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.40) is being placed in '.bss..L_MergedGlobals.40'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.25) is being placed in '.bss..L_MergedGlobals.25'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.51) is being placed in '.bss..L_MergedGlobals.51'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.72) is being placed in '.bss..L_MergedGlobals.72'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.38) is being placed in '.bss..L_MergedGlobals.38'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.47) is being placed in '.bss..L_MergedGlobals.47'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.20) is being placed in '.bss..L_MergedGlobals.20'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.26) is being placed in '.bss..L_MergedGlobals.26'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.18) is being placed in '.bss..L_MergedGlobals.18'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.113) is being placed in '.bss..L_MergedGlobals.113'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.45) is being placed in '.bss..L_MergedGlobals.45'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.34) is being placed in '.bss..L_MergedGlobals.34'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.55) is being placed in '.bss..L_MergedGlobals.55'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.30) is being placed in '.bss..L_MergedGlobals.30'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.81) is being placed in '.bss..L_MergedGlobals.81'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.12) is being placed in '.bss..L_MergedGlobals.12'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.24) is being placed in '.bss..L_MergedGlobals.24'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.32) is being placed in '.bss..L_MergedGlobals.32'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.52) is being placed in '.bss..L_MergedGlobals.52'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.41) is being placed in '.bss..L_MergedGlobals.41'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.46) is being placed in '.bss..L_MergedGlobals.46'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.10) is being placed in '.bss..L_MergedGlobals.10'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.22) is being placed in '.bss..L_MergedGlobals.22'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.8) is being placed in '.bss..L_MergedGlobals.8'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.37) is being placed in '.bss..L_MergedGlobals.37'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.86) is being placed in '.bss..L_MergedGlobals.86'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.85) is being placed in '.bss..L_MergedGlobals.85'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.99) is being placed in '.bss..L_MergedGlobals.99'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.54) is being placed in '.bss..L_MergedGlobals.54'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.36) is being placed in '.bss..L_MergedGlobals.36'
>> ld.lld: error: vmlinux.o:(.debug_frame+0x2b7884): relocation R_RISCV_SET32 out of range: 2158664622 is not in [-2147483648, 2147483647]
>>> referenced by delay.c; consider recompiling with -fdebug-types-section to reduce size of debug sections

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki