From owner-freebsd-current Mon Oct 12 21:38:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA25256 for freebsd-current-outgoing; Mon, 12 Oct 1998 21:38:08 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA25251 for ; Mon, 12 Oct 1998 21:38:04 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.9.1/8.9.1) id OAA02736; Tue, 13 Oct 1998 14:41:31 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199810130441.OAA02736@cimlogic.com.au> Subject: Re: gnu/usr.bin/cc/cc_tools/Makefile bug? (was Re: filesystem safety and SCSI disk write caching) In-Reply-To: <199810122109.OAA12095@salsa.gv.tsc.tdk.com> from Don Lewis at "Oct 12, 98 02:09:53 pm" To: Don.Lewis@tsc.tdk.com (Don Lewis) Date: Tue, 13 Oct 1998 14:41:31 +1000 (EST) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Don Lewis wrote: > ${COMMONHDRS}: > echo '#include "${MACHINE_ARCH}/freebsd.h"' > tm.h > echo '#include "${MACHINE_ARCH}/xm-freebsd.h"' > config.h > echo '#include "${MACHINE_ARCH}/xm-freebsd.h"' > hconfig.h > echo '#include "${MACHINE_ARCH}/xm-freebsd.h"' > tconfig.h > echo '#include "cp/lang-options.h"' > options.h > echo '#include "cp/lang-specs.h"' > specs.h > echo '#include "f2c-specs.h"' >> specs.h > > GENSRCS+= ${COMMONHDRS} > > > It sure looks like if you do a parallel make, these .h files get built > in parallel multiple times. Most of the time we appear to get lucky > and they happen to come out correct. If we don't want to rely on luck, > then this Makefile should have a separate rule for each of these .h files. Can this wait until the possible/probable (?) compiler upgrade after 3.0? -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message