On Fri, Jan 18, 2008 at 12:21:52AM -0800, Andrew Morton wrote: > On Fri, 18 Jan 2008 14:59:32 +0800 "Dave Young" <[EMAIL PROTECTED]> wrote: > > > On Jan 18, 2008 2:40 PM, Tetsuo Handa > > <[EMAIL PROTECTED]> wrote: > > > Hello. > > > > > > Andrew Morton wrote: > > > > It could be compiler version dependent. I used gcc-4.1.0. Which > > > > version > > > > were you and Zan using please? > > > > I have the same problem, gcc 3.4.6 > > > > > > > > I'm using gcc 3.3.5 on Debian/Sarge . > > > > > > By the way, 2.6.24-rc8-mm1 doesn't hang with a kernel config > > > > > > # make -s allnoconfig > > > # make -s menuconfig > > > > > > Set [*] to all entries in "Kernel hacking --->" section > > > (except "KGDB: kernel debugging with remote gdb"). > > > > > > # make -s && make -s install > > The only machine I have with gcc-3.x takes an amazing amount of time to > compile a quite minimal kernel then barfs in headers_install with > > CHK include/linux/version.h > make[1]: `scripts/unifdef' is up to date. > make[1]: *** No rule to make target `|', needed by `asm-generic'. Stop. > > which is a mainline bug, too. ISTR someone else reported it but I don't > recall it getting fixed.
I know about this bug and I plan to fix it one day. I have not considered it important because the bug is only triggered by following connditions: 1) In kernel hacking the check headers options is selected 2) make is older than version 3.80 Documentation/changes do not require us to use make 3.80. > I think I'll give up on this. Either someone else fixes it or we merge the > bug into mainline. One way to fix this is to disable the config option like this. Sam [PATCH] kbuild: disable headers_check The headers_check command requires make version 3.80 due to use of ordered dependencies. But kernel build does otherwise not require this recent make. Disable the option until it get properly fixed. Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> --- diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index a601093..98b2431 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -67,7 +67,7 @@ config DEBUG_FS config HEADERS_CHECK bool "Run 'make headers_check' when building vmlinux" - depends on !UML + depends on !UML || BROKEN help This option will extract the user-visible kernel headers whenever building the kernel, and will run basic sanity checks on them to -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/