Re: [Gems-users] "parser stack overflow" while building protocols


Date: Mon, 7 Mar 2005 20:07:47 -0500
From: Nauman Rafique <nrafique@xxxxxxxxxx>
Subject: Re: [Gems-users] "parser stack overflow" while building protocols
After getting the new version of bison, I get the error here:

/usr/bin/g++ -o x86-linux/obj/parser.o -c generated/parser.c -DYY_NO_UNPUT -Wall
-W -Wwrite-strings -Woverloaded-virtual -Wno-unused  -march=i686 -g -ggdb -g3
-O2 -finline-functions -DNO_VECTOR_BOUNDS_CHECKS -DMULTIFACET_NO_OPT_WARN   -I.
-I../common -Igenerated -Isymbols -Igenerator -Iast
generated/parser.c: In function `int yyparse()':
generated/parser.c:2086: warning: deprecated conversion from string constant to
   `char*'
generated/parser.c:2090: warning: deprecated conversion from string constant to
   `char*'
generated/parser.c:2138: error: parse error before `goto'
generated/parser.c:2204: warning: deprecated conversion from string constant to
   `char*'
make[2]: *** [x86-linux/obj/parser.o] Error 1
make[2]: Leaving directory
`/home/yara/mithuna/projects/codebase/download-simics/gems/slicc'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/yara/mithuna/projects/codebase/download-simics/gems/slicc'
make: *** [all] Error 2

Thanks.
-- 
Nauman


Quoting Mike Marty <mikem@xxxxxxxxxxx>:

> Can you copy/paste the entire output?
> 
> --Mike
> 
> > My flex version is same as yours (2.5.4), but my bison is 1.35.
> > I installed verions 1.875, changed YACC to the new bison version in
> > GEMS/common/Makefile.common
> > but I still get the same result.
> >
> > Thanks
> > --
> > Nauman
> >
> >
> > Quoting Mike Marty <mikem@xxxxxxxxxxx>:
> >
> > > My guess is that there is some dependence on the version of bison or
> flex.
> > > I tested with Bison v1.875 and Flex v2.5.4.  What versions are you
> using?
> > >
> > > --Mike
> > >
> > >
> > > > Hi,
> > > > Making protocols other than MOSI_SMP_bcast give me a "parser stack
> > > overflow"
> > > > message. Did anybody else try it?
> > > >
> > > > Thanks.
> > > > --
> > > > Nauman
> > > >
> > > >
> > > > _______________________________________________
> > > > Gems-users mailing list
> > > > Gems-users@xxxxxxxxxxx
> > > > https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> > > >
> > > _______________________________________________
> > > Gems-users mailing list
> > > Gems-users@xxxxxxxxxxx
> > > https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> > >
> >
> > _______________________________________________
> > Gems-users mailing list
> > Gems-users@xxxxxxxxxxx
> > https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> >
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> 

[← Prev in Thread] Current Thread [Next in Thread→]