ld.lld: error: relocation refers to a symbol in a discarded section: .Ltmp78
From: kernel test robot
Date: Fri Nov 22 2024 - 23:46:15 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 619d996c86421da1057d589123a28e2da0bf0785
commit: 62ce0782bbacd32ec10292b9bdd127330e9b6968 md: ensure child flush IO does not affect origin bio->bi_status
date: 5 weeks ago
config: arm-randconfig-003-20241122 (https://download.01.org/0day-ci/archive/20241123/202411231215.IsJm3IZm-lkp@xxxxxxxxx/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241123/202411231215.IsJm3IZm-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/202411231215.IsJm3IZm-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
>> ld.lld: error: relocation refers to a symbol in a discarded section: .Ltmp78
>>> defined in vmlinux.a(drivers/md/md.o)
>>> referenced by md.c
>>> drivers/md/md.o:(.alt.smp.init+0x120) in archive vmlinux.a
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki