Bug 45118

Summary: No rule to make target `.deps/affinity.Plo'
Product: gcc Reporter: John David Anglin <danglin>
Component: bootstrapAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED WONTFIX    
Severity: normal CC: gcc-bugs, rwild
Priority: P3    
Version: 4.6.0   
Target Milestone: ---   
Host: i686-apple-darwin9 Target: i686-apple-darwin9
Build: i686-apple-darwin9 Known to work:
Known to fail: Last reconfirmed:

Description John David Anglin 2010-07-28 22:20:37 UTC
libtool: compile:  /Users/dave/gnu/gcc/objdir/./gcc/xgcc -B/Users/dave/gnu/gcc/o
bjdir/./gcc/ -B/opt/gnu/gcc/gcc-4.6.0/i686-apple-darwin9/bin/ -B/opt/gnu/gcc/gcc
-4.6.0/i686-apple-darwin9/lib/ -isystem /opt/gnu/gcc/gcc-4.6.0/i686-apple-darwin
9/include -isystem /opt/gnu/gcc/gcc-4.6.0/i686-apple-darwin9/sys-include -DHAVE_
CONFIG_H -I. -I../../../gcc/libgomp -I../../../gcc/libgomp/config/bsd -I../../..
/gcc/libgomp/config/posix -I../../../gcc/libgomp -Wall -pthread -Werror -g -O2 -
MT affinity.lo -MD -MP -MF .deps/affinity.Tpo -c ../../../gcc/libgomp/config/pos
ix/affinity.c -o affinity.o >/dev/null 2>&1
mv -f .deps/time.Tpo .deps/time.Plo
make  DO=all multi-do # make
mv -f .deps/bar.Tpo .deps/bar.Plo
/Users/dave/gnu/gcc/objdir/./gcc/gfortran -B/Users/dave/gnu/gcc/objdir/./gcc/ -B
/opt/gnu/gcc/gcc-4.6.0/i686-apple-darwin9/bin/ -B/opt/gnu/gcc/gcc-4.6.0/i686-app
le-darwin9/lib/ -isystem /opt/gnu/gcc/gcc-4.6.0/i686-apple-darwin9/include -isys
tem /opt/gnu/gcc/gcc-4.6.0/i686-apple-darwin9/sys-include    -g -O2 -Wall -fsynt
ax-only omp_lib.f90
mv -f .deps/affinity.Tpo .deps/affinity.Plo
make[6]: *** No rule to make target `.deps/affinity.Plo'.  Stop.
make[5]: *** [all-multi] Error 2
Comment 1 Ralf Wildenhues 2010-08-02 16:40:31 UTC
Is this a transient failure with parallel make, i.e., are you using parallel make, and does the failure go away with a serial make or another parallel make invocation?  Which -jN option do you pass?  Have you seen this failure happen more than once, and if yes, how likely can you reproduce it?

Please also show how you configured your build, and please also post the exact error lines spewed out by 'make' that you trimmed from the end.  They can give valuable clues as to whether some serialization is missing in the toplevel Makefile (should all-target-libgfortran depend on all-target-libgomp?)
Comment 2 dave 2010-08-02 17:18:23 UTC
Subject: Re:  No rule to make target
	`.deps/affinity.Plo'

On Mon, 02 Aug 2010, rwild at gcc dot gnu dot org wrote:

> Please also show how you configured your build, and please also post the exact
> error lines spewed out by 'make' that you trimmed from the end.  They can give
> valuable clues as to whether some serialization is missing in the toplevel
> Makefile (should all-target-libgfortran depend on all-target-libgomp?)

../gcc/configure --build=i686-apple-darwin9 --host=i686-apple-darwin9 --target=i
686-apple-darwin9 --with-tune=generic --prefix=/opt/gnu/gcc/gcc-4.6.0 --with-gmp
=/opt/gnu/gcc/gcc-4.6.0 --enable-debug=no --disable-nls --enable-languages="c,c+
+,objc,fortran,obj-c++,java,ada" --enable-threads=posix --enable-__cxa_atexit --
enable-java-gc=boehm

make -j 4 bootstrap &&

Trying to repeat.

Dave
Comment 3 John David Anglin 2010-08-07 17:42:29 UTC
I have been unable to duplicate in several subsequent builds.