This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] - Detect Bison version skew
- To: Donn Terry <donnte at microsoft dot com>
- Subject: Re: [PATCH] - Detect Bison version skew
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 28 Jun 2000 15:26:40 -0600
- cc: "gcc-patches (E-mail)" <gcc-patches at gcc dot gnu dot org>
- Reply-To: law at cygnus dot com
In message <309F4FC4705DC844987051A517E9E39B09D2D0@red-pt-02.redmond.corp.mic
rosoft.com>you write:
> Problem:
>
> SIGSEGV while compiling libobjc/linking.m .
>
> Ultimately this is caused by version skew between the C and Objective
> C grammars if they are processed by different versions of Bison.
> (This can occur at least, but not only, if the official CVS sources
> didn't get updated completely.) The patch below does not fix the
> problem (that appears to be rather messy) but it does detect the
> problem so it can be quickly fixed. (It is a long hard pull to
> determine that it's Bison verison skew if it should happen to
> happen.)
This should not happen if you use the update_gcc script.
I do not want to install this kind of change into the source tree -- it makes
the build system more complicated than it need to be and is just working
around problems elsewhere.
jeff