Skip to contentSkip to conversation

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

DISCUSSION Rob Landley 1 participant 1 message Dec 7, 2006

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
"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