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: <202210050714.u9gnp2UF-lkp@intel.com>
Date:   Wed, 5 Oct 2022 07:40:04 +0800
From:   kernel test robot <lkp@...el.com>
To:     Alan Maguire <alan.maguire@...cle.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Alexei Starovoitov <ast@...nel.org>
Subject: s390x-linux-ld: kallsyms.c:undefined reference to `__tsan_memcpy'

Hi Alan,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0326074ff4652329f2a1a9c8685104576bd8d131
commit: 647cafa22349026a8435030e9157074ab7fe5710 bpf: add a ksym BPF iterator
date:   3 months ago
config: s390-randconfig-r021-20221002
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
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 s390 cross compiling tool for clang build
        # apt-get install binutils-s390x-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=647cafa22349026a8435030e9157074ab7fe5710
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 647cafa22349026a8435030e9157074ab7fe5710
        # 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=s390 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 >>):

   timekeeping.c:(.text+0x29ec): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/time/timekeeping.o: in function `timekeeping_update':
   timekeeping.c:(.text+0x2cb8): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/time/timekeeping.o: in function `timekeeping_inject_offset':
   timekeeping.c:(.text+0x3108): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/time/timekeeping.o: in function `read_persistent_clock64':
   timekeeping.c:(.text+0x3a98): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/time/timekeeping.o: in function `timekeeping_resume':
   timekeeping.c:(.text+0x4120): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: timekeeping.c:(.text+0x4208): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/time/timekeeping.o: in function `timekeeping_suspend':
   timekeeping.c:(.text+0x4660): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: timekeeping.c:(.text+0x4694): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: timekeeping.c:(.text+0x473e): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/time/timekeeping.o:timekeeping.c:(.text+0x4d70): more undefined references to `__tsan_memcpy' follow
   s390x-linux-ld: kernel/time/timekeeping.o: in function `do_adjtimex':
   timekeeping.c:(.text+0x5ba0): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/time/timekeeping.o: in function `update_fast_timekeeper':
   timekeeping.c:(.text+0x6262): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: timekeeping.c:(.text+0x629a): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/time/timekeeping.o: in function `read_persistent_wall_and_boot_offset':
   timekeeping.c:(.init.text+0x52): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/time/timekeeping.o: in function `timekeeping_init':
   timekeeping.c:(.init.text+0x148): undefined reference to `__tsan_memset'
   s390x-linux-ld: timekeeping.c:(.init.text+0x19e): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/time/ntp.o: in function `ntp_clear':
   ntp.c:(.text+0x19c): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/time/ntp.o: in function `second_overflow':
   ntp.c:(.text+0x692): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/time/ntp.o: in function `__hardpps':
   ntp.c:(.text+0x16ee): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: ntp.c:(.text+0x1a1e): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: ntp.c:(.text+0x1c18): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/time/ntp.o: in function `ntp_init':
   ntp.c:(.init.text+0x210): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/time/clocksource.o: in function `sysfs_get_uname':
   clocksource.c:(.text+0xf10): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/time/clocksource.o: in function `current_clocksource_store':
   clocksource.c:(.text+0x1284): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/time/clocksource.o: in function `unbind_clocksource_store':
   clocksource.c:(.text+0x133e): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/time/clocksource.o: in function `boot_override_clocksource':
   clocksource.c:(.init.text+0x148): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/time/jiffies.o: in function `register_refined_jiffies':
   jiffies.c:(.text+0x3a): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/time/alarmtimer.o:alarmtimer.c:(.text+0x14a6): more undefined references to `__tsan_memcpy' follow
   s390x-linux-ld: kernel/time/alarmtimer.o: in function `alarmtimer_init':
   alarmtimer.c:(.init.text+0xae): undefined reference to `__tsan_memset'
   s390x-linux-ld: alarmtimer.c:(.init.text+0xdc): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/time/posix-stubs.o: in function `do_clock_gettime':
   posix-stubs.c:(.text+0x188): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/time/tick-sched.o: in function `tick_cancel_sched_timer':
   tick-sched.c:(.text+0x52a): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/time/test_udelay.o: in function `udelay_test_write':
   test_udelay.c:(.text+0x13a): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/futex/core.o: in function `exit_pi_state_list':
   core.c:(.text+0x1858): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/futex/syscalls.o: in function `__se_sys_futex_waitv':
   syscalls.c:(.text+0x91e): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: syscalls.c:(.text+0x976): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/futex/pi.o: in function `refill_pi_state_cache':
   pi.c:(.text+0xcc): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/futex/pi.o: in function `futex_lock_pi_atomic':
   pi.c:(.text+0x790): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: pi.c:(.text+0x940): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/futex/pi.o: in function `futex_lock_pi':
   pi.c:(.text+0xf90): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: pi.c:(.text+0x1144): undefined reference to `__tsan_memset'
   s390x-linux-ld: pi.c:(.text+0x13c0): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/futex/pi.o: in function `futex_unlock_pi':
   pi.c:(.text+0x146c): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/futex/requeue.o: in function `futex_requeue':
   requeue.c:(.text+0x40): undefined reference to `__tsan_memset'
   s390x-linux-ld: requeue.c:(.text+0x52): undefined reference to `__tsan_memset'
   s390x-linux-ld: requeue.c:(.text+0x6ac): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: requeue.c:(.text+0xa48): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: requeue.c:(.text+0xc22): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: requeue.c:(.text+0xcea): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/futex/requeue.o: in function `futex_wait_requeue_pi':
   requeue.c:(.text+0xf32): undefined reference to `__tsan_memset'
   s390x-linux-ld: requeue.c:(.text+0xf46): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: requeue.c:(.text+0xfa8): undefined reference to `__tsan_memset'
   s390x-linux-ld: requeue.c:(.text+0x1316): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/futex/waitwake.o: in function `futex_wake':
   waitwake.c:(.text+0x138): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/futex/waitwake.o: in function `futex_wake_op':
   waitwake.c:(.text+0x33a): undefined reference to `__tsan_memset'
   s390x-linux-ld: waitwake.c:(.text+0x34c): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/futex/waitwake.o: in function `futex_wait':
   waitwake.c:(.text+0x1230): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/smp.o: in function `smp_call_function_single':
   smp.c:(.text+0x792): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/smp.o: in function `smp_call_function_many_cond':
   smp.c:(.text+0x1104): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/smp.o: in function `smp_call_on_cpu':
   smp.c:(.text+0x18a0): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/kallsyms.o: in function `bpf_iter_ksym_init':
   kallsyms.c:(.text+0x1036): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/kallsyms.o: in function `update_iter':
   kallsyms.c:(.text+0x1460): undefined reference to `__tsan_memcpy'
>> s390x-linux-ld: kallsyms.c:(.text+0x1492): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kallsyms.c:(.text+0x157c): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/acct.o: in function `__se_sys_acct':
   acct.c:(.text+0x30a): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/acct.o: in function `do_acct_process':
   acct.c:(.text+0x112e): undefined reference to `__tsan_memset'
   s390x-linux-ld: acct.c:(.text+0x1166): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/crash_core.o: in function `append_elf_note':
   crash_core.c:(.text+0x78): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: crash_core.c:(.text+0xa8): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/crash_core.o: in function `final_note':
   crash_core.c:(.text+0xfa): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/crash_core.o: in function `crash_update_vmcoreinfo_safecopy':
   crash_core.c:(.text+0x162): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/crash_core.o: in function `crash_save_vmcoreinfo':
   crash_core.c:(.text+0x25a): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/crash_core.o: in function `vmcoreinfo_append_str':
   crash_core.c:(.text+0x32c): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/crash_core.o: in function `crash_save_vmcoreinfo_init':
   crash_core.c:(.init.text+0x8f6): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/kexec_core.o: in function `kimage_load_segment':
   kexec_core.c:(.text+0x127a): undefined reference to `__tsan_memset'
   s390x-linux-ld: kexec_core.c:(.text+0x1336): undefined reference to `__tsan_memset'
   s390x-linux-ld: kexec_core.c:(.text+0x1354): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kexec_core.c:(.text+0x14aa): undefined reference to `__tsan_memset'
   s390x-linux-ld: kexec_core.c:(.text+0x1530): undefined reference to `__tsan_memset'
   s390x-linux-ld: kexec_core.c:(.text+0x154c): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/kexec_core.o: in function `kimage_alloc_pages':
   kexec_core.c:(.text+0x1d0c): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/kexec.o: in function `__se_sys_kexec_load':
   kexec.c:(.text+0x18e): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/kexec_file.o: in function `kexec_load_purgatory':
   kexec_file.c:(.text+0x16e8): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kexec_file.c:(.text+0x1928): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/kexec_file.o: in function `kexec_purgatory_get_set_symbol':
   kexec_file.c:(.text+0x1e92): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/kexec_file.o: in function `crash_exclude_mem_range':
   kexec_file.c:(.text+0x1f9c): undefined reference to `__tsan_memset'
   s390x-linux-ld: kexec_file.c:(.text+0x2108): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/stop_machine.o: in function `stop_one_cpu':
   stop_machine.c:(.text+0xf2): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/stop_machine.o: in function `cpu_stop_init_done':
   stop_machine.c:(.text+0x1a6): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/stop_machine.o: in function `stop_two_cpus':
   stop_machine.c:(.text+0x48c): undefined reference to `__tsan_memset'
   s390x-linux-ld: stop_machine.c:(.text+0x4c0): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/stop_machine.o: in function `stop_one_cpu_nowait':
   stop_machine.c:(.text+0xa86): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/stop_machine.o: in function `cpu_stopper_thread':
   stop_machine.c:(.text+0x140e): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/audit.o: in function `audit_send_list_thread':
   audit.c:(.text+0x5dc): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/audit.o: in function `audit_make_reply':
   audit.c:(.text+0x938): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/audit.o: in function `audit_log_start':
   audit.c:(.text+0xc38): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/audit.o: in function `audit_log_n_string':
   audit.c:(.text+0x1728): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/audit.o: in function `audit_receive':
   audit.c:(.text+0x34ea): undefined reference to `__tsan_memset'
   s390x-linux-ld: audit.c:(.text+0x3506): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: audit.c:(.text+0x3af8): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: audit.c:(.text+0x3f00): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: audit.c:(.text+0x48c8): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/audit.o: in function `audit_net_init':
   audit.c:(.init.text+0x566): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/auditfilter.o: in function `audit_unpack_string':
   auditfilter.c:(.text+0x1ea): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/auditfilter.o: in function `audit_dupe_rule':
   auditfilter.c:(.text+0x3ec): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: auditfilter.c:(.text+0x4b4): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/auditfilter.o: in function `audit_data_to_entry':
   auditfilter.c:(.text+0x14a2): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/auditfilter.o:auditfilter.c:(.text+0x18b2): more undefined references to `__tsan_memcpy' follow
   s390x-linux-ld: kernel/auditfilter.o: in function `audit_list_rules_send':
   auditfilter.c:(.text+0x243c): undefined reference to `__tsan_memset'
   s390x-linux-ld: auditfilter.c:(.text+0x2710): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: auditfilter.c:(.text+0x279e): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: auditfilter.c:(.text+0x27c8): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/auditsc.o: in function `audit_log_exit':
   auditsc.c:(.text+0x1348): undefined reference to `__tsan_memmove'
   s390x-linux-ld: kernel/auditsc.o: in function `audit_reset_context':
   auditsc.c:(.text+0x2dcc): undefined reference to `__tsan_memset'
   s390x-linux-ld: auditsc.c:(.text+0x2dfc): undefined reference to `__tsan_memset'
   s390x-linux-ld: auditsc.c:(.text+0x2ef6): undefined reference to `__tsan_memset'
   s390x-linux-ld: auditsc.c:(.text+0x3030): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/auditsc.o: in function `audit_alloc_name':
   auditsc.c:(.text+0x361e): undefined reference to `__tsan_memset'
   s390x-linux-ld: auditsc.c:(.text+0x371e): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/auditsc.o: in function `__audit_mq_open':
   auditsc.c:(.text+0x4f86): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: auditsc.c:(.text+0x4f98): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/auditsc.o: in function `__audit_mq_sendrecv':
   auditsc.c:(.text+0x5038): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: auditsc.c:(.text+0x504a): undefined reference to `__tsan_memset'
   s390x-linux-ld: kernel/auditsc.o: in function `__audit_mq_getsetattr':
   auditsc.c:(.text+0x5196): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/auditsc.o: in function `__audit_socketcall':
   auditsc.c:(.text+0x5446): undefined reference to `__tsan_memcpy'
   s390x-linux-ld: kernel/auditsc.o: in function `__audit_sockaddr':
   auditsc.c:(.text+0x5584): undefined reference to `__tsan_memcpy'

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ