From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19001 invoked by alias); 16 Oct 2007 12:55:12 -0000 Received: (qmail 18819 invoked by uid 48); 16 Oct 2007 12:54:46 -0000 Date: Tue, 16 Oct 2007 12:55:00 -0000 Message-ID: <20071016125446.18818.qmail@sourceware.org> From: "pmachata at redhat dot com" To: frysk-bugzilla@sourceware.org In-Reply-To: <20071015190334.5183.swagiaal@redhat.com> References: <20071015190334.5183.swagiaal@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/5183] broken build with -j>1 X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00058.txt.bz2 List-Id: ------- Additional Comments From pmachata at redhat dot com 2007-10-16 12:54 ------- The problem seems to be with two .g.antlered implicit rules being run in parallel, which step on each other's .antlr-fixes temporary files. In this particular case, this is caused by missing rule: frysk/expr/CExprEvaluator.antlered: frysk/expr/Completer.antlered Makefile rules are generated from importVocab directives in .g files by way of Makefile.gen.sh, so frysk really tries to give make proper parallelization hints. So the real problem is with temporary file handling. I believe what happens is that antlr-warnings.awk produces e.g. CExprEvaluator.antlr-fixes, when suddently the other make invocation removes it via 'rm -f $$d/*.antlr-fixes'. So the file being just built is removed, and misses its beginning. Later on, there's 'for fix in $$d/*.antlr-fixes', which picks both files, the "healthy" one as well as the truncated one, and tries to use them as a sed source. For that reason both parallel make branches fail. -- http://sourceware.org/bugzilla/show_bug.cgi?id=5183 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.