* [linux-next:master 2851/2855] fs/btrfs/block-group.c:2463: undefined reference to `__aeabi_uldivmod'
@ 2022-01-28 23:37 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-28 23:37 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: kbuild-all, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: b605fdc54c2b28c30ef06d9db99282d8a32ae4be
commit: 56cf0968350b261964a2e0e51bd746be26772e38 [2851/2855] Merge branch 'akpm-current/current'
config: arm-randconfig-r021-20220124 (https://download.01.org/0day-ci/archive/20220129/202201290703.o2mk3Lsi-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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/next/linux-next.git/commit/?id=56cf0968350b261964a2e0e51bd746be26772e38
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 56cf0968350b261964a2e0e51bd746be26772e38
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arm-linux-gnueabi-ld: fs/btrfs/block-group.o: in function `calculate_global_root_id':
>> fs/btrfs/block-group.c:2463: undefined reference to `__aeabi_uldivmod'
vim +2463 fs/btrfs/block-group.c
4358d9635a16a7 Josef Bacik 2019-06-20 2447
f498cd59825cbf Josef Bacik 2021-12-15 2448 /*
f498cd59825cbf Josef Bacik 2021-12-15 2449 * For extent tree v2 we use the block_group_item->chunk_offset to point at our
f498cd59825cbf Josef Bacik 2021-12-15 2450 * global root id. For v1 it's always set to BTRFS_FIRST_CHUNK_TREE_OBJECTID.
f498cd59825cbf Josef Bacik 2021-12-15 2451 */
f498cd59825cbf Josef Bacik 2021-12-15 2452 static u64 calculate_global_root_id(struct btrfs_fs_info *fs_info, u64 offset)
f498cd59825cbf Josef Bacik 2021-12-15 2453 {
f498cd59825cbf Josef Bacik 2021-12-15 2454 u64 div = SZ_1G;
f498cd59825cbf Josef Bacik 2021-12-15 2455
f498cd59825cbf Josef Bacik 2021-12-15 2456 if (!btrfs_fs_incompat(fs_info, EXTENT_TREE_V2))
f498cd59825cbf Josef Bacik 2021-12-15 2457 return BTRFS_FIRST_CHUNK_TREE_OBJECTID;
f498cd59825cbf Josef Bacik 2021-12-15 2458
f498cd59825cbf Josef Bacik 2021-12-15 2459 /* If we have a smaller fs index based on 128MiB. */
f498cd59825cbf Josef Bacik 2021-12-15 2460 if (btrfs_super_total_bytes(fs_info->super_copy) <= (SZ_1G * 10ULL))
f498cd59825cbf Josef Bacik 2021-12-15 2461 div = SZ_128M;
f498cd59825cbf Josef Bacik 2021-12-15 2462
f498cd59825cbf Josef Bacik 2021-12-15 @2463 return (div_u64(offset, div) % fs_info->nr_global_roots);
f498cd59825cbf Josef Bacik 2021-12-15 2464 }
f498cd59825cbf Josef Bacik 2021-12-15 2465
:::::: The code at line 2463 was first introduced by commit
:::::: f498cd59825cbf77b3e2dedc0ab6cf754a1049b4 btrfs: add support for multiple global roots
:::::: TO: Josef Bacik <josef@toxicpanda.com>
:::::: CC: David Sterba <dsterba@suse.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-28 23:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-28 23:37 [linux-next:master 2851/2855] fs/btrfs/block-group.c:2463: undefined reference to `__aeabi_uldivmod' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox