Re: [PATCH 1/2] kconfig: fix reverse dependency with tristate if-conditional

From: kbuild test robot
Date: Mon Nov 26 2018 - 03:52:59 EST


Hi Masahiro,

I love your patch! Yet something to improve:

[auto build test ERROR on masahiroy/kconfig]
[also build test ERROR on v4.20-rc4 next-20181123]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Masahiro-Yamada/kconfig-fix-reverse-dependency-with-tristate-if-conditional/20181126-152716
base: https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git kconfig
config: i386-randconfig-s3-201847 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

arch/x86/kernel/dumpstack.o: In function `touch_nmi_watchdog':
>> include/linux/nmi.h:135: undefined reference to `touch_softlockup_watchdog'
arch/x86/kernel/nmi.o: In function `touch_nmi_watchdog':
>> include/linux/nmi.h:135: undefined reference to `touch_softlockup_watchdog'
arch/x86/kernel/kvm.o: In function `kvm_guest_init':
>> arch/x86/kernel/kvm.c:664: undefined reference to `hardlockup_detector_disable'
arch/x86/kernel/pvclock.o: In function `pvclock_touch_watchdogs':
>> arch/x86/kernel/pvclock.c:52: undefined reference to `touch_softlockup_watchdog_sync'
kernel/panic.o: In function `touch_nmi_watchdog':
>> include/linux/nmi.h:135: undefined reference to `touch_softlockup_watchdog'
>> include/linux/nmi.h:135: undefined reference to `touch_softlockup_watchdog'
>> include/linux/nmi.h:135: undefined reference to `touch_softlockup_watchdog'
kernel/panic.o: In function `panic':
>> kernel/panic.c:300: undefined reference to `touch_softlockup_watchdog'
kernel/workqueue.o: In function `touch_nmi_watchdog':
>> include/linux/nmi.h:135: undefined reference to `touch_softlockup_watchdog'
kernel/workqueue.o:include/linux/nmi.h:135: more undefined references to `touch_softlockup_watchdog' follow
kernel/sched/core.o: In function `show_state_filter':
>> kernel/sched/core.c:5341: undefined reference to `touch_all_softlockup_watchdogs'
kernel/power/hibernate.o: In function `resume_target_kernel':
>> kernel/power/hibernate.c:480: undefined reference to `touch_softlockup_watchdog'
kernel/power/snapshot.o: In function `rtree_next_node':
>> kernel/power/snapshot.c:847: undefined reference to `touch_softlockup_watchdog'
kernel/printk/printk.o: In function `touch_nmi_watchdog':
>> include/linux/nmi.h:135: undefined reference to `touch_softlockup_watchdog'
kernel/time/timekeeping.o: In function `timekeeping_resume':
>> kernel/time/timekeeping.c:1731: undefined reference to `touch_softlockup_watchdog'
kernel/time/timer_list.o: In function `touch_nmi_watchdog':
>> include/linux/nmi.h:135: undefined reference to `touch_softlockup_watchdog'
kernel/time/timer_list.o:include/linux/nmi.h:135: more undefined references to `touch_softlockup_watchdog' follow
drivers/tty/serial/earlycon.o: In function `parse_options':
>> drivers/tty/serial/earlycon.c:94: undefined reference to `uart_parse_earlycon'
drivers/tty/serial/8250/8250_core.o: In function `univ8250_console_match':
>> drivers/tty/serial/8250/8250_core.c:640: undefined reference to `uart_parse_earlycon'
drivers/tty/serial/8250/8250_core.o: In function `serial8250_suspend':
>> drivers/tty/serial/8250/8250_core.c:865: undefined reference to `uart_suspend_port'
drivers/tty/serial/8250/8250_core.o: In function `serial8250_find_match_or_unused':
>> drivers/tty/serial/8250/8250_core.c:916: undefined reference to `uart_match_port'
drivers/tty/serial/8250/8250_core.o: In function `serial8250_register_8250_port':
>> drivers/tty/serial/8250/8250_core.c:971: undefined reference to `uart_remove_one_port'

vim +135 include/linux/nmi.h

6592ad2f Thomas Gleixner 2017-09-12 124
^1da177e Linus Torvalds 2005-04-16 125 /**
^1da177e Linus Torvalds 2005-04-16 126 * touch_nmi_watchdog - restart NMI watchdog timeout.
^1da177e Linus Torvalds 2005-04-16 127 *
^1da177e Linus Torvalds 2005-04-16 128 * If the architecture supports the NMI watchdog, touch_nmi_watchdog()
^1da177e Linus Torvalds 2005-04-16 129 * may be used to reset the timeout - for code which intentionally
^1da177e Linus Torvalds 2005-04-16 130 * disables interrupts for a long time. This call is stateless.
^1da177e Linus Torvalds 2005-04-16 131 */
5d0e600d Ingo Molnar 2007-02-13 132 static inline void touch_nmi_watchdog(void)
5d0e600d Ingo Molnar 2007-02-13 133 {
f2e0cff8 Nicholas Piggin 2017-07-12 134 arch_touch_nmi_watchdog();
5d0e600d Ingo Molnar 2007-02-13 @135 touch_softlockup_watchdog();
5d0e600d Ingo Molnar 2007-02-13 136 }
6e7458a6 Ulrich Obergfell 2014-10-13 137

:::::: The code at line 135 was first introduced by commit
:::::: 5d0e600d903caa09e790824cc5812f0d97113b23 [PATCH] x86: fix laptop bootup hang in init_acpi()

:::::: TO: Ingo Molnar <mingo@xxxxxxx>
:::::: CC: Andi Kleen <andi@xxxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip