[PATCH RESEND 1/1] lib/Kconfig: remove DEBUG_PER_CPU_MAPS dependency for CPUMASK_OFFSTACK

kernel test robot lkp at intel.com
Wed Apr 13 06:11:45 PDT 2022


Hi Libo,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.18-rc2 next-20220413]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/intel-lab-lkp/linux/commits/Libo-Chen/lib-Kconfig-remove-DEBUG_PER_CPU_MAPS-dependency-for-CPUMASK_OFFSTACK/20220413-073657
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e
config: nios2-randconfig-r023-20220413 (https://download.01.org/0day-ci/archive/20220413/202204132113.V7jyB6Zc-lkp@intel.com/config)
compiler: nios2-linux-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://github.com/intel-lab-lkp/linux/commit/6636f7cf28d2a79cde937c0f212e8a87080da06d
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Libo-Chen/lib-Kconfig-remove-DEBUG_PER_CPU_MAPS-dependency-for-CPUMASK_OFFSTACK/20220413-073657
        git checkout 6636f7cf28d2a79cde937c0f212e8a87080da06d
        # 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=nios2 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   nios2-linux-ld: nios2-linux-ld: DWARF error: could not find abbrev number 71
   kernel/workqueue.o: in function `free_workqueue_attrs':
   workqueue.c:(.text+0x3fb8): undefined reference to `free_cpumask_var'
   workqueue.c:(.text+0x3fb8): relocation truncated to fit: R_NIOS2_CALL26 against `free_cpumask_var'
   nios2-linux-ld: kernel/workqueue.o: in function `alloc_workqueue_attrs':
>> workqueue.c:(.text+0x40d4): undefined reference to `alloc_cpumask_var'
   workqueue.c:(.text+0x40d4): relocation truncated to fit: R_NIOS2_CALL26 against `alloc_cpumask_var'
   nios2-linux-ld: kernel/workqueue.o: in function `workqueue_set_unbound_cpumask':
   workqueue.c:(.text+0x5584): undefined reference to `zalloc_cpumask_var'
   workqueue.c:(.text+0x5584): relocation truncated to fit: R_NIOS2_CALL26 against `zalloc_cpumask_var'
   nios2-linux-ld: workqueue.c:(.text+0x5680): undefined reference to `free_cpumask_var'
   workqueue.c:(.text+0x5680): relocation truncated to fit: R_NIOS2_CALL26 against `free_cpumask_var'
   nios2-linux-ld: kernel/workqueue.o: in function `wq_unbound_cpumask_store':
   workqueue.c:(.text+0x56e0): undefined reference to `zalloc_cpumask_var'
   workqueue.c:(.text+0x56e0): relocation truncated to fit: R_NIOS2_CALL26 against `zalloc_cpumask_var'
   nios2-linux-ld: workqueue.c:(.text+0x5718): undefined reference to `free_cpumask_var'
   workqueue.c:(.text+0x5718): relocation truncated to fit: R_NIOS2_CALL26 against `free_cpumask_var'
   nios2-linux-ld: kernel/workqueue.o: in function `workqueue_init_early':
>> workqueue.c:(.init.text+0x1e8): undefined reference to `alloc_cpumask_var'
   workqueue.c:(.init.text+0x1e8): relocation truncated to fit: R_NIOS2_CALL26 against `alloc_cpumask_var'
   nios2-linux-ld: nios2-linux-ld: DWARF error: could not find abbrev number 15310
   kernel/sched/core.o: in function `sched_setaffinity':
>> core.c:(.text+0x3b40): undefined reference to `alloc_cpumask_var'
   core.c:(.text+0x3b40): relocation truncated to fit: R_NIOS2_CALL26 against `alloc_cpumask_var'
>> nios2-linux-ld: core.c:(.text+0x3b54): undefined reference to `alloc_cpumask_var'
   core.c:(.text+0x3b54): relocation truncated to fit: R_NIOS2_CALL26 against `alloc_cpumask_var'
>> nios2-linux-ld: core.c:(.text+0x3be0): undefined reference to `free_cpumask_var'
   core.c:(.text+0x3be0): relocation truncated to fit: R_NIOS2_CALL26 against `free_cpumask_var'
   nios2-linux-ld: core.c:(.text+0x3bf0): undefined reference to `free_cpumask_var'
   core.c:(.text+0x3bf0): additional relocation overflows omitted from the output
   nios2-linux-ld: kernel/sched/core.o: in function `__se_sys_sched_setaffinity':
   core.c:(.text+0x3c64): undefined reference to `alloc_cpumask_var'
   nios2-linux-ld: core.c:(.text+0x3cc4): undefined reference to `free_cpumask_var'
   nios2-linux-ld: kernel/sched/core.o: in function `__se_sys_sched_getaffinity':
   core.c:(.text+0x3dd4): undefined reference to `alloc_cpumask_var'
   nios2-linux-ld: core.c:(.text+0x3e20): undefined reference to `free_cpumask_var'
   nios2-linux-ld: kernel/sched/core.o: in function `sched_init':
>> core.c:(.init.text+0x27c): undefined reference to `load_balance_mask'
>> nios2-linux-ld: core.c:(.init.text+0x284): undefined reference to `load_balance_mask'
>> nios2-linux-ld: core.c:(.init.text+0x28c): undefined reference to `select_idle_mask'
   nios2-linux-ld: core.c:(.init.text+0x290): undefined reference to `select_idle_mask'
   nios2-linux-ld: nios2-linux-ld: DWARF error: could not find abbrev number 18
   kernel/sched/build_utility.o: in function `housekeeping_setup_type':
   build_utility.c:(.init.text+0x130): undefined reference to `alloc_bootmem_cpumask_var'
   nios2-linux-ld: kernel/sched/build_utility.o: in function `housekeeping_setup':
   build_utility.c:(.init.text+0x198): undefined reference to `alloc_bootmem_cpumask_var'
   nios2-linux-ld: build_utility.c:(.init.text+0x1b4): undefined reference to `alloc_bootmem_cpumask_var'
   nios2-linux-ld: build_utility.c:(.init.text+0x2f4): undefined reference to `free_bootmem_cpumask_var'
   nios2-linux-ld: build_utility.c:(.init.text+0x304): undefined reference to `free_bootmem_cpumask_var'
   nios2-linux-ld: nios2-linux-ld: DWARF error: could not find abbrev number 91
   kernel/profile.o: in function `prof_cpu_mask_proc_write':
   profile.c:(.text+0x40c): undefined reference to `zalloc_cpumask_var'
   nios2-linux-ld: profile.c:(.text+0x450): undefined reference to `free_cpumask_var'
   nios2-linux-ld: kernel/profile.o: in function `profile_init':
>> profile.c:(.ref.text+0xc0): undefined reference to `alloc_cpumask_var'
>> nios2-linux-ld: profile.c:(.ref.text+0x134): undefined reference to `free_cpumask_var'
   nios2-linux-ld: nios2-linux-ld: DWARF error: could not find abbrev number 700424681
   kernel/time/hrtimer.o: in function `clock_was_set':
>> hrtimer.c:(.text+0xc48): undefined reference to `zalloc_cpumask_var'
>> nios2-linux-ld: hrtimer.c:(.text+0xd50): undefined reference to `free_cpumask_var'
   nios2-linux-ld: nios2-linux-ld: DWARF error: could not find abbrev number 361628
   kernel/torture.o: in function `torture_cleanup_begin':
>> torture.c:(.text+0x758): undefined reference to `free_cpumask_var'
   nios2-linux-ld: kernel/torture.o: in function `torture_shuffle_init':
>> torture.c:(.text+0xbe4): undefined reference to `alloc_cpumask_var'
   nios2-linux-ld: nios2-linux-ld: DWARF error: could not find abbrev number 13757
   block/blk-mq.o: in function `blk_mq_alloc_hctx':
   blk-mq.c:(.text+0x1550): undefined reference to `zalloc_cpumask_var_node'
   nios2-linux-ld: blk-mq.c:(.text+0x16d4): undefined reference to `free_cpumask_var'
   nios2-linux-ld: nios2-linux-ld: DWARF error: could not find abbrev number 264202560
   block/blk-mq-sysfs.o: in function `blk_mq_hw_sysfs_release':
   blk-mq-sysfs.c:(.text+0x2c0): undefined reference to `free_cpumask_var'
   nios2-linux-ld: nios2-linux-ld: DWARF error: could not find abbrev number 3666
   drivers/base/cpu.o: in function `print_cpus_offline':
   cpu.c:(.text+0x94): undefined reference to `alloc_cpumask_var'
   nios2-linux-ld: cpu.c:(.text+0xec): undefined reference to `free_cpumask_var'
   nios2-linux-ld: drivers/base/cpu.o: in function `print_cpus_isolated':
   cpu.c:(.text+0x1b8): undefined reference to `alloc_cpumask_var'
   nios2-linux-ld: cpu.c:(.text+0x20c): undefined reference to `free_cpumask_var'

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



More information about the linux-arm-kernel mailing list