kernel/cgroup/cgroup.c:3781:undefined reference to `__aeabi_uldivmod'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-6.18 head: 7b281a4582c4408add22cc99f221886b50dd0548 commit: afa3701c0e45ecb9e4d160048ca4e353c7489948 [7/8] cgroup: cgroup.stat.local time accounting config: arm-randconfig-002-20250823 (https://download.01.org/0day-ci/archive/20250823/[email protected]/config) compiler: arm-linux-gnueabi-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250823/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
arm-linux-gnueabi-ld: kernel/cgroup/cgroup.o: in function `cgroup_core_local_stat_show':
>> kernel/cgroup/cgroup.c:3781:(.text+0x28f4): undefined reference to `__aeabi_uldivmod' arm-linux-gnueabi-ld: (__aeabi_uldivmod): Unknown destination type (ARM/Thumb) in kernel/cgroup/cgroup.o >> kernel/cgroup/cgroup.c:3781:(.text+0x28f4): dangerous relocation: unsupported relocation
vim +3781 kernel/cgroup/cgroup.c
3765
3766 static int cgroup_core_local_stat_show(struct seq_file *seq, void *v)
3767 {
3768 struct cgroup *cgrp = seq_css(seq)->cgroup;
3769 unsigned int sequence;
3770 u64 freeze_time;
3771
3772 do {
3773 sequence = read_seqcount_begin(&cgrp->freezer.freeze_seq);
3774 freeze_time = cgrp->freezer.frozen_nsec;
3775 /* Add in current freezer interval if the cgroup is freezing. */
3776 if (test_bit(CGRP_FREEZE, &cgrp->flags))
3777 freeze_time += (ktime_get_ns() -
3778 cgrp->freezer.freeze_start_nsec);
3779 } while (read_seqcount_retry(&cgrp->freezer.freeze_seq, sequence));
3780
> 3781 seq_printf(seq, "frozen_usec %llu\n",
3782 (unsigned long long) freeze_time / NSEC_PER_USEC);
3783
3784 return 0;
3785 }
3786
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki