tree:
https://github.com/kdave/btrfs-devel.git misc-next
head: eee743dcbe38d5efcc4996c014dd167711781a14
commit: 986aa0f276752ca4809f95b260f59fafef01a6a7 [44/99] btrfs: fix exhaustion of the
system chunk array due to concurrent allocations
config: um-randconfig-r022-20210412 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/kdave/btrfs-devel/commit/986aa0f276752ca4809f95b260f59...
git remote add kdave-btrfs-devel
https://github.com/kdave/btrfs-devel.git
git fetch --no-tags kdave-btrfs-devel misc-next
git checkout 986aa0f276752ca4809f95b260f59fafef01a6a7
# save the attached .config to linux build tree
make W=1 ARCH=um
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
/usr/bin/ld: fs/xfs/xfs_trace.o: in function
`trace_event_raw_event_xfs_log_assign_tail_lsn':
xfs_trace.c:(.text+0xe948): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_trace.c:(.text+0xe959): undefined reference to
`atomic64_read_386'
/usr/bin/ld: fs/xfs/xfs_trace.o: in function
`trace_event_raw_event_xfs_loggrant_class':
xfs_trace.c:(.text+0x1126c): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_trace.c:(.text+0x11286): undefined reference to
`atomic64_read_386'
/usr/bin/ld: xfs_trace.c:(.text+0x112b2): undefined reference to
`atomic64_read_386'
/usr/bin/ld: fs/xfs/libxfs/xfs_inode_buf.o:xfs_inode_buf.c:(.text+0x6d2): more
undefined references to `atomic64_read_386' follow
/usr/bin/ld: fs/xfs/libxfs/xfs_inode_buf.o: in function `xfs_inode_from_disk':
xfs_inode_buf.c:(.text+0x14e9): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/xfs/libxfs/xfs_trans_inode.o: in function `xfs_trans_log_inode':
xfs_trans_inode.c:(.text+0x490): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_trans_inode.c:(.text+0x4d8): undefined reference to
`cmpxchg8b_emu'
/usr/bin/ld: fs/xfs/xfs_icache.o: in function `xfs_iget_cache_hit':
xfs_icache.c:(.text+0x1cf5): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_icache.c:(.text+0x1d61): undefined reference to
`atomic64_set_386'
/usr/bin/ld: fs/xfs/xfs_iops.o: in function `xfs_vn_update_time':
xfs_iops.c:(.text+0xab2): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_iops.c:(.text+0xaf8): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/xfs/xfs_inode.o: in function `xfs_init_new_inode':
xfs_inode.c:(.text+0x33c): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/xfs/xfs_sysfs.o: in function `write_grant_head_show':
xfs_sysfs.c:(.text+0x160): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/xfs/xfs_sysfs.o: in function `reserve_grant_head_show':
xfs_sysfs.c:(.text+0x1a6): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/xfs/xfs_sysfs.o: in function `log_tail_lsn_show':
xfs_sysfs.c:(.text+0x1ec): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `xlog_space_left':
xfs_log.c:(.text+0x2cf): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_log.c:(.text+0x2e1): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `xlog_grant_head_init':
xfs_log.c:(.text+0x4e5): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `xlog_alloc_log':
xfs_log.c:(.text+0xceb): undefined reference to `atomic64_set_386'
/usr/bin/ld: xfs_log.c:(.text+0xcf6): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `xlog_assign_tail_lsn_locked':
xfs_log.c:(.text+0x1951): undefined reference to `atomic64_set_386'
/usr/bin/ld: xfs_log.c:(.text+0x196d): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `xlog_grant_push_threshold':
xfs_log.c:(.text+0x1cc5): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_log.c:(.text+0x1ceb): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `xfs_log_regrant':
xfs_log.c:(.text+0x258d): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_log.c:(.text+0x25b2): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `xlog_state_do_callback':
xfs_log.c:(.text+0x27ab): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_log.c:(.text+0x2820): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `xlog_sync':
xfs_log.c:(.text+0x310e): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_log.c:(.text+0x3134): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: xfs_log.c:(.text+0x3243): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_log.c:(.text+0x3269): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `xfs_log_ticket_regrant':
xfs_log.c:(.text+0x5483): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_log.c:(.text+0x54be): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: xfs_log.c:(.text+0x54e7): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_log.c:(.text+0x5522): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: xfs_log.c:(.text+0x557f): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_log.c:(.text+0x559c): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `xfs_log_ticket_ungrant':
xfs_log.c:(.text+0x5798): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_log.c:(.text+0x57d6): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: xfs_log.c:(.text+0x57f9): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_log.c:(.text+0x5834): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `xfs_log_reserve':
xfs_log.c:(.text+0x5d14): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_log.c:(.text+0x5d39): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: xfs_log.c:(.text+0x5da8): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_log.c:(.text+0x5dcd): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/xfs/xfs_inode_item.o: in function `xfs_inode_item_format':
xfs_inode_item.c:(.text+0x1d3f): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/xfs/xfs_log_recover.o: in function `xlog_set_state':
xfs_log_recover.c:(.text+0x1e3): undefined reference to `atomic64_set_386'
/usr/bin/ld: xfs_log_recover.c:(.text+0x1fd): undefined reference to
`atomic64_set_386'
/usr/bin/ld: xfs_log_recover.c:(.text+0x21c): undefined reference to
`atomic64_set_386'
/usr/bin/ld: xfs_log_recover.c:(.text+0x23b): undefined reference to
`atomic64_set_386'
/usr/bin/ld: fs/xfs/xfs_log_recover.o: in function `xlog_check_unmount_rec':
xfs_log_recover.c:(.text+0x460e): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/xfs/xfs_log_recover.o:xfs_log_recover.c:(.text+0x461f): more undefined
references to `atomic64_set_386' follow
/usr/bin/ld: fs/xfs/xfs_log_recover.o: in function `xlog_find_tail':
xfs_log_recover.c:(.text+0x57be): undefined reference to `atomic64_read_386'
/usr/bin/ld: xfs_log_recover.c:(.text+0x597a): undefined reference to
`atomic64_read_386'
/usr/bin/ld: fs/nilfs2/inode.o: in function `nilfs_inode_add_blocks':
inode.c:(.text+0x5c4): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/nilfs2/inode.o: in function `nilfs_inode_sub_blocks':
inode.c:(.text+0x60f): undefined reference to `atomic64_sub_386'
/usr/bin/ld: fs/nilfs2/inode.o: in function `nilfs_new_inode':
inode.c:(.text+0x738): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/nilfs2/inode.o: in function `nilfs_evict_inode':
inode.c:(.text+0x1d8e): undefined reference to `atomic64_dec_386'
/usr/bin/ld: fs/nilfs2/the_nilfs.o: in function `nilfs_find_or_create_root':
the_nilfs.c:(.text+0x17f0): undefined reference to `atomic64_set_386'
/usr/bin/ld: the_nilfs.c:(.text+0x17fb): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/nilfs2/segment.o: in function `nilfs_segctor_do_construct':
segment.c:(.text+0x4e4d): undefined reference to `atomic64_read_386'
/usr/bin/ld: segment.c:(.text+0x4e61): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/nilfs2/ifile.o: in function `nilfs_ifile_count_free_inodes':
ifile.c:(.text+0x380): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/btrfs/transaction.o: in function `join_transaction':
transaction.c:(.text+0x1109): undefined reference to `atomic64_set_386'
> /usr/bin/ld: transaction.c:(.text+0x126d): undefined reference to
`atomic64_set_386'
/usr/bin/ld: fs/btrfs/transaction.o: in function
`btrfs_trans_release_chunk_metadata':
> transaction.c:(.text+0x1a41): undefined reference to
`atomic64_sub_386'
/usr/bin/ld: fs/btrfs/xattr.o: in function
`btrfs_xattr_handler_set_prop':
xattr.c:(.text+0xec): undefined reference to `atomic64_read_386'
/usr/bin/ld: xattr.c:(.text+0x122): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/xattr.o: in function `btrfs_setxattr_trans':
xattr.c:(.text+0xc24): undefined reference to `atomic64_read_386'
/usr/bin/ld: xattr.c:(.text+0xc5a): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/volumes.o: in function `create_chunk':
volumes.c:(.text+0x244c): undefined reference to `atomic64_sub_386'
/usr/bin/ld: fs/btrfs/volumes.o: in function `btrfs_remove_chunk':
volumes.c:(.text+0x5207): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/btrfs/volumes.o: in function `btrfs_shrink_device':
volumes.c:(.text+0x7997): undefined reference to `atomic64_sub_386'
/usr/bin/ld: volumes.c:(.text+0x7bec): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/btrfs/volumes.o: in function `btrfs_init_new_device':
volumes.c:(.text+0xdc44): undefined reference to `atomic64_add_386'
/usr/bin/ld: volumes.c:(.text+0xeb3f): undefined reference to `atomic64_sub_386'
/usr/bin/ld: fs/btrfs/volumes.o: in function `read_one_dev':
volumes.c:(.text+0xf7bd): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/btrfs/ioctl.o: in function `btrfs_ioctl_setflags':
ioctl.c:(.text+0x8ee3): undefined reference to `atomic64_read_386'
/usr/bin/ld: ioctl.c:(.text+0x8f19): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/ioctl.o: in function `btrfs_ioctl_fssetxattr':
ioctl.c:(.text+0x9564): undefined reference to `atomic64_read_386'
/usr/bin/ld: ioctl.c:(.text+0x95aa): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/tree-log.o: in function `fill_inode_item':
tree-log.c:(.text+0x187d): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/btrfs/free-space-cache.o: in function
`btrfs_find_space_for_alloc':
free-space-cache.c:(.text+0x790c): undefined reference to `atomic64_add_386'
/usr/bin/ld: free-space-cache.c:(.text+0x7a7f): undefined reference to
`atomic64_add_386'
/usr/bin/ld: fs/btrfs/free-space-cache.o: in function `btrfs_alloc_from_cluster':
free-space-cache.c:(.text+0x8082): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/btrfs/scrub.o: in function `scrub_repair_page_from_good_copy':
scrub.c:(.text+0x6f5): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/btrfs/scrub.o: in function `scrub_write_block_to_dev_replace':
scrub.c:(.text+0x2c06): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/btrfs/scrub.o: in function `scrub_handle_errored_block':
scrub.c:(.text+0x36ff): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/btrfs/scrub.o: in function `scrub_wr_bio_end_io_worker':
scrub.c:(.text+0x4aed): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/btrfs/scrub.o: in function `scrub_enumerate_chunks':
scrub.c:(.text+0x8efe): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/btrfs/dev-replace.o: in function `btrfs_init_dev_replace':
dev-replace.c:(.text+0xc3a): undefined reference to `atomic64_set_386'
/usr/bin/ld: dev-replace.c:(.text+0xc64): undefined reference to
`atomic64_set_386'
/usr/bin/ld: dev-replace.c:(.text+0xf4d): undefined reference to
`atomic64_set_386'
/usr/bin/ld: dev-replace.c:(.text+0xf58): undefined reference to
`atomic64_set_386'
/usr/bin/ld: fs/btrfs/dev-replace.o: in function `btrfs_run_dev_replace':
dev-replace.c:(.text+0x1255): undefined reference to `atomic64_read_386'
/usr/bin/ld: dev-replace.c:(.text+0x1280): undefined reference to
`atomic64_read_386'
/usr/bin/ld: fs/btrfs/dev-replace.o: in function `btrfs_dev_replace_status':
dev-replace.c:(.text+0x1691): undefined reference to `atomic64_read_386'
/usr/bin/ld: dev-replace.c:(.text+0x16a2): undefined reference to
`atomic64_read_386'
/usr/bin/ld: fs/btrfs/dev-replace.o: in function `btrfs_dev_replace_start.cold':
dev-replace.c:(.text.unlikely+0xaa9): undefined reference to `atomic64_set_386'
/usr/bin/ld: dev-replace.c:(.text.unlikely+0xab4): undefined reference to
`atomic64_set_386'
/usr/bin/ld: fs/btrfs/space-info.o: in function `calc_available_free_space':
space-info.c:(.text+0x40): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/btrfs/block-group.o: in function `check_system_chunk':
> block-group.c:(.text+0x7341): undefined reference to
`atomic64_add_386'
> /usr/bin/ld: block-group.c:(.text+0x738d): undefined reference to
`atomic64_read_386'
/usr/bin/ld: block-group.c:(.text+0x73c8): undefined
reference to `atomic64_read_386'
/usr/bin/ld: block-group.c:(.text+0x7443): undefined reference to
`atomic64_read_386'
/usr/bin/ld: fs/btrfs/discard.o: in function `btrfs_discard_calc_delay':
discard.c:(.text+0xbbe): undefined reference to `atomic64_read_386'
/usr/bin/ld: discard.c:(.text+0xbce): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/btrfs/discard.o: in function `btrfs_discard_update_discardable':
discard.c:(.text+0xceb): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/btrfs/discard.o: in function `btrfs_discard_init':
discard.c:(.text+0xfc9): undefined reference to `atomic64_set_386'
/usr/bin/ld: discard.c:(.text+0x102d): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/btrfs/reflink.o: in function `clone_finish_inode_update':
reflink.c:(.text+0x1fc): undefined reference to `atomic64_read_386'
/usr/bin/ld: reflink.c:(.text+0x230): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/tree-mod-log.o: in function `tree_mod_log_insert':
tree-mod-log.c:(.text+0x269): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: fs/btrfs/tree-mod-log.o: in function `btrfs_get_tree_mod_seq':
tree-mod-log.c:(.text+0x778): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: block/blk-cgroup-rwstat.o: in function `blkg_rwstat_init':
blk-cgroup-rwstat.c:(.text+0x2b): undefined reference to `atomic64_set_386'
/usr/bin/ld: block/blk-cgroup-rwstat.o: in function `blkg_rwstat_recursive_sum':
blk-cgroup-rwstat.c:(.text+0x2cb): undefined reference to `atomic64_read_386'
/usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x8): undefined
reference to `X86_FEATURE_XMM2'
/usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x15): undefined
reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x22): undefined
reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x2f): undefined
reference to `X86_FEATURE_XMM2'
/usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x3c): undefined
reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x49): undefined
reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/dma-buf/dma-fence.o: in function `dma_fence_context_alloc':
dma-fence.c:(.text+0x42c): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: drivers/mtd/nand/raw/nand_legacy.o:(.altinstructions+0x8): undefined
reference to `X86_FEATURE_XMM2'
/usr/bin/ld: drivers/mtd/nand/raw/nand_legacy.o:(.altinstructions+0x15): undefined
reference to `X86_FEATURE_XMM2'
/usr/bin/ld: drivers/md/raid5-ppl.o: in function `ppl_write_stripe':
raid5-ppl.c:(.text+0x1d60): undefined reference to `atomic64_add_return_386'
/usr/bin/ld: drivers/md/raid5-ppl.o: in function `ppl_init_log':
raid5-ppl.c:(.text+0x2a27): undefined reference to `atomic64_set_386'
/usr/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x8): undefined
reference to `X86_FEATURE_XMM2'
/usr/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x15): undefined
reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x22): undefined
reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x2f): undefined
reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x3c): undefined
reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x49): undefined
reference to `X86_FEATURE_XMM2'
/usr/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x56): undefined
reference to `X86_FEATURE_XMM'
/usr/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x63): undefined
reference to `X86_FEATURE_XMM2'
collect2: error: ld returned 1 exit status
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org