misc.c:undefined reference to `__ubsan_handle_shift_out_of_bounds'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git devel/overflow/ubsan-only head: ec27d9baa678ce3b875e5784ba6ebbf759daabd6 commit: c37e9d494f33891d3228e7941cba1158fe8a0e77 [4/6] ubsan: Remove CONFIG_UBSAN_SANITIZE_ALL config: sh-randconfig-001-20240130 (https://download.01.org/0day-ci/archive/20240131/[email protected]/config) compiler: sh4-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240131/[email protected]/reproduce)
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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
sh4-linux-ld: arch/sh/boot/compressed/misc.o: in function `zlib_inflate_table':
>> misc.c:(.text+0x670): undefined reference to `__ubsan_handle_shift_out_of_bounds' sh4-linux-ld: arch/sh/boot/compressed/misc.o: in function `inflate_fast': misc.c:(.text+0xc5c): undefined reference to `__ubsan_handle_shift_out_of_bounds' sh4-linux-ld: arch/sh/boot/compressed/misc.o: in function `zlib_inflateReset': misc.c:(.text+0xd00): undefined reference to `__ubsan_handle_shift_out_of_bounds' sh4-linux-ld: arch/sh/boot/compressed/misc.o: in function `zlib_inflate': misc.c:(.text+0x23fc): undefined reference to `__ubsan_handle_shift_out_of_bounds' sh4-linux-ld: arch/sh/boot/compressed/ashldi3.o: in function `__ashldi3': >> ashldi3.c:(.text+0xc8): undefined reference to `__ubsan_handle_shift_out_of_bounds'
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki