This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.0 and Bison Version
- To: Mark Klein <mklein at dis dot com>
- Subject: Re: gcc 3.0 and Bison Version
- From: Daniel Berlin <dan at www dot cgsoftware dot com>
- Date: Wed, 9 May 2001 15:41:50 -0400 (EDT)
- cc: <gcc at gcc dot gnu dot org>
On Wed, 9 May 2001, Mark Klein wrote:
> I just refreshed my workspace from cvs and tried a build of 3.0
> and got the following:
>
> make[1]: Leaving directory `/DIS/GNU/src/egcs-3.0/obj-MPE/gcc/po'
> echo "int xxy_us_dummy;" >tmp-dum.c
> ./xgcc -B./ -B/usr/local/hppa1.0-hp-mpeix/bin/ -isystem
> /usr/local/hppa1.0-hp-mp
> eix/include -S tmp-dum.c
> cc1: tmp-dum.c: Invalid argument
> cc1: tmp-dum.c: Invalid argument
> Errors detected in input file (your bison.simple is out of date)
> make: *** [s-under] Error 1
> /DIS/GNU/src/egcs-3.0/obj-MPE/gcc(205): bison --version
> bison (GNU Bison) 1.28a
The first two are the real problem.
I usually see this when i do a build as root for some reason, then go back
to my normal user account (in a seperate console screen or window), make
some gcc changes, and go to remake.
I.E. AFAIK, it's a permissions problem. It couldn't open tmp-dum.c, but
the file exists.
I can cause a similar message running cc1 on a non-existent file:
cc1: blah: No such file or directory
Errors detected in input file (your bison.simple is out of date)
Execution times (seconds)
parser : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.00 ( 0%) wall
symout : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.00 ( 0%) wall
TOTAL : 0.02 0.00 0.02
If i didn't have permissions to open blah, i'd see the messages you are
getting instead of "No such file or directory".
>
> Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> /DIS/GNU/src/egcs-3.0/obj-MPE/gcc(206):
>
> Does 3.0 need a different version of Bison?
>
> Note that it has been about two months since I last built from the 3.0
> sources. The build worked then, but not today.
>
> Suggestions?
>
> TIA,
>
>
> Mark
> --
> Mark Klein DIS International, Ltd.
> http://www.dis.com 415-892-8400
> PGP Public Key Available
>