llvm-objcopy: error: Link field value 83 in section .rela.plt is not a symbol table

From: kernel test robot
Date: Mon Dec 23 2024 - 22:56:00 EST


Hi Nathan,

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: aef25be35d23ec768eed08bfcf7ca3cf9685bc28
commit: 397586506c3da005b9333ce5947ad01e8018a3be modpost: Add '.ltext' and '.ltext.*' to TEXT_SECTIONS
date: 11 months ago
:::::: branch date: 11 hours ago
:::::: commit date: 11 months ago
config: um-randconfig-r133-20241218 (https://download.01.org/0day-ci/archive/20241218/202412181651.ZY2nZCnO-lkp@xxxxxxxxx/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241218/202412181651.ZY2nZCnO-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/r/202412181651.ZY2nZCnO-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

/usr/bin/ld: warning: .tmp_vmlinux.btf has a LOAD segment with RWX permissions
>> llvm-objcopy: error: Link field value 83 in section .rela.plt is not a symbol table
btf_encoder__write_elf: failed to add .BTF section to '.tmp_vmlinux.btf': 2!
Failed to encode BTF
.btf.vmlinux.bin.o: file not recognized: file format not recognized
clang: error: linker command failed with exit code 1 (use -v to see invocation)

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