2.6.19 build hangs while running git for no reason...

From: Rob Landley
Date: Thu Dec 07 2006 - 12:36:09 EST


Right at the start of the build:

scripts/kconfig/conf -s arch/arm/Kconfig
CHK include/linux/version.h
SYMLINK include/asm-arm/arch -> include/asm-arm/arch-integrator
Generating include/asm-arm/mach-types.h

CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h

Where there's a one line gap the build hangs for five minutes (eating no CPU,
blocked one something). I hit "enter" and it resumes again. It does this
reproducibly for me.

It seems to be blocked running:
6983 pts/3 S+ 0:00 /bin/sh /usr/bin/git rev-parse --verify HEAD

Which is odd because this is the release version and hasn't got .git stuff in
it. I did an "rm /usr/bin/git" (I don't use it, I dunno why ubuntu decided
to install it) and the hang went away. Why is the build even _calling_ git
on a release version?

The invocation was:
make ARCH="${KARCH}" CROSS_COMPILE="${CROSS_TARGET}"- &&

Where KARCH=arm and CROSS_TARGET is a cross compile toolchain that built a
working copy of uClibc.

Rob
--
"Perfection is reached, not when there is no longer anything to add, but
when there is no longer anything to take away." - Antoine de Saint-Exupery
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/