Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 1999 10:32:22 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        "Kenneth D. Merry" <ken@kdm.org>
Cc:        obrien@NUXI.com, alpha@FreeBSD.ORG
Subject:   Re: -current build problem in gcc/cc1plus 
Message-ID:  <19991123023222.839851C6D@overcee.netplex.com.au>
In-Reply-To: Message from "Kenneth D. Merry" <ken@kdm.org>  of "Mon, 22 Nov 1999 19:12:13 MST." <199911230212.TAA85576@panzer.kdm.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Kenneth D. Merry" wrote:
> David O'Brien wrote...
> > > ===> cc1plus
> > > bison --broken-undeftoken-init -d -o parse.c /usr/src/gnu/usr.bin/cc/cc1p
    lus/../../../../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.

Sounds right..  How about doing a
cd /usr/src/gnu/usr.bin/bison; make cleandir obj depend && make all install

It looks like we have a build tools dependency problem... :-/

Cheers,
-Peter



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?19991123023222.839851C6D>