pahole: .tmp_vmlinux.btf: No such file or directory

From: kernel test robot
Date: Mon Feb 13 2023 - 06:52:22 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ceaa837f96adb69c0df0397937cd74991d5d821a
commit: 4e8bb4ba5a558159ffbfa7e60322a1c151c3903c csky: Add jump-label implementation
date: 7 months ago
config: csky-randconfig-r006-20230213 (https://download.01.org/0day-ci/archive/20230213/202302131934.6f0mCaxY-lkp@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 12.1.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=4e8bb4ba5a558159ffbfa7e60322a1c151c3903c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 4e8bb4ba5a558159ffbfa7e60322a1c151c3903c
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=csky olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=csky SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202302131934.6f0mCaxY-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

`.exit.text' referenced in section `__jump_table' of drivers/rapidio/switches/idt_gen2.o: defined in discarded section `.exit.text' of drivers/rapidio/switches/idt_gen2.o
`.exit.text' referenced in section `__jump_table' of drivers/rapidio/switches/idt_gen2.o: defined in discarded section `.exit.text' of drivers/rapidio/switches/idt_gen2.o
`.exit.text' referenced in section `__jump_table' of drivers/rapidio/switches/idt_gen2.o: defined in discarded section `.exit.text' of drivers/rapidio/switches/idt_gen2.o
`.exit.text' referenced in section `__jump_table' of drivers/rapidio/switches/idt_gen2.o: defined in discarded section `.exit.text' of drivers/rapidio/switches/idt_gen2.o
drivers/char/random.o: in function `add_interrupt_randomness':
drivers/char/random.c:1000:(.text+0x28c): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
drivers/char/random.c:1005:(.text+0x2cc): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
drivers/char/random.c:1018:(.text+0x2fc): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
drivers/char/random.o: in function `lockdep_init_map_waits':
include/linux/lockdep.h:191:(.text+0x338): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
drivers/char/random.o: in function `random_fasync':
drivers/char/random.c:1405:(.text+0x352): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
drivers/char/random.o: in function `__blake2s_init':
include/crypto/blake2s.h:64:(.text+0x3f4): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
drivers/char/random.o: in function `blake2s':
include/crypto/blake2s.h:100:(.text+0x412): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
include/crypto/blake2s.h:101:(.text+0x41a): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
drivers/char/random.o: in function `extract_entropy':
drivers/char/random.c:604:(.text+0x46c): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
drivers/char/random.c:607:(.text+0x478): relocation truncated to fit: R_CKCORE_PCREL_IMM16BY4 against `__jump_table'
drivers/char/random.c:607:(.text+0x480): additional relocation overflows omitted from the output
>> pahole: .tmp_vmlinux.btf: No such file or directory
.btf.vmlinux.bin.o: file not recognized: file format not recognized

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