oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [mark:stacktrace/tests 3/4] unwind_kunit.c:undefined reference to `kunit_binary_ptr_assert_format'
@ 2023-03-23 10:51 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-23 10:51 UTC (permalink / raw)
  To: Mark Rutland; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git stacktrace/tests
head:   2aaad0e8b633791ba5d96e87bdf49cc05225d00a
commit: fac0c3411c9aacc9f7954eab7e0e8792b1fb15f6 [3/4] lib: add basic unwind tests
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20230323/202303231822.UMYqfXYi-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 12.1.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/mark/linux.git/commit/?id=fac0c3411c9aacc9f7954eab7e0e8792b1fb15f6
        git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
        git fetch --no-tags mark stacktrace/tests
        git checkout fac0c3411c9aacc9f7954eab7e0e8792b1fb15f6
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303231822.UMYqfXYi-lkp@intel.com/

All errors (new ones prefixed by >>):

   loongarch64-linux-ld: lib/unwind_kunit.o: in function `test_nounwind':
>> unwind_kunit.c:(.text+0x104): undefined reference to `kunit_binary_ptr_assert_format'
>> loongarch64-linux-ld: unwind_kunit.c:(.text+0x108): undefined reference to `kunit_binary_ptr_assert_format'
>> loongarch64-linux-ld: unwind_kunit.c:(.text+0x108): undefined reference to `kunit_binary_ptr_assert_format'
>> loongarch64-linux-ld: unwind_kunit.c:(.text+0x12c): undefined reference to `kunit_do_failed_assertion'
   loongarch64-linux-ld: lib/unwind_kunit.o: in function `uwd_assert_callers_present':
>> unwind_kunit.c:(.text+0x2f8): undefined reference to `kunit_binary_assert_format'
>> loongarch64-linux-ld: unwind_kunit.c:(.text+0x2fc): undefined reference to `kunit_binary_assert_format'
>> loongarch64-linux-ld: unwind_kunit.c:(.text+0x2fc): undefined reference to `kunit_binary_assert_format'
   loongarch64-linux-ld: unwind_kunit.c:(.text+0x320): undefined reference to `kunit_do_failed_assertion'
   loongarch64-linux-ld: unwind_kunit.c:(.text+0x348): undefined reference to `kunit_binary_assert_format'
   loongarch64-linux-ld: unwind_kunit.c:(.text+0x34c): undefined reference to `kunit_binary_assert_format'
   loongarch64-linux-ld: unwind_kunit.c:(.text+0x34c): undefined reference to `kunit_binary_assert_format'
   loongarch64-linux-ld: unwind_kunit.c:(.text+0x370): undefined reference to `kunit_do_failed_assertion'
   loongarch64-linux-ld: unwind_kunit.c:(.text+0x398): undefined reference to `kunit_binary_assert_format'
   loongarch64-linux-ld: unwind_kunit.c:(.text+0x39c): undefined reference to `kunit_binary_assert_format'
   loongarch64-linux-ld: unwind_kunit.c:(.text+0x39c): undefined reference to `kunit_binary_assert_format'
   loongarch64-linux-ld: unwind_kunit.c:(.text+0x3c0): undefined reference to `kunit_do_failed_assertion'
   loongarch64-linux-ld: unwind_kunit.c:(.text+0x3d4): undefined reference to `kunit_binary_assert_format'
   loongarch64-linux-ld: unwind_kunit.c:(.text+0x3d8): undefined reference to `kunit_binary_assert_format'
   loongarch64-linux-ld: unwind_kunit.c:(.text+0x3d8): undefined reference to `kunit_binary_assert_format'
   loongarch64-linux-ld: unwind_kunit.c:(.text+0x3fc): undefined reference to `kunit_do_failed_assertion'
   loongarch64-linux-ld: unwind_kunit.c:(.text+0x410): undefined reference to `kunit_binary_assert_format'
   loongarch64-linux-ld: unwind_kunit.c:(.text+0x414): undefined reference to `kunit_binary_assert_format'
   loongarch64-linux-ld: unwind_kunit.c:(.text+0x414): undefined reference to `kunit_binary_assert_format'
   loongarch64-linux-ld: unwind_kunit.c:(.text+0x438): undefined reference to `kunit_do_failed_assertion'
   loongarch64-linux-ld: lib/unwind_kunit.o: in function `test_unwind_from_caller_reliable':
>> unwind_kunit.c:(.text+0x4f8): undefined reference to `kunit_log_append'
   loongarch64-linux-ld: lib/unwind_kunit.o: in function `.L55':
>> unwind_kunit.c:(.text+0x638): undefined reference to `kunit_kfree'
   loongarch64-linux-ld: lib/unwind_kunit.o: in function `.L50':
   unwind_kunit.c:(.text+0x698): undefined reference to `kunit_log_append'
   loongarch64-linux-ld: lib/unwind_kunit.o: in function `.L54':
   unwind_kunit.c:(.text+0x6e0): undefined reference to `kunit_log_append'
   loongarch64-linux-ld: lib/unwind_kunit.o: in function `uwd_test_init':
>> unwind_kunit.c:(.text+0x71c): undefined reference to `kunit_kmalloc_array'

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-23 10:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-23 10:51 [mark:stacktrace/tests 3/4] unwind_kunit.c:undefined reference to `kunit_binary_ptr_assert_format' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).