Skip to contentSkip to conversation

2.6.8.1-mm1: parallel make doesn't.

DISCUSSION Rusty Russell 2 participants 2 messages Aug 18, 2004 Kbuild

lore
Share & tools
lore
#0 lore raw

Need to make the first few files without -j, othewise it barfs. This is a regression over 2.6.8.1 (sorry, don't know when it crept into the -mm tree). .config attached in case it matters.

cd ~/devel/kernel/.28758-linux-2.6.8.1-mm1.updated/ make -j5
CHK include/linux/version.h
SYMLINK include/asm -> include/asm-i386
UPD include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
make: *** No rule to make target .tmp_kallsyms2.S', needed by .tmp_kallsyms2.o'. Stop.
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....

Compilation exited abnormally with code 2 at Wed Aug 18 09:54:47

Signature · 1 line
Anyone who quotes me in their signature is an idiot -- Rusty Russell
#1 lore raw
Quoted 7 lines · Rusty Russell

Need to make the first few files without -j, othewise it barfs. This is a regression over 2.6.8.1 (sorry, don't know when it crept into the -mm tree). .config attached in case it matters.
cd ~/devel/kernel/.28758-linux-2.6.8.1-mm1.updated/
make -j5
CHK include/linux/version.h
SYMLINK include/asm -> include/asm-i386

Quoted 8 lines

UPD include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
make: *** No rule to make target .tmp_kallsyms2.S', needed by .tmp_kallsyms2.o'. Stop.
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
Compilation exited abnormally with code 2 at Wed Aug 18 09:54:47

Sam Ravnborg already posted a fix. Yes, the semicolon is necessary.

Makefile +2 -0
Index: mm1-2.6.8.1/Makefile
===================================================================
@@ -610,6 +610,8 @@
 .tmp_vmlinux3: $(vmlinux-objs) .tmp_kallsyms2.o arch/$(ARCH)/kernel/vmlinux.lds FORCE
 	$(call if_changed_rule,vmlinux__)
 
+$(KALLSYMS): scripts;
+
 endif
 
 # Finally the vmlinux rule