undefined reference to `gen_pool_size'

From: kernel test robot
Date: Sun Jan 12 2025 - 04:37:37 EST


Hi Grygorii,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b62cef9a5c673f1b8083159f5dc03c1c5daced2f
commit: 99f629718272974405e8d180d2fa70c03c06d61f net: ethernet: ti: cpsw: drop TI_DAVINCI_CPDMA config option
date: 6 years ago
config: alpha-randconfig-r004-20230123 (https://download.01.org/0day-ci/archive/20250112/202501121716.x1gltIJk-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250112/202501121716.x1gltIJk-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501121716.x1gltIJk-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

alpha-linux-ld: warning: arch/alpha/lib/styncpy.o: missing .note.GNU-stack section implies executable stack
alpha-linux-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
alpha-linux-ld: warning: arch/alpha/lib/styncpy.o: missing .note.GNU-stack section implies executable stack
alpha-linux-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
alpha-linux-ld: warning: .tmp_vmlinux1 has a LOAD segment with RWX permissions
alpha-linux-ld: drivers/net/ethernet/ti/davinci_cpdma.o: in function `cpdma_desc_pool_destroy':
>> (.text+0x34): undefined reference to `gen_pool_size'
>> alpha-linux-ld: (.text+0x38): undefined reference to `gen_pool_size'
>> alpha-linux-ld: (.text+0x48): undefined reference to `gen_pool_avail'
alpha-linux-ld: (.text+0x50): undefined reference to `gen_pool_avail'
alpha-linux-ld: (.text+0xb4): undefined reference to `gen_pool_size'
alpha-linux-ld: (.text+0xb8): undefined reference to `gen_pool_size'
alpha-linux-ld: (.text+0xc8): undefined reference to `gen_pool_avail'
alpha-linux-ld: (.text+0xd0): undefined reference to `gen_pool_avail'
alpha-linux-ld: drivers/net/ethernet/ti/davinci_cpdma.o: in function `cpdma_desc_pool_create.constprop.0':
>> (.text+0x3f4): undefined reference to `devm_gen_pool_create'
>> alpha-linux-ld: (.text+0x428): undefined reference to `devm_gen_pool_create'
alpha-linux-ld: (.text+0x4a4): undefined reference to `gen_pool_add_virt'
alpha-linux-ld: (.text+0x4ac): undefined reference to `gen_pool_add_virt'
alpha-linux-ld: drivers/net/ethernet/ti/davinci_cpdma.o: in function `__cpdma_chan_free':
>> (.text+0x714): undefined reference to `gen_pool_free'
alpha-linux-ld: (.text+0x71c): undefined reference to `gen_pool_free'
alpha-linux-ld: drivers/net/ethernet/ti/davinci_cpdma.o: in function `cpdma_chan_submit':
>> (.text+0x1bcc): undefined reference to `gen_pool_alloc'
alpha-linux-ld: (.text+0x1bd8): undefined reference to `gen_pool_alloc'
alpha-linux-ld: (.text+0x205c): undefined reference to `gen_pool_free'
alpha-linux-ld: (.text+0x206c): undefined reference to `gen_pool_free'
alpha-linux-ld: drivers/net/ethernet/ti/davinci_cpdma.o: in function `cpdma_check_free_tx_desc':
>> (.text+0x20f4): undefined reference to `gen_pool_avail'
alpha-linux-ld: (.text+0x20f8): undefined reference to `gen_pool_avail'

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki