riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.c:230: undefined reference to `mlx5_cmd_exec'
From: kernel test robot
Date: Sun Oct 04 2020 - 18:01:18 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 22fbc037cd32e4e6771d2271b565806cfb8c134c
commit: 29064bfdabd5ef49eac6909d3a36a075e3b52255 vdpa/mlx5: Add support library for mlx5 VDPA implementation
date: 9 weeks ago
config: riscv-randconfig-r036-20201005 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.3.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/torvalds/linux.git/commit/?id=29064bfdabd5ef49eac6909d3a36a075e3b52255
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 29064bfdabd5ef49eac6909d3a36a075e3b52255
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `dealloc_pd':
drivers/vdpa/mlx5/core/resources.c:33: undefined reference to `mlx5_cmd_exec'
riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `destroy_uctx':
drivers/vdpa/mlx5/core/resources.c:83: undefined reference to `mlx5_cmd_exec'
riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `mlx5_vdpa_create_tis':
drivers/vdpa/mlx5/core/resources.c:94: undefined reference to `mlx5_cmd_exec'
riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `mlx5_vdpa_destroy_tis':
drivers/vdpa/mlx5/core/resources.c:107: undefined reference to `mlx5_cmd_exec'
riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `mlx5_vdpa_create_rqt':
drivers/vdpa/mlx5/core/resources.c:113: undefined reference to `mlx5_cmd_exec'
riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o:drivers/vdpa/mlx5/core/resources.c:126: more undefined references to `mlx5_cmd_exec' follow
riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `mlx5_vdpa_destroy_mkey':
drivers/vdpa/mlx5/core/resources.c:212: undefined reference to `mlx5_get_uars_page'
riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `mlx5_vdpa_alloc_resources':
drivers/vdpa/mlx5/core/resources.c:219: undefined reference to `mlx5_cmd_exec'
>> riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.c:230: undefined reference to `mlx5_cmd_exec'
riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `kmalloc':
include/linux/slab.h:555: undefined reference to `mlx5_cmd_exec'
riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `create_uctx':
drivers/vdpa/mlx5/core/resources.c:70: undefined reference to `mlx5_put_uars_page'
riscv32-linux-ld: drivers/vdpa/mlx5/core/resources.o: in function `alloc_pd':
drivers/vdpa/mlx5/core/resources.c:16: undefined reference to `mlx5_put_uars_page'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip