This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/31840] New: race condition in makefiles
- From: "zadeck at naturalbridge dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2007 12:54:21 -0000
- Subject: [Bug bootstrap/31840] New: race condition in makefiles
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I have not tried this on a single core, but on 2 or more core machines, a
bootstrap will fail if you issue the following commands:
make clean
make -j4
This assumes that the bootstrap has been built at least once before the make
clean. When it fails, it can be restarted with make -j4 and it will most times
run to conclusion. Builds also sometimes fail going from one stage to the
next, but this may be the same problem.
I know that this fails in at r124381 and has been doing this for at least a
week or so.
I have not tried this on a single core machine, i do not use higher than j2 on
those and the problem does not seem to arise with j1 or j2.
my configure string is generally --enable-languages=c,c++,fortran
--disable-multilib (if appropriate)
--
Summary: race condition in makefiles
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zadeck at naturalbridge dot com
GCC build triplet: same
GCC host triplet: ppc, x86-64, ia-32 on linux
GCC target triplet: same
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31840