disk-io.c:undefined reference to `atomic64_set_386'

From: kernel test robot
Date: Wed Mar 31 2021 - 12:35:34 EST


Hi Josef,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 5e46d1b78a03d52306f21f77a4e4a144b6d31486
commit: 8260edba67a2e6bd5e709d32188e23aa22cb4a38 btrfs: make the init of static elements in fs_info separate
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=8260edba67a2e6bd5e709d32188e23aa22cb4a38
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 8260edba67a2e6bd5e709d32188e23aa22cb4a38
# 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 >>):

/usr/bin/ld: kernel/fork.o: in function `mm_init':
fork.c:(.text+0x82): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/sched/fair.o: in function `update_curr.constprop.0':
fair.c:(.text+0x529): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/futex.o: in function `get_futex_key':
futex.c:(.text+0x1266): undefined reference to `atomic64_read_386'
/usr/bin/ld: futex.c:(.text+0x1354): undefined reference to `atomic64_add_return_386'
/usr/bin/ld: futex.c:(.text+0x1370): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: mm/z3fold.o: in function `z3fold_zpool_total_size':
z3fold.c:(.text+0x6f): undefined reference to `atomic64_read_386'
/usr/bin/ld: mm/z3fold.o: in function `z3fold_zpool_create':
z3fold.c:(.text+0x5b0): undefined reference to `atomic64_set_386'
/usr/bin/ld: mm/z3fold.o: in function `z3fold_page_putback':
z3fold.c:(.text+0xb95): undefined reference to `atomic64_dec_386'
/usr/bin/ld: mm/z3fold.o: in function `z3fold_zpool_shrink':
z3fold.c:(.text+0x1029): undefined reference to `atomic64_dec_386'
/usr/bin/ld: z3fold.c:(.text+0x1534): undefined reference to `atomic64_dec_386'
/usr/bin/ld: mm/z3fold.o: in function `z3fold_alloc':
z3fold.c:(.text+0x1990): undefined reference to `atomic64_inc_386'
/usr/bin/ld: z3fold.c:(.text+0x1ff8): undefined reference to `atomic64_dec_386'
/usr/bin/ld: mm/z3fold.o: in function `do_compact_page':
z3fold.c:(.text+0x23c5): undefined reference to `atomic64_dec_386'
/usr/bin/ld: z3fold.c:(.text+0x2c33): undefined reference to `atomic64_dec_386'
/usr/bin/ld: mm/z3fold.o: in function `z3fold_zpool_free':
z3fold.c:(.text+0x2d9f): undefined reference to `atomic64_dec_386'
/usr/bin/ld: z3fold.c:(.text+0x3036): undefined reference to `atomic64_dec_386'
/usr/bin/ld: fs/inode.o: in function `inode_init_always':
inode.c:(.text+0x438): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/inode.o: in function `generic_update_time':
inode.c:(.text+0x23e8): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x243a): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/inode.o: in function `file_update_time':
inode.c:(.text+0x3193): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/namespace.o: in function `alloc_mnt_ns':
namespace.c:(.text+0x453): undefined reference to `atomic64_add_return_386'
/usr/bin/ld: fs/ext4/mballoc.o: in function `ext4_mb_mark_diskspace_used':
mballoc.c:(.text+0x5c31): undefined reference to `atomic64_sub_386'
/usr/bin/ld: fs/ext4/mballoc.o: in function `ext4_free_blocks':
mballoc.c:(.text+0x80d3): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/ext4/mballoc.o: in function `ext4_group_add_blocks':
mballoc.c:(.text+0x8ca4): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/ext4/super.o: in function `ext4_statfs':
super.c:(.text+0x117): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/ext4/super.o: in function `ext4_alloc_inode':
super.c:(.text+0x12df): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/ext4/super.o: in function `ext4_fill_super':
super.c:(.text+0x903a): undefined reference to `atomic64_set_386'
/usr/bin/ld: super.c:(.text+0x9b61): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/ext4/sysfs.o: in function `ext4_attr_store':
sysfs.c:(.text+0x1a2): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/ext4/sysfs.o: in function `ext4_attr_show':
sysfs.c:(.text+0x6f9): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/ext2/super.o: in function `ext2_alloc_inode':
super.c:(.text+0x780): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/fat/inode.o: in function `fat_fill_inode':
inode.c:(.text+0x2240): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x2281): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fat/inode.o: in function `fat_build_inode':
inode.c:(.text+0x2894): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/fat/inode.o: in function `fat_fill_super':
inode.c:(.text+0x324e): undefined reference to `atomic64_set_386'
/usr/bin/ld: inode.c:(.text+0x327c): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x32cf): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fat/namei_vfat.o: in function `vfat_rmdir':
namei_vfat.c:(.text+0x581): undefined reference to `atomic64_read_386'
/usr/bin/ld: namei_vfat.c:(.text+0x5bd): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fat/namei_vfat.o: in function `vfat_unlink':
namei_vfat.c:(.text+0x6be): undefined reference to `atomic64_read_386'
/usr/bin/ld: namei_vfat.c:(.text+0x6fa): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fat/namei_vfat.o: in function `vfat_lookup':
namei_vfat.c:(.text+0x7fa): undefined reference to `atomic64_read_386'
/usr/bin/ld: namei_vfat.c:(.text+0x82a): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fat/namei_vfat.o: in function `vfat_revalidate_ci':
namei_vfat.c:(.text+0xa18): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/fat/namei_vfat.o: in function `vfat_revalidate':
namei_vfat.c:(.text+0xaa5): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/fat/namei_vfat.o: in function `vfat_rename':
namei_vfat.c:(.text+0x20ad): undefined reference to `atomic64_read_386'
/usr/bin/ld: namei_vfat.c:(.text+0x2106): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: namei_vfat.c:(.text+0x2250): undefined reference to `atomic64_read_386'
/usr/bin/ld: namei_vfat.c:(.text+0x22ab): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fat/namei_vfat.o: in function `vfat_mkdir':
namei_vfat.c:(.text+0x2792): undefined reference to `atomic64_read_386'
/usr/bin/ld: namei_vfat.c:(.text+0x27d5): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: namei_vfat.c:(.text+0x2847): undefined reference to `atomic64_read_386'
/usr/bin/ld: namei_vfat.c:(.text+0x287f): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fat/namei_vfat.o: in function `vfat_create':
namei_vfat.c:(.text+0x29d0): undefined reference to `atomic64_read_386'
/usr/bin/ld: namei_vfat.c:(.text+0x2a0d): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: namei_vfat.c:(.text+0x2a76): undefined reference to `atomic64_read_386'
/usr/bin/ld: namei_vfat.c:(.text+0x2aae): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fuse/inode.o: in function `fuse_change_attributes_common':
inode.c:(.text+0x15c4): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: fs/fuse/inode.o: in function `fuse_conn_init':
inode.c:(.text+0x1ddf): undefined reference to `atomic64_set_386'
/usr/bin/ld: inode.c:(.text+0x1e17): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/btrfs/disk-io.o: in function `btrfs_init_fs_info':
>> disk-io.c:(.text+0x340b): undefined reference to `atomic64_set_386'
>> /usr/bin/ld: disk-io.c:(.text+0x343b): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/btrfs/inode.o: in function `fill_inode_item':
inode.c:(.text+0xbd1): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/btrfs/inode.o: in function `btrfs_read_locked_inode':
inode.c:(.text+0x58b3): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/btrfs/inode.o: in function `__btrfs_unlink_inode':
inode.c:(.text+0x8392): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x83cd): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: inode.c:(.text+0x83f6): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x842f): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/inode.o: in function `btrfs_update_time':
inode.c:(.text+0x887b): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x88e6): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/inode.o: in function `__btrfs_prealloc_file_range':
inode.c:(.text+0x8d40): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x8d7d): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/inode.o: in function `btrfs_unlink_subvol':
inode.c:(.text+0xd9a6): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0xd9df): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/inode.o: in function `btrfs_setsize':
inode.c:(.text+0x10b63): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x10b9b): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/inode.o: in function `btrfs_setattr':
inode.c:(.text+0x11249): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x1128d): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/inode.o: in function `btrfs_add_link':
inode.c:(.text+0x1337b): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x133bc): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/inode.o: in function `btrfs_rename_exchange':
inode.c:(.text+0x13c34): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x13c77): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: inode.c:(.text+0x13ca3): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x13ce6): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: inode.c:(.text+0x13d0e): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x13d51): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: inode.c:(.text+0x13d7c): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x13dbf): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/inode.o: in function `btrfs_link':
inode.c:(.text+0x15400): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x15439): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/inode.o: in function `btrfs_rename':
inode.c:(.text+0x15c5d): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x15cb8): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: inode.c:(.text+0x15ce7): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x15d42): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: inode.c:(.text+0x15d71): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x15dcc): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: inode.c:(.text+0x16296): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x162ef): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/file.o: in function `btrfs_punch_hole':
file.c:(.text+0x7ac5): undefined reference to `atomic64_read_386'
/usr/bin/ld: file.c:(.text+0x7b0b): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: file.c:(.text+0x7c55): undefined reference to `atomic64_read_386'
/usr/bin/ld: file.c:(.text+0x7c9a): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/file.o: in function `btrfs_file_write_iter':
file.c:(.text+0x8d58): undefined reference to `atomic64_read_386'
/usr/bin/ld: file.c:(.text+0x8d9b): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/btrfs/delayed-ref.o: in function `btrfs_add_delayed_tree_ref':
delayed-ref.c:(.text+0x1e61): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/btrfs/delayed-ref.o: in function `btrfs_add_delayed_data_ref':
delayed-ref.c:(.text+0x2331): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/btrfs/delayed-inode.o: in function `fill_stack_inode_item':
delayed-inode.c:(.text+0x18e): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/btrfs/delayed-inode.o: in function `btrfs_fill_inode':
delayed-inode.c:(.text+0x3393): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/f2fs/extent_cache.o: in function `f2fs_lookup_extent_cache':
extent_cache.c:(.text+0x1722): undefined reference to `atomic64_inc_386'
/usr/bin/ld: extent_cache.c:(.text+0x176f): undefined reference to `atomic64_inc_386'
/usr/bin/ld: extent_cache.c:(.text+0x17d6): undefined reference to `atomic64_inc_386'
/usr/bin/ld: extent_cache.c:(.text+0x180d): undefined reference to `atomic64_inc_386'
/usr/bin/ld: fs/f2fs/debug.o: in function `update_general_status':
debug.c:(.text+0x32): undefined reference to `atomic64_read_386'
/usr/bin/ld: debug.c:(.text+0x43): undefined reference to `atomic64_read_386'
/usr/bin/ld: debug.c:(.text+0x54): undefined reference to `atomic64_read_386'
/usr/bin/ld: debug.c:(.text+0x7b): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/f2fs/debug.o: in function `f2fs_build_stats':
debug.c:(.text+0x1773): undefined reference to `atomic64_set_386'
/usr/bin/ld: debug.c:(.text+0x177e): undefined reference to `atomic64_set_386'
/usr/bin/ld: debug.c:(.text+0x1789): undefined reference to `atomic64_set_386'
/usr/bin/ld: debug.c:(.text+0x1794): undefined reference to `atomic64_set_386'
/usr/bin/ld: lib/atomic64_test.o: in function `test_atomic64':
atomic64_test.c:(.init.text+0x23f9): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x243f): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x248c): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x249d): undefined reference to `atomic64_add_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x24a4): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x24bf): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x24fa): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2506): undefined reference to `atomic64_add_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x250d): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2528): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2563): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2574): undefined reference to `atomic64_sub_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x257b): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2596): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x25d1): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x25dd): undefined reference to `atomic64_sub_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x25e4): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x25ff): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x263a): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x266d): undefined reference to `cmpxchg8b_emu'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip