From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22573 invoked by alias); 3 Oct 2009 12:23:37 -0000 Received: (qmail 22522 invoked by uid 48); 3 Oct 2009 12:23:24 -0000 Date: Sat, 03 Oct 2009 12:23:00 -0000 Message-ID: <20091003122324.22521.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug ada/40984] Build failure in oscons stage not detected. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "davek at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-10/txt/msg00181.txt.bz2 ------- Comment #2 from davek at gcc dot gnu dot org 2009-10-03 12:23 ------- (In reply to comment #1) > Wouldn't it be enough to replace ";" by "&&" between the various steps? > Hello Sam, the problem with just doing that is that xoscons can fail but still leave fragmentary output, and then next time you build make sees that the output file exists and doesn't try rebuilding it. Using && would cause make to fail at the error, but we still need to guarantee the partial output file is deleted, otherwise the next build will not try rebuilding the xoscons outputs and will error some time later when it reuses the fragmentary output while attempting to compile the runtime library. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40984