From owner-freebsd-current Sun Jan 25 11:25:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA06926 for current-outgoing; Sun, 25 Jan 1998 11:25:40 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA06915 for ; Sun, 25 Jan 1998 11:25:31 -0800 (PST) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.8.8/frmug-2.2/nospam) with UUCP id UAA04386 for freebsd-current@FreeBSD.ORG; Sun, 25 Jan 1998 20:25:28 +0100 (CET) (envelope-from roberto@keltia.freenix.fr) Received: (from roberto@localhost) by keltia.freenix.fr (8.8.8/keltia-2.13/nospam) id TAA05133; Sun, 25 Jan 1998 19:41:53 +0100 (CET) (envelope-from roberto) Message-ID: <19980125194153.58529@keltia.freenix.fr> Date: Sun, 25 Jan 1998 19:41:53 +0100 From: Ollivier Robert To: "FreeBSD Current Users' list" Subject: Re: Weird error with bison in current Mail-Followup-To: FreeBSD Current Users' list References: <19980125180846.52993@keltia.freenix.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88.14i In-Reply-To: <19980125180846.52993@keltia.freenix.fr>; from Ollivier Robert on Sun, Jan 25, 1998 at 06:08:46PM +0100 X-Operating-System: FreeBSD 3.0-CURRENT ctm#4016 AMD-K6 MMX @ 225 MHz Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk According to Ollivier Robert: > I'm getting this weird error in buildworld. It used to work... The following does fix it but why did it stopped working ? I fixed all the gnu/usr.bin/cc/*/Makefile as well (and don't tell me my cvs shouldn't emit Index: lines). Index: cc1plus/Makefile =================================================================== RCS file: /spare/FreeBSD-current/src/gnu/usr.bin/cc/cc1plus/Makefile,v retrieving revision 1.13 diff -u -2 -r1.13 Makefile --- Makefile 1997/10/05 09:39:06 1.13 +++ Makefile 1998/01/25 18:44:37 @@ -20,5 +20,5 @@ .ORDER: parse.c parse.h parse.c parse.h: parse.y - ${BISON} -d ${GCCDIR}/cp/parse.y -o parse.c + ${BISON} -o parse.c -d ${GCCDIR}/cp/parse.y grep '^#define[ ]*YYEMPTY' parse.c >>parse.h Index: cc_tools/Makefile =================================================================== RCS file: /spare/FreeBSD-current/src/gnu/usr.bin/cc/cc_tools/Makefile,v retrieving revision 1.6 diff -u -2 -r1.6 Makefile --- Makefile 1998/01/25 09:47:46 1.6 +++ Makefile 1998/01/25 18:40:03 @@ -29,5 +29,5 @@ .ORDER: bi-parser.c bi-parser.h bi-parser.c bi-parser.h: bi-parser.y - ${BISON} ${BISONFLAGS} -d ${.ALLSRC} -o bi-parser.c + ${BISON} ${BISONFLAGS} -o bi-parser.c -d ${.ALLSRC} SRCS+= bi-parser.c bi-parser.h @@ -89,5 +89,5 @@ -e "/^ifc$$/d" -e "/^end ifc$$/d" \ ${GCCDIR}/c-parse.in > c-parse.y - ${BISON} -d c-parse.y -o c-parse.c + ${BISON} -o c-parse.c -d c-parse.y rm -f c-parse.y @@ -102,5 +102,5 @@ -e "/^ifobjc$$/d" -e "/^end ifobjc$$/d" \ ${GCCDIR}/c-parse.in > objc-parse.y - ${BISON} -d objc-parse.y -o objc-parse.c + ${BISON} -o objc-parse.c -d objc-parse.y rm -f objc-parse.y Index: cpp/Makefile =================================================================== RCS file: /spare/FreeBSD-current/src/gnu/usr.bin/cc/cpp/Makefile,v retrieving revision 1.10 diff -u -2 -r1.10 Makefile --- Makefile 1997/10/05 09:39:08 1.10 +++ Makefile 1998/01/25 18:44:01 @@ -12,5 +12,5 @@ .ORDER: cexp.c cexp.h cexp.c cexp.h: cexp.y - ${BISON} -d ${GCCDIR}/cexp.y -o cexp.c + ${BISON} -o cexp.c -d ${GCCDIR}/cexp.y CLEANFILES+= cexp.c cexp.h -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #4: Sun Jan 18 15:50:16 CET 1998