arch/x86/include/asm/atomic64_32.h:156: undefined reference to `atomic64_inc_return_386'

From: kernel test robot
Date: Fri Jun 05 2020 - 13:58:41 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 435faf5c218a47fd6258187f62d9bb1009717896
commit: 87d6021b814353d7b353afcc3698ffe49de7d4ec x86/math-emu: Limit MATH_EMULATION to 486SX compatibles
date: 8 months ago
config: um-randconfig-r011-20200605 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
git checkout 87d6021b814353d7b353afcc3698ffe49de7d4ec
# 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 >>, old ones prefixed by <<):

/usr/bin/ld: kernel/fork.o: in function `arch_atomic64_set':
arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/sched/fair.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/inode.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/inode.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/inode.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/namespace.o: in function `arch_atomic64_add_return':
arch/x86/include/asm/atomic64_32.h:136: undefined reference to `atomic64_add_return_386'
/usr/bin/ld: fs/fat/inode.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/fat/inode.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fat/inode.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: fs/fat/namei_vfat.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/fat/namei_vfat.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fat/namei_vfat.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/fat/namei_vfat.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fat/namei_vfat.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/fat/namei_msdos.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/fat/namei_msdos.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/ufs/super.o: in function `arch_atomic64_set':
arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/affs/super.o: in function `arch_atomic64_set':
arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/fuse/inode.o: in function `arch_atomic64_inc_return':
>> arch/x86/include/asm/atomic64_32.h:156: undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: fs/fuse/inode.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: crypto/algapi.o: in function `arch_atomic64_inc':
arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_inc':
arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_inc':
arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_inc':
arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_inc':
arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_inc':
arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_inc':
arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_inc':
arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_inc':
arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_inc':
arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_inc':
arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: crypto/algapi.o: in function `arch_atomic64_inc':
arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: block/blk-cgroup.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: block/blk-cgroup.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: block/blk-cgroup.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: block/blk-cgroup.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: block/blk-cgroup.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: block/blk-cgroup.o: in function `arch_atomic64_set':
arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: block/blk-cgroup.o: in function `arch_atomic64_sub':
arch/x86/include/asm/atomic64_32.h:195: undefined reference to `atomic64_sub_386'
/usr/bin/ld: block/blk-cgroup.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: block/blk-cgroup.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: arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: block/blk-cgroup.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: block/blk-iolatency.o: in function `arch_atomic64_set':
arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: block/blk-iolatency.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: block/blk-iolatency.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: block/blk-iocost.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: 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: block/blk-iocost.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_sub':
arch/x86/include/asm/atomic64_32.h:195: undefined reference to `atomic64_sub_386'
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_set':
arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: block/blk-iocost.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: block/blk-iocost.o: in function `arch_atomic64_set':
arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: block/blk-iocost.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: block/blk-iocost.o: in function `arch_atomic64_set':
arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: block/blk-iocost.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: block/blk-iocost.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: block/blk-iocost.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: block/blk-iocost.o:arch/x86/include/asm/atomic64_32.h:109: more undefined references to `atomic64_set_386' follow
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_set':
arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: block/blk-iocost.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: 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: arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: block/blk-iocost.o:arch/x86/include/asm/atomic64_32.h:123: more undefined references to `atomic64_read_386' follow
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_set':
arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: block/blk-iocost.o: in function `arch_atomic64_inc':
arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: drivers/md/raid1.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: drivers/md/raid10.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: drivers/md/raid5.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: drivers/md/md.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: drivers/md/md.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: drivers/md/dm-raid.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: drivers/md/dm-integrity.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: drivers/md/dm-integrity.o: in function `arch_atomic64_inc':
arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: drivers/md/dm-integrity.o: in function `arch_atomic64_set':
arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: drivers/md/dm-integrity.o: in function `arch_atomic64_inc':
arch/x86/include/asm/atomic64_32.h:209: undefined reference to `atomic64_inc_386'
/usr/bin/ld: net/core/sock_diag.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: net/core/sock_diag.o: in function `arch_atomic64_inc_return':
>> arch/x86/include/asm/atomic64_32.h:156: undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: net/core/sock_diag.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:arch/x86/include/asm/atomic64_32.h:53: undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:arch/x86/include/asm/atomic64_32.h:50: undefined reference to `atomic64_xchg_386'
/usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:arch/x86/include/asm/atomic64_32.h:49: undefined reference to `atomic64_set_386'
/usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:arch/x86/include/asm/atomic64_32.h:48: undefined reference to `atomic64_read_386'
/usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:arch/x86/include/asm/atomic64_32.h:41: undefined reference to `atomic64_inc_386'
/usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:arch/x86/include/asm/atomic64_32.h:40: undefined reference to `atomic64_sub_386'
/usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:arch/x86/include/asm/atomic64_32.h:39: undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/sched/cputime.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/sched/rt.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/sched/deadline.o:arch/x86/include/asm/atomic64_32.h:180: more undefined references to `atomic64_add_386' follow
/usr/bin/ld: kernel/time/posix-cpu-timers.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: 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: kernel/time/posix-cpu-timers.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/time/posix-cpu-timers.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: kernel/time/posix-cpu-timers.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/time/posix-cpu-timers.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: kernel/time/posix-cpu-timers.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/cgroup/pids.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: kernel/cgroup/pids.o: in function `arch_atomic64_add_return':
arch/x86/include/asm/atomic64_32.h:136: undefined reference to `atomic64_add_return_386'
/usr/bin/ld: kernel/cgroup/pids.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/cgroup/pids.o: in function `arch_atomic64_add_return':
arch/x86/include/asm/atomic64_32.h:136: undefined reference to `atomic64_add_return_386'
/usr/bin/ld: kernel/cgroup/pids.o: in function `arch_atomic64_inc_return':
>> arch/x86/include/asm/atomic64_32.h:156: undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: kernel/cgroup/pids.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: kernel/cgroup/pids.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: kernel/cgroup/pids.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/trace/trace_clock.o: in function `arch_atomic64_add_return':
arch/x86/include/asm/atomic64_32.h:136: undefined reference to `atomic64_add_return_386'
/usr/bin/ld: kernel/bpf/core.o: in function `arch_atomic64_add':
arch/x86/include/asm/atomic64_32.h:180: undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/proc/task_mmu.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/fat/dir.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/fat/dir.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fat/misc.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/fat/misc.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/ufs/dir.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/ufs/dir.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/ufs/dir.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/ufs/dir.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/ufs/inode.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/ufs/inode.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/affs/dir.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/affs/dir.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/affs/amigaffs.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/affs/amigaffs.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fuse/dir.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: arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/fuse/dir.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fuse/dir.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/fuse/dir.o: in function `arch_atomic64_inc_return':
>> arch/x86/include/asm/atomic64_32.h:156: undefined reference to `atomic64_inc_return_386'
>> /usr/bin/ld: arch/x86/include/asm/atomic64_32.h:156: undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: fs/fuse/file.o: in function `arch_atomic64_inc_return':
>> arch/x86/include/asm/atomic64_32.h:156: undefined reference to `atomic64_inc_return_386'
>> /usr/bin/ld: arch/x86/include/asm/atomic64_32.h:156: undefined reference to `atomic64_inc_return_386'
>> /usr/bin/ld: arch/x86/include/asm/atomic64_32.h:156: undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: fs/fuse/file.o:arch/x86/include/asm/atomic64_32.h:156: more undefined references to `atomic64_inc_return_386' follow
/usr/bin/ld: fs/fuse/file.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/fuse/file.o: in function `arch_atomic64_inc_return':
>> arch/x86/include/asm/atomic64_32.h:156: undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: fs/fuse/readdir.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/fuse/readdir.o: in function `arch_atomic64_cmpxchg':
arch/x86/include/asm/atomic64_32.h:76: undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fuse/readdir.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: drivers/md/raid5-ppl.o: in function `arch_atomic64_add_return':
arch/x86/include/asm/atomic64_32.h:136: undefined reference to `atomic64_add_return_386'
/usr/bin/ld: drivers/md/raid5-ppl.o: in function `arch_atomic64_set':
arch/x86/include/asm/atomic64_32.h:109: 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_XMM2'
/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: net/ipv4/inet_timewait_sock.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: net/ipv4/inet_timewait_sock.o: in function `arch_atomic64_set':
arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: net/ipv4/inet_connection_sock.o: in function `arch_atomic64_read':
arch/x86/include/asm/atomic64_32.h:123: undefined reference to `atomic64_read_386'
/usr/bin/ld: net/ipv4/inet_connection_sock.o: in function `arch_atomic64_set':
arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
/usr/bin/ld: net/ipv4/tcp_input.o: in function `arch_atomic64_set':
arch/x86/include/asm/atomic64_32.h:109: undefined reference to `atomic64_set_386'
collect2: error: ld returned 1 exit status

vim +156 arch/x86/include/asm/atomic64_32.h

1a3b1d89eded68 Brian Gerst 2010-01-07 113
1a3b1d89eded68 Brian Gerst 2010-01-07 114 /**
8bf705d130396e Dmitry Vyukov 2018-01-29 115 * arch_atomic64_read - read atomic64 variable
a7e926abc3adfb Luca Barbieri 2010-02-24 116 * @v: pointer to type atomic64_t
1a3b1d89eded68 Brian Gerst 2010-01-07 117 *
a7e926abc3adfb Luca Barbieri 2010-02-24 118 * Atomically reads the value of @v and returns it.
1a3b1d89eded68 Brian Gerst 2010-01-07 119 */
79c53a83d7a31a Mark Rutland 2019-05-22 120 static inline s64 arch_atomic64_read(const atomic64_t *v)
1a3b1d89eded68 Brian Gerst 2010-01-07 121 {
79c53a83d7a31a Mark Rutland 2019-05-22 122 s64 r;
819165fb34b977 Jan Beulich 2012-01-20 @123 alternative_atomic64(read, "=&A" (r), "c" (v) : "memory");
a7e926abc3adfb Luca Barbieri 2010-02-24 124 return r;
1a3b1d89eded68 Brian Gerst 2010-01-07 125 }
1a3b1d89eded68 Brian Gerst 2010-01-07 126
1a3b1d89eded68 Brian Gerst 2010-01-07 127 /**
8bf705d130396e Dmitry Vyukov 2018-01-29 128 * arch_atomic64_add_return - add and return
a7e926abc3adfb Luca Barbieri 2010-02-24 129 * @i: integer value to add
a7e926abc3adfb Luca Barbieri 2010-02-24 130 * @v: pointer to type atomic64_t
1a3b1d89eded68 Brian Gerst 2010-01-07 131 *
a7e926abc3adfb Luca Barbieri 2010-02-24 132 * Atomically adds @i to @v and returns @i + *@v
1a3b1d89eded68 Brian Gerst 2010-01-07 133 */
79c53a83d7a31a Mark Rutland 2019-05-22 134 static inline s64 arch_atomic64_add_return(s64 i, atomic64_t *v)
a7e926abc3adfb Luca Barbieri 2010-02-24 135 {
819165fb34b977 Jan Beulich 2012-01-20 136 alternative_atomic64(add_return,
819165fb34b977 Jan Beulich 2012-01-20 137 ASM_OUTPUT2("+A" (i), "+c" (v)),
819165fb34b977 Jan Beulich 2012-01-20 138 ASM_NO_INPUT_CLOBBER("memory"));
a7e926abc3adfb Luca Barbieri 2010-02-24 139 return i;
a7e926abc3adfb Luca Barbieri 2010-02-24 140 }
1a3b1d89eded68 Brian Gerst 2010-01-07 141
1a3b1d89eded68 Brian Gerst 2010-01-07 142 /*
1a3b1d89eded68 Brian Gerst 2010-01-07 143 * Other variants with different arithmetic operators:
1a3b1d89eded68 Brian Gerst 2010-01-07 144 */
79c53a83d7a31a Mark Rutland 2019-05-22 145 static inline s64 arch_atomic64_sub_return(s64 i, atomic64_t *v)
a7e926abc3adfb Luca Barbieri 2010-02-24 146 {
819165fb34b977 Jan Beulich 2012-01-20 147 alternative_atomic64(sub_return,
819165fb34b977 Jan Beulich 2012-01-20 148 ASM_OUTPUT2("+A" (i), "+c" (v)),
819165fb34b977 Jan Beulich 2012-01-20 149 ASM_NO_INPUT_CLOBBER("memory"));
a7e926abc3adfb Luca Barbieri 2010-02-24 150 return i;
a7e926abc3adfb Luca Barbieri 2010-02-24 151 }
a7e926abc3adfb Luca Barbieri 2010-02-24 152
79c53a83d7a31a Mark Rutland 2019-05-22 153 static inline s64 arch_atomic64_inc_return(atomic64_t *v)
a7e926abc3adfb Luca Barbieri 2010-02-24 154 {
79c53a83d7a31a Mark Rutland 2019-05-22 155 s64 a;
819165fb34b977 Jan Beulich 2012-01-20 @156 alternative_atomic64(inc_return, "=&A" (a),
819165fb34b977 Jan Beulich 2012-01-20 157 "S" (v) : "memory", "ecx");
a7e926abc3adfb Luca Barbieri 2010-02-24 158 return a;
a7e926abc3adfb Luca Barbieri 2010-02-24 159 }
9837559d8eb01c Mark Rutland 2018-06-21 160 #define arch_atomic64_inc_return arch_atomic64_inc_return
a7e926abc3adfb Luca Barbieri 2010-02-24 161

:::::: The code at line 156 was first introduced by commit
:::::: 819165fb34b9777f852429f2c6d6f79fbb71b9eb x86: Adjust asm constraints in atomic64 wrappers

:::::: TO: Jan Beulich <JBeulich@xxxxxxxx>
:::::: CC: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip