From owner-cvs-usrsbin Tue Jun 9 07:50:28 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA09410 for cvs-usrsbin-outgoing; Tue, 9 Jun 1998 07:50:28 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA09209; Tue, 9 Jun 1998 07:49:39 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id AAA04777; Wed, 10 Jun 1998 00:49:32 +1000 Date: Wed, 10 Jun 1998 00:49:32 +1000 From: Bruce Evans Message-Id: <199806091449.AAA04777@godzilla.zeta.org.au> To: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG, dfr@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/config config.h config.y main.c mkioconf.c mkmakefile.c mkswapconf.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Modified files: > usr.sbin/config config.h config.y main.c mkioconf.c > mkmakefile.c mkswapconf.c > Log: > Add (mostly stub) alpha support. Incidentally, it doesn't build on stable > unless I manually construct y.tab.h. Is this normal? Yes. -stable doesn't automatically generate a rule to construct y.tab.h, and because of this the build doesn't actually work in some cases: - when someone removes y.tab.h. Workaround: don't remove it. - when the command that builds y.tab.h as a side effect doesn't happen to get run before y.tab.h is used. Workaround 1: always build .depend first. Workaround 2: order SRCS magically so that the command gets that builds y.tab.h gets run early enough. Workaround 3: don't use -j, or workaround 2 might not work. Bruce