Linux-ext4 Archive on lore.kernel.org
 help / color / Atom feed
* [ext4:dev 13/28] mballoc.c:undefined reference to `atomic64_inc_386'
@ 2021-04-12 13:30 kernel test robot
  2021-04-14 20:20 ` Theodore Ts'o
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-04-12 13:30 UTC (permalink / raw)
  To: Harshad Shirwadkar
  Cc: kbuild-all, linux-ext4, Theodore Ts'o, Andreas Dilger,
	Ritesh Harjani


[-- Attachment #1: Type: text/plain, Size: 12217 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev
head:   fcdf3c34b7abdcbb49690c94c7fa6ce224dc9749
commit: a6c75eaf11032f4a3d2b3ce2265a194ac6e4a7f0 [13/28] ext4: add mballoc stats proc file
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://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git/commit/?id=a6c75eaf11032f4a3d2b3ce2265a194ac6e4a7f0
        git remote add ext4 https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git
        git fetch --no-tags ext4 dev
        git checkout a6c75eaf11032f4a3d2b3ce2265a194ac6e4a7f0
        # 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@intel.com>

All errors (new ones prefixed by >>):

   /usr/bin/ld: kernel/fork.o: in function `mm_init':
   fork.c:(.text+0x1294): undefined reference to `atomic64_set_386'
   /usr/bin/ld: kernel/sched/fair.o: in function `update_curr':
   fair.c:(.text+0xb8a): undefined reference to `atomic64_add_386'
   /usr/bin/ld: kernel/futex.o: in function `get_futex_key':
   futex.c:(.text+0x2900): undefined reference to `atomic64_read_386'
   /usr/bin/ld: futex.c:(.text+0x2a04): undefined reference to `atomic64_add_return_386'
   /usr/bin/ld: futex.c:(.text+0x2a5d): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: mm/debug.o: in function `dump_mm':
   debug.c:(.text+0x542): undefined reference to `atomic64_read_386'
   /usr/bin/ld: mm/z3fold.o: in function `z3fold_zpool_total_size':
   z3fold.c:(.text+0x3c): undefined reference to `atomic64_read_386'
   /usr/bin/ld: mm/z3fold.o: in function `z3fold_zpool_create':
   z3fold.c:(.text+0x36b): undefined reference to `atomic64_set_386'
   /usr/bin/ld: mm/z3fold.o: in function `z3fold_page_putback':
   z3fold.c:(.text+0xd15): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: mm/z3fold.o: in function `z3fold_reclaim_page.constprop.0':
   z3fold.c:(.text+0x108b): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: z3fold.c:(.text+0x1150): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: z3fold.c:(.text+0x157c): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: mm/z3fold.o: in function `z3fold_alloc':
   z3fold.c:(.text+0x1dd2): undefined reference to `atomic64_inc_386'
   /usr/bin/ld: z3fold.c:(.text+0x2270): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: mm/z3fold.o: in function `do_compact_page':
   z3fold.c:(.text+0x250f): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: z3fold.c:(.text+0x2f7a): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: mm/z3fold.o: in function `z3fold_free':
   z3fold.c:(.text+0x3416): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: z3fold.c:(.text+0x3574): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: fs/inode.o: in function `inode_init_always':
   inode.c:(.text+0x5ae): undefined reference to `atomic64_set_386'
   /usr/bin/ld: fs/inode.o: in function `generic_update_time':
   inode.c:(.text+0x34d2): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x3513): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: fs/inode.o: in function `file_update_time':
   inode.c:(.text+0x43e1): undefined reference to `atomic64_read_386'
   /usr/bin/ld: fs/namespace.o: in function `alloc_mnt_ns':
   namespace.c:(.text+0x1700): undefined reference to `atomic64_add_return_386'
   /usr/bin/ld: fs/io_uring.o: in function `io_sqe_buffers_unregister.part.0':
   io_uring.c:(.text+0x2bfb): undefined reference to `atomic64_sub_386'
   /usr/bin/ld: fs/io_uring.o: in function `io_sqe_buffers_register':
   io_uring.c:(.text+0x6e4c): undefined reference to `atomic64_add_386'
   /usr/bin/ld: fs/ext4/mballoc.o: in function `ext4_mb_generate_buddy':
   mballoc.c:(.text+0x2839): undefined reference to `atomic64_add_386'
   /usr/bin/ld: fs/ext4/mballoc.o: in function `ext4_mb_mark_diskspace_used':
   mballoc.c:(.text+0x8b81): undefined reference to `atomic64_sub_386'
   /usr/bin/ld: fs/ext4/mballoc.o: in function `ext4_mb_regular_allocator':
>> mballoc.c:(.text+0x99c4): undefined reference to `atomic64_inc_386'
>> /usr/bin/ld: mballoc.c:(.text+0x9d12): undefined reference to `atomic64_inc_386'
   /usr/bin/ld: mballoc.c:(.text+0xa371): undefined reference to `atomic64_inc_386'
   /usr/bin/ld: fs/ext4/mballoc.o: in function `ext4_seq_mb_stats_show':
   mballoc.c:(.text+0xa58b): undefined reference to `atomic64_read_386'
>> /usr/bin/ld: mballoc.c:(.text+0xa5af): undefined reference to `atomic64_read_386'
   /usr/bin/ld: mballoc.c:(.text+0xa5d3): undefined reference to `atomic64_read_386'
   /usr/bin/ld: mballoc.c:(.text+0xa608): undefined reference to `atomic64_read_386'
   /usr/bin/ld: mballoc.c:(.text+0xa62c): undefined reference to `atomic64_read_386'
   /usr/bin/ld: fs/ext4/mballoc.o:mballoc.c:(.text+0xa650): more undefined references to `atomic64_read_386' follow
   /usr/bin/ld: fs/ext4/mballoc.o: in function `ext4_mb_mark_bb':
   mballoc.c:(.text+0xc558): undefined reference to `atomic64_sub_386'
   /usr/bin/ld: fs/ext4/mballoc.o: in function `ext4_free_blocks':
   mballoc.c:(.text+0xead0): undefined reference to `atomic64_add_386'
   /usr/bin/ld: fs/ext4/mballoc.o: in function `ext4_group_add_blocks':
   mballoc.c:(.text+0xfb01): undefined reference to `atomic64_add_386'
   /usr/bin/ld: fs/ext4/super.o: in function `ext4_statfs':
   super.c:(.text+0x6511): undefined reference to `atomic64_read_386'
   /usr/bin/ld: fs/ext4/super.o: in function `ext4_alloc_inode':
   super.c:(.text+0x6bfc): undefined reference to `atomic64_set_386'
   /usr/bin/ld: fs/ext4/super.o: in function `ext4_fill_super':
   super.c:(.text+0x16808): undefined reference to `atomic64_set_386'
   /usr/bin/ld: super.c:(.text+0x16ed8): undefined reference to `atomic64_add_386'
   /usr/bin/ld: fs/ext4/sysfs.o: in function `ext4_attr_store':
   sysfs.c:(.text+0x127): undefined reference to `atomic64_set_386'
   /usr/bin/ld: fs/ext4/sysfs.o: in function `ext4_attr_show':
   sysfs.c:(.text+0x4d0): undefined reference to `atomic64_read_386'
   /usr/bin/ld: fs/fat/inode.o: in function `fat_fill_inode':
   inode.c:(.text+0x1d0d): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x1d44): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: fs/fat/inode.o: in function `fat_build_inode':
   inode.c:(.text+0x221d): undefined reference to `atomic64_set_386'
   /usr/bin/ld: fs/fat/inode.o: in function `fat_fill_super':
   inode.c:(.text+0x29ec): undefined reference to `atomic64_set_386'
   /usr/bin/ld: inode.c:(.text+0x2a28): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x2a82): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: fs/fat/namei_msdos.o: in function `do_msdos_rename':
   namei_msdos.c:(.text+0xf0e): undefined reference to `atomic64_read_386'
   /usr/bin/ld: namei_msdos.c:(.text+0xf68): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: namei_msdos.c:(.text+0x10d7): undefined reference to `atomic64_read_386'
   /usr/bin/ld: namei_msdos.c:(.text+0x1121): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: namei_msdos.c:(.text+0x1496): undefined reference to `atomic64_read_386'
   /usr/bin/ld: namei_msdos.c:(.text+0x14e0): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: fs/ufs/super.o: in function `ufs_alloc_inode':
   super.c:(.text+0x415): undefined reference to `atomic64_set_386'
   /usr/bin/ld: fs/affs/super.o: in function `affs_alloc_inode':
   super.c:(.text+0x4d5): undefined reference to `atomic64_set_386'
   /usr/bin/ld: fs/nilfs2/super.o: in function `nilfs_attach_checkpoint':
   super.c:(.text+0x15fd): undefined reference to `atomic64_set_386'
   /usr/bin/ld: super.c:(.text+0x160e): undefined reference to `atomic64_set_386'
   /usr/bin/ld: fs/nilfs2/super.o: in function `nilfs_statfs.cold':
   super.c:(.text.unlikely+0x11d): undefined reference to `atomic64_read_386'
   /usr/bin/ld: fs/nilfs2/sysfs.o: in function `nilfs_snapshot_blocks_count_show':
   sysfs.c:(.text+0x35a): undefined reference to `atomic64_read_386'
   /usr/bin/ld: fs/nilfs2/sysfs.o: in function `nilfs_snapshot_inodes_count_show':
   sysfs.c:(.text+0x392): undefined reference to `atomic64_read_386'
   /usr/bin/ld: fs/btrfs/super.o: in function `trace_event_raw_event_btrfs_dump_space_info':
   super.c:(.text+0x9e76): undefined reference to `atomic64_read_386'
   /usr/bin/ld: fs/btrfs/disk-io.o: in function `btrfs_init_fs_info':
   disk-io.c:(.text+0x531e): undefined reference to `atomic64_set_386'
   /usr/bin/ld: disk-io.c:(.text+0x534c): undefined reference to `atomic64_set_386'
   /usr/bin/ld: fs/btrfs/inode.o: in function `fill_inode_item':
   inode.c:(.text+0x806): undefined reference to `atomic64_read_386'
   /usr/bin/ld: fs/btrfs/inode.o: in function `btrfs_read_locked_inode':
   inode.c:(.text+0x1a44): undefined reference to `atomic64_set_386'
   /usr/bin/ld: fs/btrfs/inode.o: in function `__btrfs_unlink_inode':
   inode.c:(.text+0x8b82): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x8bb6): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: inode.c:(.text+0x8c0b): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x8c3f): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: fs/btrfs/inode.o: in function `btrfs_update_time':
   inode.c:(.text+0x9188): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x91d1): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: fs/btrfs/inode.o: in function `__btrfs_prealloc_file_range':
   inode.c:(.text+0x95c7): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x9608): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: fs/btrfs/inode.o: in function `btrfs_unlink_subvol':
   inode.c:(.text+0xdbf7): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0xdc2d): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: fs/btrfs/inode.o: in function `btrfs_add_link':
   inode.c:(.text+0x1327c): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x132b3): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: fs/btrfs/inode.o: in function `btrfs_rename_exchange':
   inode.c:(.text+0x13b1f): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x13b61): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: inode.c:(.text+0x13bc6): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x13bff): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: inode.c:(.text+0x13c58): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x13c94): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: inode.c:(.text+0x13ced): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x13d2f): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: fs/btrfs/inode.o: in function `btrfs_link':
   inode.c:(.text+0x14f4e): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x14f82): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: fs/btrfs/inode.o: in function `btrfs_rename':
   inode.c:(.text+0x157a4): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x157fe): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: inode.c:(.text+0x15869): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x158c3): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: inode.c:(.text+0x1592e): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x15988): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: inode.c:(.text+0x16074): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x160ce): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: fs/btrfs/inode.o: in function `btrfs_setattr':
   inode.c:(.text+0x19514): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x1954a): undefined reference to `cmpxchg8b_emu'

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 10991 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ext4:dev 13/28] mballoc.c:undefined reference to `atomic64_inc_386'
  2021-04-12 13:30 [ext4:dev 13/28] mballoc.c:undefined reference to `atomic64_inc_386' kernel test robot
@ 2021-04-14 20:20 ` Theodore Ts'o
  0 siblings, 0 replies; 2+ messages in thread
From: Theodore Ts'o @ 2021-04-14 20:20 UTC (permalink / raw)
  To: kernel test robot
  Cc: Harshad Shirwadkar, kbuild-all, linux-ext4, linux-um,
	Andreas Dilger, Ritesh Harjani


[-- Attachment #1: Type: text/plain, Size: 1668 bytes --]

On Mon, Apr 12, 2021 at 09:30:19PM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev
> head:   fcdf3c34b7abdcbb49690c94c7fa6ce224dc9749
> commit: a6c75eaf11032f4a3d2b3ce2265a194ac6e4a7f0 [13/28] ext4: add mballoc stats proc file
> 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://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git/commit/?id=a6c75eaf11032f4a3d2b3ce2265a194ac6e4a7f0
>         git remote add ext4 https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git
>         git fetch --no-tags ext4 dev
>         git checkout a6c75eaf11032f4a3d2b3ce2265a194ac6e4a7f0
>         # 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@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    /usr/bin/ld: kernel/fork.o: in function `mm_init':
>    fork.c:(.text+0x1294): undefined reference to `atomic64_set_386'

This appears to be a problem in the UM architecture.  Tested using
linux.git (without any of the ext4.git changes for the next merge
window), I'm seeing very similar failures on commit 50987beca096
("Merge tag 'trace-v5.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace")

See attached makelog and config.gz.

Fortunately the configs used by kunit tests don't seem to technical
the issue.  So it's not something I'm going to care about, but perhaps
it's something the ARCH=um folks might want to address?

					- Ted


[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 10991 bytes --]

[-- Attachment #3: makelog.gz --]
[-- Type: application/gzip, Size: 21792 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-12 13:30 [ext4:dev 13/28] mballoc.c:undefined reference to `atomic64_inc_386' kernel test robot
2021-04-14 20:20 ` Theodore Ts'o

Linux-ext4 Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-ext4/0 linux-ext4/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-ext4 linux-ext4/ https://lore.kernel.org/linux-ext4 \
		linux-ext4@vger.kernel.org
	public-inbox-index linux-ext4

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-ext4


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git