Subject: toolchain/17012: crunchgen makefiles can't be reused "incrementally"
To: None <gnats-bugs@gnats.netbsd.org>
From: None <lukem@mewburn.net>
List: netbsd-bugs
Date: 05/25/2002 10:20:02
>Number: 17012
>Category: toolchain
>Synopsis: crunchgen makefiles can't be reused "incrementally"
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 24 17:21:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Luke Mewburn
>Release: NetBSD 1.6_BETA1
>Organization:
>Environment:
System: NetBSD argo.mewburn.net 1.6_BETA1 NetBSD 1.6_BETA1 (ARGO from GENERIC-$Revision: 1.491 $) #0: Thu May 23 23:22:19 EST 2002 lukem@argo.mewburn.net:/var/scratch/obj.i386/usr/src/sys/arch/i386/compile/ARGO i386
Architecture: i386
Machine: i386
>Description:
A little while ago Bill Sommerfeld made the following change
to crunchgen(8):
revision 1.37
date: 2002/05/02 21:18:31; author: sommerfeld; state: Exp; lines: +35 -34
Some tweaks to (hopefully) make the crunchgen-generated makefile
parallel-build-safe.
Unfortunately, that breaks compiles when target Makefiles do stuff
like "CPPFLAGS+=-I.", and you restart a compile of a crunchgenned
program (that may have been interrupted or failed or whatever)
and that program has an include file built in the ${.OBJDIR}.
The CPPFLAGS don't get added, and the source files won't compile.
See
http://releng.netbsd.org/ab/M_hp300/hp300.relse.1022198400.txt
for an example error.
>How-To-Repeat:
See above.
>Fix:
Back out revision 1.37.
That will break parallel builds (make -j N, where N > 1) though.
>Release-Note:
>Audit-Trail:
>Unformatted: