linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kees Cook <keescook@chromium.org>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: ld.lld: error: undefined symbol: __ubsan_handle_load_invalid_value
Date: Mon, 28 Dec 2020 18:26:35 +0800	[thread overview]
Message-ID: <202012281828.qKLwn7gE-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   5c8fe583cce542aa0b84adc939ce85293de36e5e
commit: c637693b20da8706b7f48d96882c9c80ae935151 ubsan: remove UBSAN_MISC in favor of individual options
date:   12 days ago
config: mips-randconfig-r005-20201227 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project cee1e7d14f4628d6174b33640d502bff3b54ae45)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c637693b20da8706b7f48d96882c9c80ae935151
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout c637693b20da8706b7f48d96882c9c80ae935151
        # 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 error/warnings (new ones prefixed by >>, old ones prefixed by <<):

>> WARNING: modpost: vmlinux.o(.text+0x27da8): Section mismatch in reference from the function r4k_cache_init() to the function .init.text:loongson2_sc_init()
The function r4k_cache_init() references
the function __init loongson2_sc_init().
This is often because r4k_cache_init lacks a __init
annotation or the annotation of loongson2_sc_init is wrong.
--
>> ld.lld: error: undefined symbol: __ubsan_handle_load_invalid_value
>>> referenced by decompress.c
>>> arch/mips/boot/compressed/decompress.o:(decompress_kernel)
>>> referenced by decompress.c
>>> arch/mips/boot/compressed/decompress.o:(xz_dec_lzma2_run)
>>> referenced by decompress.c
>>> arch/mips/boot/compressed/decompress.o:(xz_dec_lzma2_run)
--
>> ld.lld: error: undefined symbol: __ubsan_handle_out_of_bounds
>>> referenced by decompress.c
>>> arch/mips/boot/compressed/decompress.o:(dec_main)
>>> referenced by decompress.c
>>> arch/mips/boot/compressed/decompress.o:(dec_main)
>>> referenced by decompress.c
>>> 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 decompress.c
>>> arch/mips/boot/compressed/decompress.o:(crc32_validate)
>>> referenced by decompress.c
>>> arch/mips/boot/compressed/decompress.o:(dec_vli)
>>> referenced by decompress.c
>>> 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@lists.01.org

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

                 reply	other threads:[~2020-12-28 10:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202012281828.qKLwn7gE-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=clang-built-linux@googlegroups.com \
    --cc=kbuild-all@lists.01.org \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox