Re: [2.2] make -j dep fails

Ron Flory (ron.flory@adtran.com)
Thu, 13 Jan 2000 16:20:07 -0600


Matthias Andree wrote:
>
> make -j dep fails here (2.2.14 + openwall patch + reiserfs 3.5.16):
>
> emma@emma1:/usr/src/linux > time ( make -j 5 dep && make -j 5 bzImage && make -j 5 modules )
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c
> make[1]: Entering directory `/usr/src/linux-2.2.14-rfs-ow1-b/arch/i386/boot'
> make[1]: Nothing to be done for `dep'.
> make[1]: Leaving directory `/usr/src/linux-2.2.14-rfs-ow1-b/arch/i386/boot'
> make: *** No rule to make target `/usr/src/linux/include/linux/modversions.h', needed by `dep'. Stop.
>
> There seems to be some race when using parallel build.

Yeah, I reported this a few months ago. modversions is built is a
screwy way, and is NOT 'make -jn' safe, which means the 'dep' target
must NOT have -jn option on make.

parallel compiles with make dep really doesn't give much benefit,
compared to the default target, so there's not much loss here....

make -jn bzImage is OK though, which is the only place we really
benefit from -jn.

bye-

ron

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/