All of lore.kernel.org
 help / color / mirror / Atom feed
* [avpatel:memperf_test_v1 7/7] memperf_test.c:undefined reference to `__udivdi3'
@ 2022-01-28 15:55 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-28 15:55 UTC (permalink / raw)
  To: Anup Patel; +Cc: kbuild-all, linux-kernel

tree:   https://github.com/avpatel/linux.git memperf_test_v1
head:   ad86979ac717673ec1647f1148a5c7cd214a1f39
commit: ad86979ac717673ec1647f1148a5c7cd214a1f39 [7/7] lib: Add memperf test
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20220128/202201282324.f40yinlV-lkp@intel.com/config)
compiler: m68k-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/avpatel/linux/commit/ad86979ac717673ec1647f1148a5c7cd214a1f39
        git remote add avpatel https://github.com/avpatel/linux.git
        git fetch --no-tags avpatel memperf_test_v1
        git checkout ad86979ac717673ec1647f1148a5c7cd214a1f39
        # 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=m68k SHELL=/bin/bash

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

All error/warnings (new ones prefixed by >>):

   m68k-linux-ld: lib/memperf_test.o: in function `memcpy_memmove_perf_test':
>> memperf_test.c:(.init.text+0x1b4): undefined reference to `__udivdi3'
   m68k-linux-ld: lib/memperf_test.o: in function `memperf_test_init':
   memperf_test.c:(.init.text+0x3ac): undefined reference to `__udivdi3'
   `.exit.text' referenced in section `.data' of sound/soc/codecs/tlv320adc3xxx.o: defined in discarded section `.exit.text' of sound/soc/codecs/tlv320adc3xxx.o
--
   In file included from include/asm-generic/bug.h:22,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:13,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/m68k/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:78,
                    from arch/m68k/include/asm/irqflags.h:6,
                    from include/linux/irqflags.h:16,
                    from arch/m68k/include/asm/atomic.h:6,
                    from include/linux/atomic.h:7,
                    from include/linux/mm_types_task.h:13,
                    from include/linux/mm_types.h:5,
                    from include/linux/buildid.h:5,
                    from include/linux/module.h:14,
                    from lib/memperf_test.c:3:
   lib/memperf_test.c: In function 'memcpy_memmove_perf_test':
>> lib/memperf_test.c:76:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'unsigned int' [-Wformat=]
      76 |                         printk("memperf: %s(dst+%d, src+%d), distance %lu: %llu Mb/s\n",
         |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      77 |                                 (cpy) ? "memcpy" : "memmove", i, j,
      78 |                                 (j - i) % sizeof(long), mbps);
         |                                 ~~~~~~~~~~~~~~~~~~~~~~
         |                                         |
         |                                         unsigned int
   include/linux/printk.h:418:25: note: in definition of macro 'printk_index_wrap'
     418 |                 _p_func(_fmt, ##__VA_ARGS__);                           \
         |                         ^~~~
   lib/memperf_test.c:76:25: note: in expansion of macro 'printk'
      76 |                         printk("memperf: %s(dst+%d, src+%d), distance %lu: %llu Mb/s\n",
         |                         ^~~~~~
   lib/memperf_test.c:76:73: note: format string is defined here
      76 |                         printk("memperf: %s(dst+%d, src+%d), distance %lu: %llu Mb/s\n",
         |                                                                       ~~^
         |                                                                         |
         |                                                                         long unsigned int
         |                                                                       %u

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [avpatel:memperf_test_v1 7/7] memperf_test.c:undefined reference to `__udivdi3'
@ 2022-01-28 15:55 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-28 15:55 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 4347 bytes --]

tree:   https://github.com/avpatel/linux.git memperf_test_v1
head:   ad86979ac717673ec1647f1148a5c7cd214a1f39
commit: ad86979ac717673ec1647f1148a5c7cd214a1f39 [7/7] lib: Add memperf test
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20220128/202201282324.f40yinlV-lkp(a)intel.com/config)
compiler: m68k-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/avpatel/linux/commit/ad86979ac717673ec1647f1148a5c7cd214a1f39
        git remote add avpatel https://github.com/avpatel/linux.git
        git fetch --no-tags avpatel memperf_test_v1
        git checkout ad86979ac717673ec1647f1148a5c7cd214a1f39
        # 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=m68k SHELL=/bin/bash

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

All error/warnings (new ones prefixed by >>):

   m68k-linux-ld: lib/memperf_test.o: in function `memcpy_memmove_perf_test':
>> memperf_test.c:(.init.text+0x1b4): undefined reference to `__udivdi3'
   m68k-linux-ld: lib/memperf_test.o: in function `memperf_test_init':
   memperf_test.c:(.init.text+0x3ac): undefined reference to `__udivdi3'
   `.exit.text' referenced in section `.data' of sound/soc/codecs/tlv320adc3xxx.o: defined in discarded section `.exit.text' of sound/soc/codecs/tlv320adc3xxx.o
--
   In file included from include/asm-generic/bug.h:22,
                    from arch/m68k/include/asm/bug.h:32,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:13,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/m68k/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:78,
                    from arch/m68k/include/asm/irqflags.h:6,
                    from include/linux/irqflags.h:16,
                    from arch/m68k/include/asm/atomic.h:6,
                    from include/linux/atomic.h:7,
                    from include/linux/mm_types_task.h:13,
                    from include/linux/mm_types.h:5,
                    from include/linux/buildid.h:5,
                    from include/linux/module.h:14,
                    from lib/memperf_test.c:3:
   lib/memperf_test.c: In function 'memcpy_memmove_perf_test':
>> lib/memperf_test.c:76:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'unsigned int' [-Wformat=]
      76 |                         printk("memperf: %s(dst+%d, src+%d), distance %lu: %llu Mb/s\n",
         |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      77 |                                 (cpy) ? "memcpy" : "memmove", i, j,
      78 |                                 (j - i) % sizeof(long), mbps);
         |                                 ~~~~~~~~~~~~~~~~~~~~~~
         |                                         |
         |                                         unsigned int
   include/linux/printk.h:418:25: note: in definition of macro 'printk_index_wrap'
     418 |                 _p_func(_fmt, ##__VA_ARGS__);                           \
         |                         ^~~~
   lib/memperf_test.c:76:25: note: in expansion of macro 'printk'
      76 |                         printk("memperf: %s(dst+%d, src+%d), distance %lu: %llu Mb/s\n",
         |                         ^~~~~~
   lib/memperf_test.c:76:73: note: format string is defined here
      76 |                         printk("memperf: %s(dst+%d, src+%d), distance %lu: %llu Mb/s\n",
         |                                                                       ~~^
         |                                                                         |
         |                                                                         long unsigned int
         |                                                                       %u

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-28 15:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-28 15:55 [avpatel:memperf_test_v1 7/7] memperf_test.c:undefined reference to `__udivdi3' kernel test robot
2022-01-28 15:55 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.