[Linux-ia64] Parallel make

Ian Wienand
2003-05-14T03:38:23Z

When I try a parallel make, make seems to get it's dependencies out of
order.

For example, here's a make oldconfig ; make -j4 output on a fresh 2.5.69

ianw@tartufi:/usr/src/ianw/linux-2.5.69$ make -j4
make -f scripts/Makefile.build obj=scripts
gcc -Wp,-MD,scripts/.empty.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -g -O2 -fno-strict-aliasing -fno-common -pipe -ffixed-r13 -mfixed-rangeñ0-f15,f32-f127 -falign-functions2 -fomit-frame-pointer -nostdinc -iwithprefix include -mconstant-gp -DKBUILD_BASENAME=empty
-DKBUILD_MODNAME=empty -c -o scripts/empty.o scripts/empty.c
scripts/mk_elfconfig ia64 < scripts/empty.o > scripts/elfconfig.h
gcc -Wp,-MD,scripts/.file2alias.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o scripts/file2alias.o scripts/file2alias.c
gcc -Wp,-MD,scripts/.modpost.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o scripts/modpost.o scripts/modpost.c
gcc -o scripts/modpost scripts/modpost.o scripts/file2alias.o
SPLIT include/linux/autoconf.h -> include/config/*
gcc -E -Wp,-MD,arch/ia64/.vmlinux.lds.s.d -D__ASSEMBLY__ -D__KERNEL__ -Iinclude -mconstant-gp -nostdinc -iwithprefix include -P -C -Uia64 -o arch/ia64/vmlinux.lds.s arch/ia64/vmlinux.lds.S
In file included from arch/ia64/vmlinux.lds.S:4:
include/asm/ptrace.h:56:25: asm/offsets.h: No such file or directory
make: *** [arch/ia64/vmlinux.lds.s] Error 1
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....

At first I thought it might be because the all target depends on
vmlinux, but this isn't it. Currently I'm stumped. 'Single' make works
fine, and if you run parallel make a few times eventually offsets.h
gets generated and the build continues on fine.

Is it just me?

-i
ianw@gelato.unsw.edu.au