[openeuler:OLK-6.6 7453/16477] mm/kasan/shadow.c:90:undefined reference to `__memcpy_mc'

Hi Tong, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 22b613ee43a0f885bbff81aa3cad98b2b8d62850 commit: b991780c836ceb9a479c6c6e385e914b487e353a [7453/16477] arm64: introduce copy_mc_to_kernel() implementation config: arm64-randconfig-002-20241107 (https://download.01.org/0day-ci/archive/20241107/202411071929.8uoaYBta-lkp@i...) compiler: aarch64-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241107/202411071929.8uoaYBta-lkp@i...) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202411071929.8uoaYBta-lkp@intel.com/ All errors (new ones prefixed by >>): aarch64-linux-ld: Unexpected GOT/PLT entries detected! aarch64-linux-ld: Unexpected run-time procedure linkages detected! aarch64-linux-ld: mm/kasan/shadow.o: in function `memcpy_mc':
mm/kasan/shadow.c:90:(.text+0x648): undefined reference to `__memcpy_mc'
vim +90 mm/kasan/shadow.c 81 82 #ifdef __HAVE_ARCH_MEMCPY_MC 83 #undef memcpy_mc 84 int memcpy_mc(void *dest, const void *src, size_t len) 85 { 86 if (!kasan_check_range(src, len, false, _RET_IP_) || 87 !kasan_check_range(dest, len, true, _RET_IP_)) 88 return (int)len; 89
90 return __memcpy_mc(dest, src, len); 91 } 92 #endif 93
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot