lkml.org 
[lkml]   [2020]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectmips-linux-ld: decompress.c:(.text.decompress_kernel+0x21c): undefined reference to `__ubsan_handle_out_of_bounds'
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b3298500b23f0b53a8d81e0d5ad98a29db71f4f0
commit: 8d58f222e85f01da0c0e1fc1e77986c86de889e2 ubsan: disable UBSAN_ALIGNMENT under COMPILE_TEST
date: 7 months ago
config: mips-randconfig-r033-20201205 (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.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/torvalds/linux.git/commit/?id=8d58f222e85f01da0c0e1fc1e77986c86de889e2
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 8d58f222e85f01da0c0e1fc1e77986c86de889e2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips

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

All errors (new ones prefixed by >>):

mips-linux-ld: arch/mips/boot/compressed/decompress.o: in function `get_bits':
decompress.c:(.text.get_bits+0xc4): undefined reference to `__ubsan_handle_shift_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_bits+0x100): undefined reference to `__ubsan_handle_shift_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_bits+0x184): undefined reference to `__ubsan_handle_shift_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_bits+0x1a0): undefined reference to `__ubsan_handle_shift_out_of_bounds'
mips-linux-ld: arch/mips/boot/compressed/decompress.o: in function `get_next_block':
decompress.c:(.text.get_next_block+0x31c): undefined reference to `__ubsan_handle_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_next_block+0x344): undefined reference to `__ubsan_handle_type_mismatch_v1'
mips-linux-ld: decompress.c:(.text.get_next_block+0x448): undefined reference to `__ubsan_handle_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_next_block+0x46c): undefined reference to `__ubsan_handle_type_mismatch_v1'
mips-linux-ld: decompress.c:(.text.get_next_block+0x490): undefined reference to `__ubsan_handle_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_next_block+0x4b0): undefined reference to `__ubsan_handle_type_mismatch_v1'
mips-linux-ld: decompress.c:(.text.get_next_block+0x4cc): undefined reference to `__ubsan_handle_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_next_block+0x4f4): undefined reference to `__ubsan_handle_type_mismatch_v1'
mips-linux-ld: decompress.c:(.text.get_next_block+0x510): undefined reference to `__ubsan_handle_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_next_block+0x538): undefined reference to `__ubsan_handle_type_mismatch_v1'
mips-linux-ld: decompress.c:(.text.get_next_block+0x604): undefined reference to `__ubsan_handle_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_next_block+0x628): undefined reference to `__ubsan_handle_type_mismatch_v1'
mips-linux-ld: decompress.c:(.text.get_next_block+0x658): undefined reference to `__ubsan_handle_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_next_block+0x678): undefined reference to `__ubsan_handle_type_mismatch_v1'
mips-linux-ld: decompress.c:(.text.get_next_block+0x6a0): undefined reference to `__ubsan_handle_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_next_block+0x764): undefined reference to `__ubsan_handle_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_next_block+0x788): undefined reference to `__ubsan_handle_type_mismatch_v1'
mips-linux-ld: decompress.c:(.text.get_next_block+0x7a8): undefined reference to `__ubsan_handle_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_next_block+0x7e8): undefined reference to `__ubsan_handle_type_mismatch_v1'
mips-linux-ld: decompress.c:(.text.get_next_block+0x828): undefined reference to `__ubsan_handle_type_mismatch_v1'
mips-linux-ld: decompress.c:(.text.get_next_block+0x8b4): undefined reference to `__ubsan_handle_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_next_block+0x8f0): undefined reference to `__ubsan_handle_type_mismatch_v1'
mips-linux-ld: decompress.c:(.text.get_next_block+0x930): undefined reference to `__ubsan_handle_shift_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_next_block+0x95c): undefined reference to `__ubsan_handle_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_next_block+0x980): undefined reference to `__ubsan_handle_type_mismatch_v1'
mips-linux-ld: decompress.c:(.text.get_next_block+0x9e0): undefined reference to `__ubsan_handle_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_next_block+0xa14): undefined reference to `__ubsan_handle_type_mismatch_v1'
mips-linux-ld: decompress.c:(.text.get_next_block+0xbf8): undefined reference to `__ubsan_handle_shift_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_next_block+0xc18): undefined reference to `__ubsan_handle_shift_out_of_bounds'
mips-linux-ld: decompress.c:(.text.get_next_block+0xcb4): undefined reference to `__ubsan_handle_shift_out_of_bounds'
mips-linux-ld: arch/mips/boot/compressed/decompress.o: in function `decompress_kernel':
decompress.c:(.text.decompress_kernel+0x108): undefined reference to `__ubsan_handle_out_of_bounds'
>> mips-linux-ld: decompress.c:(.text.decompress_kernel+0x21c): undefined reference to `__ubsan_handle_out_of_bounds'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2020-12-05 10:30    [W:0.036 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site