Re: [Gems-users] Problem compiling RUBY with MOESI_CMP_token protocol


Date: Mon, 11 Jul 2005 09:45:16 -0500 (CDT)
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: Re: [Gems-users] Problem compiling RUBY with MOESI_CMP_token protocol
G++ 3.3.x and 3.4.x are known to work.  Any 3.x version probably works.

Providing a binary version of the module is not a good idea because the
Ruby module is specific to the chosen protocol and may have dependences on
your particular Simics tree.

Your previous linking errors look like problems with libstdc++.  As
indicated in our "Setup" documentation page, we get around these problems
by copying the version of libstdc++ used by your compiler to
$GEMS/simics/x86-linux/sys/lib

--Mike


> Mike,
>
> I could not compile Ruby yet due to the problem indicated in my last
> email. The reason may be that our default g++/gcc compilers on our
> linux machines are pretty old (although I changed them to g++-3.4.3 in
> the config files). I'm wondering if I could download a binary linux
> version  from your web. This would save a lot of efforts.
>
> Many thanks
> Steve
>
> On Fri, 8 Jul 2005, Mike Marty wrote:
>
> >
> > You didn't configure Simics.
> >
> > cd /afs/ece.cmu.edu/usr/yangdon/vol2/gems/simics/x86-linux
> > ../configure
> >
> > If you haven't checked out the Setup and QuickStart pages on our
> > documentation wiki, please do so:
> >
> > http://www.cs.wisc.edu/gems/doc/
> >
> > --Mike
> >
> >
> >
> > > Mike,
> > >
> > > Thanks so much for your prompt response. I did correctly set the Simics
> > > path in Makefile.common and now I could get through the problem by
> > > switching to g++ 3.4.3. Then I got another problem:
> > >
> > > make[1]: Leaving directory `/afs/ece.cmu.edu/usr/yangdon/vol2/gems/ruby'
> > > make[1]: Entering directory `/afs/ece.cmu.edu/usr/yangdon/vol2/gems/ruby'
> > > make[1]: Circular x86-linux/generated/MOESI_CMP_token/obj/init.o <-
> > > default_param.h dependency dropped.
> > > make[1]: *** No rule to make target `simics/host-config.h', needed by
> > > `x86-linux/generated/MOESI_CMP_token/obj/attrparse.o'.  Stop.
> > > make[1]: Leaving directory `/afs/ece.cmu.edu/usr/yangdon/vol2/gems/ruby'
> > > make: *** [all] Error 2
> > >
> > > Do you know what's wrong?
> > >
> > > Thanks again
> > > Steve
> > >
> > > On Fri, 8 Jul 2005, Mike Marty wrote:
> > >
> > > > is your Simics tree located in
> > > > /afs/ece.cmu.edu/usr/yangdon/vol2/gems/simics?
> > > >
> > > > If not, you will have to either do so, or modify the Makefiles in order to
> > > > find the files.
> > > >
> > > > --Mike
> > > >
> > > >
> > > > > Hi,
> > > > >
> > > > > When I was compileing Ruby with command line "make
> > > > > PROTOCOL=MOESI_CMP_token DESTINATION=MOESI_CMP_token", I got the following
> > > > > error message,
> > > > >
> > > > > make x86-linux/generated/MOESI_CMP_token/bin/tester.exec
> > > > > make[1]: Entering directory `/afs/ece.cmu.edu/usr/yangdon/vol2/gems/ruby'
> > > > > make[1]: *** No rule to make target `simics/api.h', needed by
> > > > > `x86-linux/generated/MOESI_CMP_token/obj/attrlex.d'.  Stop.
> > > > > make[1]: Leaving directory `/afs/ece.cmu.edu/usr/yangdon/vol2/gems/ruby'
> > > > > make: *** [all] Error 2
> > > > >
> > > > > Does anyone have an idea what it means?
> > > > >
> > > > > Thanks
> > > > > Steve
> > > > >
> > > > > --------------------------------------------------------------------------
> > > > >  Yangdong (Steven) Deng
> > > > >  HH2116
> > > > >  Dept. of Electrical and Computer Engineering
> > > > >  Carnegie Mellon University
> > > > >  5000 Forbes Ave.
> > > > >  Pittsburgh, PA 15213
> > > > >
> > > > >  URL: http://www.ece.cmu.edu/~yangdon/
> > > > >  Phone: 412-268-6638
> > > > > _______________________________________________
> > > > > 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→]