reflink.c:undefined reference to `atomic64_read_386'
From: kernel test robot
Date: Wed Mar 31 2021 - 03:15:35 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 5e46d1b78a03d52306f21f77a4e4a144b6d31486
commit: 6a177381007b463ad611375cce526c24f12ab081 Btrfs: move all reflink implementation code into its own file
date: 1 year ago
config: um-randconfig-r023-20210330 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6a177381007b463ad611375cce526c24f12ab081
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 6a177381007b463ad611375cce526c24f12ab081
# 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@xxxxxxxxx>
All errors (new ones prefixed by >>):
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/xfs/xfs_log.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/xfs/xfs_inode_item.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/xfs/xfs_log_recover.o: in function `arch_atomic64_set':
arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/xfs/xfs_log_recover.o:arch/x86/include/asm/atomic64_32.h:109: more undefined references to `atomic64_set_386' follow
/usr/bin/ld: fs/xfs/xfs_log_recover.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/btrfs/ctree.o: in function `__tree_mod_log_insert':
ctree.c:(.text+0x3db): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: fs/btrfs/ctree.o: in function `btrfs_get_tree_mod_seq':
ctree.c:(.text+0x38e5): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: fs/btrfs/transaction.o: in function `join_transaction':
transaction.c:(.text+0xbd3): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/btrfs/xattr.o: in function `btrfs_xattr_handler_set_prop':
xattr.c:(.text+0xc7): undefined reference to `atomic64_read_386'
/usr/bin/ld: xattr.c:(.text+0x100): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/xattr.o: in function `btrfs_setxattr_trans':
xattr.c:(.text+0xa65): undefined reference to `atomic64_read_386'
/usr/bin/ld: xattr.c:(.text+0xa9e): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/volumes.o: in function `btrfs_remove_chunk':
volumes.c:(.text+0x4771): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/btrfs/volumes.o: in function `btrfs_shrink_device':
volumes.c:(.text+0x6f63): undefined reference to `atomic64_sub_386'
/usr/bin/ld: volumes.c:(.text+0x71f9): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/btrfs/volumes.o: in function `btrfs_alloc_chunk':
volumes.c:(.text+0x7f61): undefined reference to `atomic64_sub_386'
/usr/bin/ld: fs/btrfs/volumes.o: in function `btrfs_init_new_device':
volumes.c:(.text+0xd033): undefined reference to `atomic64_add_386'
/usr/bin/ld: volumes.c:(.text+0xdd7c): undefined reference to `atomic64_sub_386'
/usr/bin/ld: fs/btrfs/volumes.o: in function `read_one_dev':
volumes.c:(.text+0xe26f): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/btrfs/ioctl.o: in function `btrfs_ioctl_setflags':
ioctl.c:(.text+0x736a): undefined reference to `atomic64_read_386'
/usr/bin/ld: ioctl.c:(.text+0x73a6): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/ioctl.o: in function `btrfs_ioctl':
ioctl.c:(.text+0x8bcc): undefined reference to `atomic64_read_386'
/usr/bin/ld: ioctl.c:(.text+0x8c28): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/tree-log.o: in function `fill_inode_item':
tree-log.c:(.text+0xf69): 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+0x7688): undefined reference to `atomic64_add_386'
/usr/bin/ld: free-space-cache.c:(.text+0x789d): 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+0x7e9e): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/btrfs/scrub.o: in function `scrub_repair_page_from_good_copy':
scrub.c:(.text+0x93e): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/btrfs/scrub.o: in function `scrub_write_block_to_dev_replace':
scrub.c:(.text+0x2a28): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/btrfs/scrub.o: in function `scrub_handle_errored_block':
scrub.c:(.text+0x2dbd): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/btrfs/scrub.o: in function `scrub_wr_bio_end_io_worker':
scrub.c:(.text+0x45c1): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/btrfs/scrub.o: in function `scrub_enumerate_chunks':
scrub.c:(.text+0x8308): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/btrfs/dev-replace.o: in function `btrfs_init_dev_replace':
dev-replace.c:(.text+0x4eb): undefined reference to `atomic64_set_386'
/usr/bin/ld: dev-replace.c:(.text+0x4f6): undefined reference to `atomic64_set_386'
/usr/bin/ld: dev-replace.c:(.text+0x663): undefined reference to `atomic64_set_386'
/usr/bin/ld: dev-replace.c:(.text+0x682): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/btrfs/dev-replace.o: in function `btrfs_run_dev_replace':
dev-replace.c:(.text+0xac0): undefined reference to `atomic64_read_386'
/usr/bin/ld: dev-replace.c:(.text+0xad9): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/btrfs/dev-replace.o: in function `btrfs_dev_replace_status':
dev-replace.c:(.text+0xec7): undefined reference to `atomic64_read_386'
/usr/bin/ld: dev-replace.c:(.text+0xed8): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/btrfs/dev-replace.o: in function `btrfs_dev_replace_by_ioctl.cold':
dev-replace.c:(.text.unlikely+0x9a5): undefined reference to `atomic64_set_386'
/usr/bin/ld: dev-replace.c:(.text.unlikely+0x9b4): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/btrfs/space-info.o: in function `calc_available_free_space':
space-info.c:(.text+0x3a): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/btrfs/discard.o: in function `btrfs_discard_calc_delay':
discard.c:(.text+0xcd1): undefined reference to `atomic64_read_386'
/usr/bin/ld: discard.c:(.text+0xd68): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/btrfs/discard.o: in function `btrfs_discard_update_discardable':
discard.c:(.text+0xe6a): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/btrfs/discard.o: in function `btrfs_discard_init':
discard.c:(.text+0x106b): undefined reference to `atomic64_set_386'
/usr/bin/ld: discard.c:(.text+0x10d0): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/btrfs/reflink.o: in function `clone_finish_inode_update':
>> reflink.c:(.text+0x169): undefined reference to `atomic64_read_386'
>> /usr/bin/ld: reflink.c:(.text+0x1a1): undefined reference to `cmpxchg8b_emu'
/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+0x55): undefined reference to `atomic64_add_return_386'
collect2: error: ld returned 1 exit status
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip