lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202201282324.f40yinlV-lkp@intel.com>
Date:   Fri, 28 Jan 2022 23:55:23 +0800
From:   kernel test robot <lkp@...el.com>
To:     Anup Patel <apatel@...tanamicro.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [avpatel:memperf_test_v1 7/7] memperf_test.c:undefined reference to
 `__udivdi3'

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ