* [kdave-btrfs-devel:for-next-20201030 14967/14978] fs/btrfs/extent_io.c:5340: undefined reference to `__udivdi3'
@ 2020-11-01 4:59 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-11-01 4:59 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2815 bytes --]
tree: https://github.com/kdave/btrfs-devel.git for-next-20201030
head: 757db2d191a0eb51ffb9acf023e31393d731b0a9
commit: 3cfe69783beda44e47a06054dcae9ba6bafa1106 [14967/14978] btrfs: extent_io: make btrfs_fs_info::buffer_radix to take sector size devided values
config: i386-randconfig-a014-20201030 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/kdave/btrfs-devel/commit/3cfe69783beda44e47a06054dcae9ba6bafa1106
git remote add kdave-btrfs-devel https://github.com/kdave/btrfs-devel.git
git fetch --no-tags kdave-btrfs-devel for-next-20201030
git checkout 3cfe69783beda44e47a06054dcae9ba6bafa1106
# save the attached .config to linux build tree
make W=1 ARCH=i386
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 >>):
ld: fs/btrfs/extent_io.o: in function `release_extent_buffer':
>> fs/btrfs/extent_io.c:5340: undefined reference to `__udivdi3'
ld: fs/btrfs/extent_io.o: in function `find_extent_buffer':
fs/btrfs/extent_io.c:5124: undefined reference to `__udivdi3'
ld: fs/btrfs/extent_io.o: in function `alloc_extent_buffer':
fs/btrfs/extent_io.c:5284: undefined reference to `__udivdi3'
vim +5340 fs/btrfs/extent_io.c
5325
5326 static int release_extent_buffer(struct extent_buffer *eb)
5327 __releases(&eb->refs_lock)
5328 {
5329 lockdep_assert_held(&eb->refs_lock);
5330
5331 WARN_ON(atomic_read(&eb->refs) == 0);
5332 if (atomic_dec_and_test(&eb->refs)) {
5333 if (test_and_clear_bit(EXTENT_BUFFER_IN_TREE, &eb->bflags)) {
5334 struct btrfs_fs_info *fs_info = eb->fs_info;
5335
5336 spin_unlock(&eb->refs_lock);
5337
5338 spin_lock(&fs_info->buffer_lock);
5339 radix_tree_delete(&fs_info->buffer_radix,
> 5340 eb->start / fs_info->sectorsize);
5341 spin_unlock(&fs_info->buffer_lock);
5342 } else {
5343 spin_unlock(&eb->refs_lock);
5344 }
5345
5346 btrfs_leak_debug_del(&eb->fs_info->eb_leak_lock, &eb->leak_list);
5347 /* Should be safe to release our pages at this point */
5348 btrfs_release_extent_buffer_pages(eb);
5349 #ifdef CONFIG_BTRFS_FS_RUN_SANITY_TESTS
5350 if (unlikely(test_bit(EXTENT_BUFFER_UNMAPPED, &eb->bflags))) {
5351 __free_extent_buffer(eb);
5352 return 1;
5353 }
5354 #endif
5355 call_rcu(&eb->rcu_head, btrfs_release_extent_buffer_rcu);
5356 return 1;
5357 }
5358 spin_unlock(&eb->refs_lock);
5359
5360 return 0;
5361 }
5362
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 39106 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-01 4:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-01 4:59 [kdave-btrfs-devel:for-next-20201030 14967/14978] fs/btrfs/extent_io.c:5340: undefined reference to `__udivdi3' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.