hppa-linux-ld: fs/xfs/xfs_trace.o(.text+0x3ffa0): cannot reach 00002a33_ftrace_likely_update+0, recompile with -ffunction-sections

From: kernel test robot

Date: Mon Jun 22 2026 - 17:46:58 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4708cac0e22cfd217f48f7cec3c35e5922efcccd
commit: a46023d5616ed3ed781e56ca93400eb9490e3646 tracing: Guard __DECLARE_TRACE() use of __DO_TRACE_CALL() with SRCU-fast
date: 5 months ago
config: parisc-randconfig-r122-20260622 (https://download.01.org/0day-ci/archive/20260623/202606230559.AQD8epwY-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 10.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260623/202606230559.AQD8epwY-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
| Fixes: a46023d5616e ("tracing: Guard __DECLARE_TRACE() use of __DO_TRACE_CALL() with SRCU-fast")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202606230559.AQD8epwY-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> hppa-linux-ld: fs/xfs/xfs_trace.o(.text+0x3ffa0): cannot reach 00002a33_ftrace_likely_update+0, recompile with -ffunction-sections
>> hppa-linux-ld: fs/xfs/xfs_trace.o(.text+0x3ffa0): cannot handle R_PARISC_PCREL17F for ftrace_likely_update
hppa-linux-ld: final link failed: bad value

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