Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 1999 20:05:36 -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:  <199911230305.UAA86305@panzer.kdm.org>
In-Reply-To: <19991122182954.K30340@relay.nuxi.com> from "David O'Brien" at "Nov 22, 1999 06:29:55 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
David O'Brien wrote...
> On Mon, Nov 22, 1999 at 07:12:13PM -0700, Kenneth D. Merry wrote:
> > 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.
> 
> Can you revert rev 1.92 in src/Makefile.inc1?  Errr. I think we now use
> the installed tools rather than building them and useing the newly built
> ones.

Okay, backed it out to 1.91.  Things seem to work so far:

===> cc1plus
bison --broken-undeftoken-init -d -o parse.c /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/parse.y
/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/parse.y contains 30 shift/reduce conflicts and 42 reduce/reduce conflicts.
grep '^#define[   ]*YYEMPTY' parse.c >>parse.h
cc -O -pipe -DFREEBSD_NATIVE -DIN_GCC -DHAVE_CONFIG_H -DDEFAULT_TARGET_VERSION=\"2.95.2\" -DDEFAULT_TARGET_MACHINE=\"alpha-unknown-freebsd\" -DHAIFA -I/usr/obj/usr/src/gnu/usr.bin/cc/cc1plus/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1plus/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp -I.   -I/usr/obj/usr/src/tmp/usr/include -c parse.c

And it's still going.

It must be using the version of bison in the tree, since the
--broken-undeftoken-init switch didn't cause the build to fall over.

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?199911230305.UAA86305>