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>] [day] [month] [year] [list]
Date:   Sun, 5 Jun 2022 06:20:36 +0800
From:   kernel test robot <lkp@...el.com>
To:     Frederic Weisbecker <frederic@...nel.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [frederic-dynticks:rcu/context-tracking-v4 9/20] ld.lld: error:
 undefined symbol: ct_irq_enter

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git rcu/context-tracking-v4
head:   77493b1db618c61dec140cbab830832f77203d69
commit: ede17b80373d0c3e886b3b4d9533f6c12cf1e799 [9/20] context_tracking: Take IRQ eqs entrypoints over RCU
config: x86_64-randconfig-a001 (https://download.01.org/0day-ci/archive/20220605/202206050636.tuRU0MhR-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0a90b72c432d70aae035727ece4ba80ce820f381)
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/frederic/linux-dynticks.git/commit/?id=ede17b80373d0c3e886b3b4d9533f6c12cf1e799
        git remote add frederic-dynticks https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
        git fetch --no-tags frederic-dynticks rcu/context-tracking-v4
        git checkout ede17b80373d0c3e886b3b4d9533f6c12cf1e799
        # 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=x86_64 SHELL=/bin/bash

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

All error/warnings (new ones prefixed by >>):

   vmlinux.o: warning: objtool: do_syscall_64()+0x1a: call to static_key_count() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_int80_syscall_32()+0x26: call to static_key_count() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __do_fast_syscall_32()+0x28: call to static_key_count() leaves .noinstr.text section
   vmlinux.o: warning: objtool: fixup_bad_iret()+0x21: call to memset() leaves .noinstr.text section
   vmlinux.o: warning: objtool: in_task_stack()+0xc: call to task_stack_page() leaves .noinstr.text section
   vmlinux.o: warning: objtool: in_entry_stack()+0x9: call to cpu_entry_stack() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: irqentry_exit()+0x65: call to ct_irq_exit() leaves .noinstr.text section
>> ld.lld: error: undefined symbol: ct_irq_enter
   >>> referenced by softirq.c
   >>> softirq.o:(irq_enter) in archive kernel/built-in.a
--
>> ld.lld: error: undefined symbol: ct_irq_exit
   >>> referenced by softirq.c
   >>> softirq.o:(irq_exit) in archive kernel/built-in.a
   >>> referenced by common.c
   >>> entry/common.o:(irqentry_exit) in archive kernel/built-in.a
   >>> referenced by common.c
   >>> entry/common.o:(irqentry_exit) in archive kernel/built-in.a
--
>> ld.lld: error: undefined symbol: ct_irq_enter_irqson
   >>> referenced by printk.c
   >>> printk/printk.o:(console_unlock) in archive kernel/built-in.a
   >>> referenced by tick-broadcast-hrtimer.c
   >>> time/tick-broadcast-hrtimer.o:(bc_set_next) in archive kernel/built-in.a
   >>> referenced by trace_preemptirq.c
   >>> trace/trace_preemptirq.o:(trace_hardirqs_on) in archive kernel/built-in.a
   >>> referenced 19 more times
--
>> ld.lld: error: undefined symbol: ct_irq_exit_irqson
   >>> referenced by printk.c
   >>> printk/printk.o:(console_unlock) in archive kernel/built-in.a
   >>> referenced by tick-broadcast-hrtimer.c
   >>> time/tick-broadcast-hrtimer.o:(bc_set_next) in archive kernel/built-in.a
   >>> referenced by trace_preemptirq.c
   >>> trace/trace_preemptirq.o:(trace_hardirqs_on) in archive kernel/built-in.a
   >>> referenced 19 more times

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ