All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: ld.lld: error: undefined symbol: __ubsan_handle_load_invalid_value
Date: Fri, 10 Jul 2020 20:09:19 +0800	[thread overview]
Message-ID: <202007102015.bAwq22ea%lkp@intel.com> (raw)

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

CC: linux-kernel(a)vger.kernel.org
TO: Kees Cook <keescook@chromium.org>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Linux Memory Management List <linux-mm@kvack.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   42f82040ee66db13525dc6f14b8559890b2f4c1c
commit: 8d58f222e85f01da0c0e1fc1e77986c86de889e2 ubsan: disable UBSAN_ALIGNMENT under COMPILE_TEST
date:   9 weeks ago
config: mips-randconfig-r022-20200710 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 02946de3802d3bc65bc9f2eb9b8d4969b5a7add8)
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
        # install mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        git checkout 8d58f222e85f01da0c0e1fc1e77986c86de889e2
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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 >>):

>> ld.lld: error: undefined symbol: __ubsan_handle_load_invalid_value
   >>> referenced by xz_dec_stream.c:775 (arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:775)
   >>> arch/mips/boot/compressed/decompress.o:(decompress_kernel)
   >>> referenced by xz_dec_lzma2.c:979 (arch/mips/boot/compressed/../../../../lib/xz/xz_dec_lzma2.c:979)
   >>> arch/mips/boot/compressed/decompress.o:(xz_dec_lzma2_run)
   >>> referenced by xz_dec_lzma2.c:997 (arch/mips/boot/compressed/../../../../lib/xz/xz_dec_lzma2.c:997)
   >>> arch/mips/boot/compressed/decompress.o:(xz_dec_lzma2_run)
--
>> ld.lld: error: undefined symbol: __ubsan_handle_out_of_bounds
   >>> referenced by xz_dec_stream.c:539 (arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:539)
   >>> arch/mips/boot/compressed/decompress.o:(dec_main)
   >>> referenced by xz_dec_stream.c:459 (arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:459)
   >>> arch/mips/boot/compressed/decompress.o:(dec_main)
   >>> referenced by xz_dec_stream.c:522 (arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:522)
   >>> arch/mips/boot/compressed/decompress.o:(dec_main)
   >>> referenced 19 more times
--
>> ld.lld: error: undefined symbol: __ubsan_handle_shift_out_of_bounds
   >>> referenced by xz_dec_stream.c:352 (arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:352)
   >>> arch/mips/boot/compressed/decompress.o:(crc32_validate)
   >>> referenced by xz_dec_stream.c:187 (arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:187)
   >>> arch/mips/boot/compressed/decompress.o:(dec_vli)
   >>> referenced by xz_dec_lzma2.c:810 (arch/mips/boot/compressed/../../../../lib/xz/xz_dec_lzma2.c:810)
   >>> arch/mips/boot/compressed/decompress.o:(xz_dec_lzma2_run)
   >>> referenced 9 more times

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 24827 bytes --]

             reply	other threads:[~2020-07-10 12:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-10 12:09 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-12-28 10:26 ld.lld: error: undefined symbol: __ubsan_handle_load_invalid_value kernel test robot
2020-12-28 10:26 ` kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202007102015.bAwq22ea%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.