Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 1999 19:12:13 -0700 (MST)
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        obrien@NUXI.com
Cc:        alpha@FreeBSD.ORG
Subject:   Re: -current build problem in gcc/cc1plus
Message-ID:  <199911230212.TAA85576@panzer.kdm.org>
In-Reply-To: <19991122180445.L80486@dragon.nuxi.com> from "David O'Brien" at "Nov 22, 1999 06:04:45 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911230212.TAA85576>