All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 2851/2855] fs/btrfs/block-group.c:2463: undefined reference to `__aeabi_uldivmod'
Date: Sat, 29 Jan 2022 07:37:32 +0800	[thread overview]
Message-ID: <202201290703.o2mk3Lsi-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   b605fdc54c2b28c30ef06d9db99282d8a32ae4be
commit: 56cf0968350b261964a2e0e51bd746be26772e38 [2851/2855] Merge branch 'akpm-current/current'
config: arm-randconfig-r021-20220124 (https://download.01.org/0day-ci/archive/20220129/202201290703.o2mk3Lsi-lkp(a)intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=56cf0968350b261964a2e0e51bd746be26772e38
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 56cf0968350b261964a2e0e51bd746be26772e38
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash

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 >>):

   arm-linux-gnueabi-ld: fs/btrfs/block-group.o: in function `calculate_global_root_id':
>> fs/btrfs/block-group.c:2463: undefined reference to `__aeabi_uldivmod'


vim +2463 fs/btrfs/block-group.c

4358d9635a16a7 Josef Bacik 2019-06-20  2447  
f498cd59825cbf Josef Bacik 2021-12-15  2448  /*
f498cd59825cbf Josef Bacik 2021-12-15  2449   * For extent tree v2 we use the block_group_item->chunk_offset to point at our
f498cd59825cbf Josef Bacik 2021-12-15  2450   * global root id.  For v1 it's always set to BTRFS_FIRST_CHUNK_TREE_OBJECTID.
f498cd59825cbf Josef Bacik 2021-12-15  2451   */
f498cd59825cbf Josef Bacik 2021-12-15  2452  static u64 calculate_global_root_id(struct btrfs_fs_info *fs_info, u64 offset)
f498cd59825cbf Josef Bacik 2021-12-15  2453  {
f498cd59825cbf Josef Bacik 2021-12-15  2454  	u64 div = SZ_1G;
f498cd59825cbf Josef Bacik 2021-12-15  2455  
f498cd59825cbf Josef Bacik 2021-12-15  2456  	if (!btrfs_fs_incompat(fs_info, EXTENT_TREE_V2))
f498cd59825cbf Josef Bacik 2021-12-15  2457  		return BTRFS_FIRST_CHUNK_TREE_OBJECTID;
f498cd59825cbf Josef Bacik 2021-12-15  2458  
f498cd59825cbf Josef Bacik 2021-12-15  2459  	/* If we have a smaller fs index based on 128MiB. */
f498cd59825cbf Josef Bacik 2021-12-15  2460  	if (btrfs_super_total_bytes(fs_info->super_copy) <= (SZ_1G * 10ULL))
f498cd59825cbf Josef Bacik 2021-12-15  2461  		div = SZ_128M;
f498cd59825cbf Josef Bacik 2021-12-15  2462  
f498cd59825cbf Josef Bacik 2021-12-15 @2463  	return (div_u64(offset, div) % fs_info->nr_global_roots);
f498cd59825cbf Josef Bacik 2021-12-15  2464  }
f498cd59825cbf Josef Bacik 2021-12-15  2465  

:::::: The code at line 2463 was first introduced by commit
:::::: f498cd59825cbf77b3e2dedc0ab6cf754a1049b4 btrfs: add support for multiple global roots

:::::: TO: Josef Bacik <josef@toxicpanda.com>
:::::: CC: David Sterba <dsterba@suse.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 2851/2855] fs/btrfs/block-group.c:2463: undefined reference to `__aeabi_uldivmod'
Date: Sat, 29 Jan 2022 07:37:32 +0800	[thread overview]
Message-ID: <202201290703.o2mk3Lsi-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   b605fdc54c2b28c30ef06d9db99282d8a32ae4be
commit: 56cf0968350b261964a2e0e51bd746be26772e38 [2851/2855] Merge branch 'akpm-current/current'
config: arm-randconfig-r021-20220124 (https://download.01.org/0day-ci/archive/20220129/202201290703.o2mk3Lsi-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=56cf0968350b261964a2e0e51bd746be26772e38
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 56cf0968350b261964a2e0e51bd746be26772e38
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash

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 >>):

   arm-linux-gnueabi-ld: fs/btrfs/block-group.o: in function `calculate_global_root_id':
>> fs/btrfs/block-group.c:2463: undefined reference to `__aeabi_uldivmod'


vim +2463 fs/btrfs/block-group.c

4358d9635a16a7 Josef Bacik 2019-06-20  2447  
f498cd59825cbf Josef Bacik 2021-12-15  2448  /*
f498cd59825cbf Josef Bacik 2021-12-15  2449   * For extent tree v2 we use the block_group_item->chunk_offset to point at our
f498cd59825cbf Josef Bacik 2021-12-15  2450   * global root id.  For v1 it's always set to BTRFS_FIRST_CHUNK_TREE_OBJECTID.
f498cd59825cbf Josef Bacik 2021-12-15  2451   */
f498cd59825cbf Josef Bacik 2021-12-15  2452  static u64 calculate_global_root_id(struct btrfs_fs_info *fs_info, u64 offset)
f498cd59825cbf Josef Bacik 2021-12-15  2453  {
f498cd59825cbf Josef Bacik 2021-12-15  2454  	u64 div = SZ_1G;
f498cd59825cbf Josef Bacik 2021-12-15  2455  
f498cd59825cbf Josef Bacik 2021-12-15  2456  	if (!btrfs_fs_incompat(fs_info, EXTENT_TREE_V2))
f498cd59825cbf Josef Bacik 2021-12-15  2457  		return BTRFS_FIRST_CHUNK_TREE_OBJECTID;
f498cd59825cbf Josef Bacik 2021-12-15  2458  
f498cd59825cbf Josef Bacik 2021-12-15  2459  	/* If we have a smaller fs index based on 128MiB. */
f498cd59825cbf Josef Bacik 2021-12-15  2460  	if (btrfs_super_total_bytes(fs_info->super_copy) <= (SZ_1G * 10ULL))
f498cd59825cbf Josef Bacik 2021-12-15  2461  		div = SZ_128M;
f498cd59825cbf Josef Bacik 2021-12-15  2462  
f498cd59825cbf Josef Bacik 2021-12-15 @2463  	return (div_u64(offset, div) % fs_info->nr_global_roots);
f498cd59825cbf Josef Bacik 2021-12-15  2464  }
f498cd59825cbf Josef Bacik 2021-12-15  2465  

:::::: The code at line 2463 was first introduced by commit
:::::: f498cd59825cbf77b3e2dedc0ab6cf754a1049b4 btrfs: add support for multiple global roots

:::::: TO: Josef Bacik <josef@toxicpanda.com>
:::::: CC: David Sterba <dsterba@suse.com>

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


             reply	other threads:[~2022-01-28 23:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-28 23:37 kernel test robot [this message]
2022-01-28 23:37 ` [linux-next:master 2851/2855] fs/btrfs/block-group.c:2463: undefined reference to `__aeabi_uldivmod' kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202201290703.o2mk3Lsi-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.