lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202209082025.QtFc63hS-lkp@intel.com>
Date:   Thu, 8 Sep 2022 20:32:41 +0800
From:   kernel test robot <lkp@...el.com>
To:     Kefeng Wang <wangkefeng.wang@...wei.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org,
        Catalin Marinas <catalin.marinas@....com>
Subject: ld.lld: error: undefined symbol: __tsan_memcpy

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0066f1b0e27556381402db3ff31f85d2a2265858
commit: dd03762ab608e058c8f390ad9cf667e490089796 arm64: Enable KCSAN
date:   9 months ago
config: arm64-randconfig-r031-20220908
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project c55b41d5199d2394dd6cdb8f52180d8b81d809d4)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dd03762ab608e058c8f390ad9cf667e490089796
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout dd03762ab608e058c8f390ad9cf667e490089796
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: __tsan_memcpy
   >>> referenced by main.c
   >>>               main.o:(do_one_initcall) in archive init/built-in.a
   >>> referenced by main.c
   >>>               main.o:(setup_command_line) in archive init/built-in.a
   >>> referenced by initramfs.c
   >>>               initramfs.o:(panic_show_mem) in archive init/built-in.a
   >>> referenced 4283 more times
--
>> ld.lld: error: undefined symbol: __tsan_memset
   >>> referenced by main.c
   >>>               main.o:(init_setup) in archive init/built-in.a
   >>> referenced by main.c
   >>>               main.o:(rdinit_setup) in archive init/built-in.a
   >>> referenced by do_mounts_rd.c
   >>>               do_mounts_rd.o:(identify_ramdisk_image) in archive init/built-in.a
   >>> referenced 6155 more times
--
>> ld.lld: error: undefined symbol: __tsan_memmove
   >>> referenced by main.c
   >>>               main.o:(repair_env_string) in archive init/built-in.a
   >>> referenced by range.c
   >>>               range.o:(add_range_with_merge) in archive kernel/built-in.a
   >>> referenced by printk.c
   >>>               printk/printk.o:(vprintk_store) in archive kernel/built-in.a
   >>> referenced 252 more times

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (209847 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ