lkml.org 
[lkml]   [2021]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v9 10/14] iio: test: add basic tests for the iio-rescale driver
On Wed, 17 Nov 2021 23:03:24 +0800
kernel test robot <lkp@intel.com> wrote:

> Hi Liam,
>
> Thank you for the patch! Yet something to improve:
>
> [auto build test ERROR on 2b6bff0b122785f09cfbdc34b1aa9edceea6e4c1]
>
> url: https://github.com/0day-ci/linux/commits/Liam-Beguin/iio-afe-add-temperature-rescaling-support/20211115-114729
> base: 2b6bff0b122785f09cfbdc34b1aa9edceea6e4c1
> config: nds32-randconfig-r003-20211115 (attached as .config)
> compiler: nds32le-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/0day-ci/linux/commit/bef63a2e36c2ceccc6f5954ab7e7cbb178c08fd8
> git remote add linux-review https://github.com/0day-ci/linux
> git fetch --no-tags linux-review Liam-Beguin/iio-afe-add-temperature-rescaling-support/20211115-114729
> git checkout bef63a2e36c2ceccc6f5954ab7e7cbb178c08fd8
> # save the attached .config to linux build tree
> mkdir build_dir
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>

This one has me stumped. The new tests have a depends on KUNIT and that should result in these
functions being built.

Anyone know what might have caused these?

Jonathan


> All errors (new ones prefixed by >>):
>
> nds32le-linux-ld: drivers/iio/test/iio-test-rescale.o: in function `iio_rescale_test_offset':
> >> iio-test-rescale.c:(.text+0x16): undefined reference to `kunit_kmalloc_array'
> >> nds32le-linux-ld: iio-test-rescale.c:(.text+0x1a): undefined reference to `kunit_kmalloc_array'
> >> nds32le-linux-ld: iio-test-rescale.c:(.text+0x80): undefined reference to `kunit_binary_assert_format'
> nds32le-linux-ld: iio-test-rescale.c:(.text+0x84): undefined reference to `kunit_binary_assert_format'
> >> nds32le-linux-ld: iio-test-rescale.c:(.text+0xe0): undefined reference to `kunit_do_assertion'
> nds32le-linux-ld: iio-test-rescale.c:(.text+0xe4): undefined reference to `kunit_do_assertion'
> >> nds32le-linux-ld: iio-test-rescale.c:(.text+0x104): undefined reference to `kunit_binary_str_assert_format'
> nds32le-linux-ld: iio-test-rescale.c:(.text+0x108): undefined reference to `kunit_binary_str_assert_format'
> nds32le-linux-ld: iio-test-rescale.c:(.text+0x158): undefined reference to `kunit_do_assertion'
> nds32le-linux-ld: iio-test-rescale.c:(.text+0x15c): undefined reference to `kunit_do_assertion'
> nds32le-linux-ld: drivers/iio/test/iio-test-rescale.o: in function `iio_rescale_test_scale':
> iio-test-rescale.c:(.text+0x236): undefined reference to `kunit_kmalloc_array'
> nds32le-linux-ld: iio-test-rescale.c:(.text+0x23a): undefined reference to `kunit_kmalloc_array'
> nds32le-linux-ld: iio-test-rescale.c:(.text+0x2d8): undefined reference to `kunit_binary_assert_format'
> nds32le-linux-ld: iio-test-rescale.c:(.text+0x2dc): undefined reference to `kunit_binary_assert_format'
> nds32le-linux-ld: iio-test-rescale.c:(.text+0x30a): undefined reference to `kunit_do_assertion'
> nds32le-linux-ld: iio-test-rescale.c:(.text+0x30e): undefined reference to `kunit_do_assertion'
> nds32le-linux-ld: iio-test-rescale.c:(.text+0x476): undefined reference to `kunit_do_assertion'
> nds32le-linux-ld: iio-test-rescale.c:(.text+0x47a): undefined reference to `kunit_do_assertion'
> nds32le-linux-ld: iio-test-rescale.c:(.text+0x4d8): undefined reference to `kunit_do_assertion'
> nds32le-linux-ld: drivers/iio/test/iio-test-rescale.o:iio-test-rescale.c:(.text+0x4dc): more undefined references to `kunit_do_assertion' follow
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_set_suspend':
> (.text+0x330): undefined reference to `fb_set_suspend'
> nds32le-linux-ld: (.text+0x334): undefined reference to `fb_set_suspend'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_resume_worker':
> drm_fb_helper.c:(.text+0x35c): undefined reference to `fb_set_suspend'
> nds32le-linux-ld: drm_fb_helper.c:(.text+0x360): undefined reference to `fb_set_suspend'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_unregister_fbi':
> (.text+0x3c4): undefined reference to `unregister_framebuffer'
> nds32le-linux-ld: (.text+0x3c8): undefined reference to `unregister_framebuffer'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_fini':
> (.text+0x424): undefined reference to `fb_dealloc_cmap'
> nds32le-linux-ld: (.text+0x428): undefined reference to `fb_dealloc_cmap'
> nds32le-linux-ld: (.text+0x432): undefined reference to `framebuffer_release'
> nds32le-linux-ld: (.text+0x436): undefined reference to `framebuffer_release'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_sys_read':
> (.text+0x4fc): undefined reference to `fb_sys_read'
> nds32le-linux-ld: (.text+0x500): undefined reference to `fb_sys_read'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_alloc_fbi':
> (.text+0xec2): undefined reference to `framebuffer_alloc'
> nds32le-linux-ld: (.text+0xec6): undefined reference to `framebuffer_alloc'
> nds32le-linux-ld: (.text+0xede): undefined reference to `fb_alloc_cmap'
> nds32le-linux-ld: (.text+0xee2): undefined reference to `fb_alloc_cmap'
> nds32le-linux-ld: (.text+0xf08): undefined reference to `fb_dealloc_cmap'
> nds32le-linux-ld: (.text+0xf0c): undefined reference to `fb_dealloc_cmap'
> nds32le-linux-ld: (.text+0xf2e): undefined reference to `framebuffer_release'
> nds32le-linux-ld: (.text+0xf32): undefined reference to `framebuffer_release'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_generic_probe':
> drm_fb_helper.c:(.text+0x102a): undefined reference to `fb_deferred_io_init'
> nds32le-linux-ld: drm_fb_helper.c:(.text+0x102e): undefined reference to `fb_deferred_io_init'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `__drm_fb_helper_initial_config_and_unlock':
> drm_fb_helper.c:(.text+0x1118): undefined reference to `register_framebuffer'
> nds32le-linux-ld: drm_fb_helper.c:(.text+0x111c): undefined reference to `register_framebuffer'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_set_suspend_unlocked':
> (.text+0x1680): undefined reference to `fb_set_suspend'
> nds32le-linux-ld: (.text+0x1684): undefined reference to `fb_set_suspend'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_sys_write':
> (.text+0x1b96): undefined reference to `fb_sys_write'
> nds32le-linux-ld: (.text+0x1b9a): undefined reference to `fb_sys_write'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_sys_fillrect':
> (.text+0x1bdc): undefined reference to `sys_fillrect'
> nds32le-linux-ld: (.text+0x1be0): undefined reference to `sys_fillrect'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_sys_copyarea':
> (.text+0x1c0c): undefined reference to `sys_copyarea'
> nds32le-linux-ld: (.text+0x1c10): undefined reference to `sys_copyarea'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_sys_imageblit':
> (.text+0x1c3c): undefined reference to `sys_imageblit'
> nds32le-linux-ld: (.text+0x1c40): undefined reference to `sys_imageblit'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_cfb_fillrect':
> (.text+0x1c6c): undefined reference to `cfb_fillrect'
> nds32le-linux-ld: (.text+0x1c70): undefined reference to `cfb_fillrect'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_cfb_copyarea':
> (.text+0x1c9c): undefined reference to `cfb_copyarea'
> nds32le-linux-ld: (.text+0x1ca0): undefined reference to `cfb_copyarea'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_cfb_imageblit':
> (.text+0x1ccc): undefined reference to `cfb_imageblit'
> nds32le-linux-ld: (.text+0x1cd0): undefined reference to `cfb_imageblit'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fbdev_fb_copyarea':
> drm_fb_helper.c:(.text+0x1f3e): undefined reference to `cfb_copyarea'
> nds32le-linux-ld: drm_fb_helper.c:(.text+0x1f42): undefined reference to `cfb_copyarea'
> nds32le-linux-ld: drm_fb_helper.c:(.text+0x1f4e): undefined reference to `sys_copyarea'
> nds32le-linux-ld: drm_fb_helper.c:(.text+0x1f52): undefined reference to `sys_copyarea'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fbdev_fb_fillrect':
> drm_fb_helper.c:(.text+0x1f8e): undefined reference to `cfb_fillrect'
> nds32le-linux-ld: drm_fb_helper.c:(.text+0x1f92): undefined reference to `cfb_fillrect'
> nds32le-linux-ld: drm_fb_helper.c:(.text+0x1f9e): undefined reference to `sys_fillrect'
> nds32le-linux-ld: drm_fb_helper.c:(.text+0x1fa2): undefined reference to `sys_fillrect'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fbdev_fb_imageblit':
> drm_fb_helper.c:(.text+0x1fde): undefined reference to `cfb_imageblit'
> nds32le-linux-ld: drm_fb_helper.c:(.text+0x1fe2): undefined reference to `cfb_imageblit'
> nds32le-linux-ld: drm_fb_helper.c:(.text+0x1fee): undefined reference to `sys_imageblit'
> nds32le-linux-ld: drm_fb_helper.c:(.text+0x1ff2): undefined reference to `sys_imageblit'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fbdev_cleanup':
> drm_fb_helper.c:(.text+0x2040): undefined reference to `fb_deferred_io_cleanup'
> nds32le-linux-ld: drm_fb_helper.c:(.text+0x2044): undefined reference to `fb_deferred_io_cleanup'
> nds32le-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fbdev_client_unregister':
> drm_fb_helper.c:(.text+0x20dc): undefined reference to `unregister_framebuffer'
> nds32le-linux-ld: drm_fb_helper.c:(.text+0x20e0): undefined reference to `unregister_framebuffer'
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

\
 
 \ /
  Last update: 2021-11-21 12:16    [W:0.110 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site