Re: [Gems-users] Re: [Gems] Slicc Error


Date: Sun, 12 Jun 2005 16:26:16 -0500
From: Alaa Alameldeen <alaa@xxxxxxxxxxx>
Subject: Re: [Gems-users] Re: [Gems] Slicc Error
Also please subscribe to gems-users to be able to post to the list.

-Alaa

Mike Marty wrote:
What version of Bison is installed on your system?  We use 1.875 with no
problems, however we have had reports of errors with this version too.
Bison 2.0 seems to work with no problems.

--Mike



Hi all GEMS users,

Recently, I try to modify GEMS source code but I got a problem in slicc.

When I try to generate sources using some CMP protocols, the slicc generates
errors like this. I think it is related to the stack size of slicc execution.

[simics@hpc1 ruby]$ make PROTOCOL=MOESI_CMP_token DESTINATION=MOESI_CMP_token
ls: generated/MOESI_CMP_token/*.C: No such file or directory
Ruby: Building protocol: MOESI_CMP_token
Ruby: Making slicc
cd ../slicc; make
make[1]: Entering directory `/home/simics/gems/slicc'
SLICC: Running flex and bison
make generated/generated
make[2]: Entering directory `/home/simics/gems/slicc'
make[2]: `generated/generated' is up to date.
make[2]: Leaving directory `/home/simics/gems/slicc'
SLICC: Building slicc executable
make x86-linux/bin/slicc.exec
make[2]: Entering directory `/home/simics/gems/slicc'
make[2]: `x86-linux/bin/slicc.exec' is up to date.
make[2]: Leaving directory `/home/simics/gems/slicc'
make[1]: Leaving directory `/home/simics/gems/slicc'
Ruby: Running slicc
make generated/MOESI_CMP_token/generated
ls: generated/MOESI_CMP_token/*.C: No such file or directory
make[1]: Entering directory `/home/simics/gems/ruby'
mkdir -p generated/MOESI_CMP_token/
touch generated/MOESI_CMP_token/created
mkdir -p html/MOESI_CMP_token/
touch html/MOESI_CMP_token/created
Generating protocol handlers
./slicc/x86-linux/bin/slicc.exec generated/MOESI_CMP_token
html/MOESI_CMP_token MOESI_CMP_token "html" ../protocols/RubySlicc_Exports.sm
./protocols/RubySlicc_Types.sm ../protocols/RubySlicc_Util.sm
./protocols/RubySlicc_ComponentMapping.sm ../protocols/RubySlicc_Profiler.sm
./protocols/RubySlicc_Defines.sm ../protocols/MOESI_CMP_token-msg.sm
./protocols/MOESI_CMP_token-L1cache.sm
./protocols/MOESI_CMP_token-L2cache.sm ../protocols/MOESI_CMP_token-dir.sm
./protocols/standard_CMP-protocol.sm
SLICC v0.3
Parsing...
 ../protocols/RubySlicc_Exports.sm
 ../protocols/RubySlicc_Types.sm
 ../protocols/RubySlicc_Util.sm
 ../protocols/RubySlicc_ComponentMapping.sm
 ../protocols/RubySlicc_Profiler.sm
 ../protocols/RubySlicc_Defines.sm
 ../protocols/MOESI_CMP_token-msg.sm
 ../protocols/MOESI_CMP_token-L1cache.sm
./protocols/MOESI_CMP_token-L1cache.sm:1770: parser stack overflow at ;
make[1]: *** [generated/MOESI_CMP_token/generated] Error 1
make[1]: Leaving directory `/home/simics/gems/ruby'
make: *** [all] Error 2

Is there anyone who knows how to solve this problem? Please, send me the
solution. Thank you.

--
MINSEON AHN
Computer Science Department
Dwight Look College of Engineering
Texas A&M University



_______________________________________________
Gems mailing list
Gems@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems


_______________________________________________ Gems-users mailing list Gems-users@xxxxxxxxxxx https://lists.cs.wisc.edu/mailman/listinfo/gems-users
[← Prev in Thread] Current Thread [Next in Thread→]