Subject: Re: build failure on sparc64 (Re: linux-next: Tree for October 27)

From: "Alexander Beregalov" <[email-masked]>
Date: Mon, 27 Oct 2008 19:43:24 +0400

2008/10/27 Alexander Beregalov <[email-masked]>:
> init/built-in.o: In function `start_kernel':
> /home/alexb/linux-2.6/init/main.c:648: undefined reference to `locking_selftest'
> kernel/built-in.o: In function `init_kprobes':
> /home/alexb/linux-2.6/kernel/kprobes.c:1106: undefined reference to
> `init_test_probes'
>

Hm, it was strange situation

`make image` runs oldconfig, after that config was the following:
CONFIG_KERNEL_TESTS disabled
CONFIG_DEBUG_LOCKING_API_SELFTESTS=y
CONFIG_KPROBES_SANITY_TEST=y

But they both are under "if KERNEL_TESTS" condition in test/Kconfig.
Strange, I can not reproduce it anymore