From owner-freebsd-alpha Mon Nov 22 18:12:19 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 5057114CA0 for ; Mon, 22 Nov 1999 18:12:16 -0800 (PST) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id TAA85576; Mon, 22 Nov 1999 19:12:13 -0700 (MST) (envelope-from ken) Message-Id: <199911230212.TAA85576@panzer.kdm.org> Subject: Re: -current build problem in gcc/cc1plus In-Reply-To: <19991122180445.L80486@dragon.nuxi.com> from "David O'Brien" at "Nov 22, 1999 06:04:45 pm" To: obrien@NUXI.com Date: Mon, 22 Nov 1999 19:12:13 -0700 (MST) Cc: alpha@FreeBSD.ORG From: "Kenneth D. Merry" X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org David O'Brien wrote... > > ===> cc1plus > > bison --broken-undeftoken-init -d -o parse.c /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/parse.y > > bison: unrecognized option `--broken-undeftoken-init' > > Usage: bison [-dhklntvyV] [-b file-prefix] [-o outfile] [-p name-prefix] > > [--debug] [--defines] [--fixed-output-files] [--no-lines] > > [--verbose] [--version] [--help] [--yacc] > > [--no-parser] [--token-table] > > [--file-prefix=prefix] [--name-prefix=prefix] > > [--output=outfile] grammar-file > > > "--broken-undeftoken-init" is a non-documented FreeBSD'ism to make Bison > 1.28 bug-for-bug compatible with Bison 1.25. This was added in the the > Bison 1.28 upgrade in August to allow the upgrade to happen. EGCS's > cc1plus in our environment depends on the 1.25 bug. Being undocumented I > did not add it to the usage(), thus it isn't shown above. > > > Can you determine what Bison's you have installed (maybe the port?) and > their versions (bison --version), and run ``strings /usr/bin/bison |grep > broken''. Sure. {subway:/usr/home/ken:62:0} whence bison /usr/bin/bison {subway:/usr/home/ken:63:0} bison --version GNU Bison version 1.25 {subway:/usr/home/ken:64:0} ls -la $(whence bison) -r-xr-xr-x 1 root wheel 121408 Aug 11 09:54 /usr/bin/bison* {subway:/usr/home/ken:65:0} strings /usr/bin/bison |grep broken {subway:/usr/home/ken:66:1} My guess is that the problem is that I'm running bison 1.25, which has the bug in question, but not the undocumented option. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message