From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30148 invoked by alias); 31 Jan 2011 18:33:09 -0000 Received: (qmail 30139 invoked by uid 22791); 31 Jan 2011 18:33:08 -0000 X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from g4t0016.houston.hp.com (HELO g4t0016.houston.hp.com) (15.201.24.19) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 31 Jan 2011 18:33:04 +0000 Received: from g4t0009.houston.hp.com (g4t0009.houston.hp.com [16.234.32.26]) by g4t0016.houston.hp.com (Postfix) with ESMTP id EF25014C6D; Mon, 31 Jan 2011 18:33:02 +0000 (UTC) Received: from [16.89.92.85] (hpsje.cup.hp.com [16.89.92.85]) by g4t0009.houston.hp.com (Postfix) with ESMTP id 9D8B8C1B2; Mon, 31 Jan 2011 18:33:02 +0000 (UTC) Subject: Re: PATCH: PR binutils/12283: bfd/doc doesn't support parallel build From: Steve Ellcey Reply-To: sje@cup.hp.com To: Ralf Wildenhues Cc: binutils@sourceware.org, "H.J. Lu" In-Reply-To: <20110129094232.GD11288@gmx.de> References: <201101282332.p0SNWFT04949@lucas.cup.hp.com> <20110129094232.GD11288@gmx.de> Content-Type: text/plain; charset="UTF-8" Date: Mon, 31 Jan 2011 18:33:00 -0000 Message-ID: <1296498781.12233.80.camel@hpsje.cup.hp.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-01/txt/msg00401.txt.bz2 On Sat, 2011-01-29 at 10:42 +0100, Ralf Wildenhues wrote: > * Steve Ellcey wrote on Sat, Jan 29, 2011 at 12:32:15AM CET: > > This patch is intended to be a secondary fix/workaround for the problem > > that can happen when building bfd/doc using a parallel make. Ralf > > Wildenhues has a fix to move-if-changed that should fix the problem for > > any target where compiling a file multiple times will always result in > > exactly the same binary, but I have at least one platform where this is > > not the case: hppa*-*-hpux*. So I would also like to have this fix as a > > backup to Ralf's patch (which I think should also go in). > > Note that with the changed move-if-change from gnulib, then instead of > your patch, you could just use > export CMPPROG=cmp --ignore-initial=16' > make -jN > > for a successful build. > > Cheers, > Ralf I tried that method but it did not work. When I use 'cmp --ignore-initial=16' on object files (.o's) it works fine, but when I use it to compare the chew binary I get a difference beyond the first 16 bytes (at byte 111 or 112 depending on the binary). Steve Ellcey sje@cup.hp.com