The patch titled Subject: kgdb: depends on VT has been added to the -mm tree. Its filename is kgdb-depends-on-vt.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/kgdb-depends-on-vt.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/kgdb-depends-on-vt.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Jiri Slaby <jslaby@xxxxxxx> Subject: kgdb: depends on VT With VT=n, the kernel build fails with: drivers/built-in.o: In function `kgdboc_pre_exp_handler': kgdboc.c:(.text+0x7b5aa): undefined reference to `fg_console' kgdboc.c:(.text+0x7b5ce): undefined reference to `vc_cons' kgdboc.c:(.text+0x7b5d5): undefined reference to `vc_cons' kgdboc.o is built when KGDB_SERIAL_CONSOLE is set. So make KGDB_SERIAL_CONSOLE depend on HW_CONSOLE which includes those symbols. Link: http://lkml.kernel.org/r/1459412955-4696-1-git-send-email-jslaby@xxxxxxx Signed-off-by: Jiri Slaby <jslaby@xxxxxxx> Reported-by: "Jim Davis" <jim.epost@xxxxxxxxx> Acked-by: Jason Wessel <jason.wessel@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/Kconfig.kgdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN lib/Kconfig.kgdb~kgdb-depends-on-vt lib/Kconfig.kgdb --- a/lib/Kconfig.kgdb~kgdb-depends-on-vt +++ a/lib/Kconfig.kgdb @@ -22,7 +22,7 @@ config KGDB_SERIAL_CONSOLE tristate "KGDB: use kgdb over the serial console" select CONSOLE_POLL select MAGIC_SYSRQ - depends on TTY + depends on TTY && HW_CONSOLE default y help Share a serial console with kgdb. Sysrq-g must be used _ Patches currently in -mm which might be from jslaby@xxxxxxx are mn10300-let-exit_fpu-accept-a-task.patch exit_thread-remove-empty-bodies.patch exit_thread-accept-a-task-parameter-to-be-exited.patch fork-free-thread-in-copy_process-on-failure.patch maintainers-remove-linux-listsopenriscnet.patch kgdb-depends-on-vt.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html