[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-zile] Problems with parallel build
From: |
Reuben Thomas |
Subject: |
[Bug-zile] Problems with parallel build |
Date: |
Mon, 9 Jul 2012 01:35:15 +0100 |
When running "make prerelease", I get random errors like this:
CC src/undo.o
CC src/variables.o
CC src/window.o
CC src/memrmem.o
CC src/memrmem.o
CC src/astr.o
CC src/estr.o
mv: cannot stat `src/.deps/memrmem.Tpo': No such file or directory
It's always a problem with .Tpo files and, as here, it's always a file
that make is attempting to make twice at the same time, presumably
triggering a race condition. I can't see from the Makefile why it's
even trying to make the same dependency twice. memrmem is perhaps a
bad example, as it's a dependency of astr (the test program) as well
as of zile, but I've had the same problem with e.g. basic.o getting
built twice. src/basic.$(OBJEXT) is only listed once in Makefile.
I have:
$ echo $MAKEFLAGS
-j 4 -l 4.0
Any ideas?
--
http://rrt.sc3d.org
- [Bug-zile] Problems with parallel build,
Reuben Thomas <=