Re: [Gems-users] Problem building GEMS 1.4 w/Simics 3.0.17 on amd64


Date: Thu, 01 Mar 2007 02:51:31 -0600
From: Philip Garcia <pcgarcia@xxxxxxxx>
Subject: Re: [Gems-users] Problem building GEMS 1.4 w/Simics 3.0.17 on amd64
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

What version of gcc are you using? I've always had luck with gcc 3.4, with 4 or higher all bets are off. In ubuntu you should be able to install gcc-3.4 and g++-3.4 and that might solve your problems. Also make sure to rerun the simics configuration thing that's necessary. I'll also note I've never used simics 3.0 with gems, so can't make any statements about that.

Phil
On Mar 1, 2007, at 2:41 AM, Marius Grannæs wrote:

Hello,

I am trying to build Gems 1.4 w/ Simics 3.0.17 on an amd64 machine
running Ubuntu Edgy.

I have followed the instructions on:
http://www.cs.wisc.edu/gems/doc/wiki/moin.cgi/Setup_for_Simics_3.0.X
and
http://www.cs.wisc.edu/gems/doc/wiki/moin.cgi/QuickStart

to get Ruby to compile.
Most of the problems where related to SIMICS_VERSION not being defined
in some Makefiles (even though I have defined it in
common/Makefile.simics_version), also the host seems to not be detected
properly in some makefiles.

However, I've gotten as far as this:

cd /home/grannas/src/gems/simics; make ruby
make[1]: Entering directory `/home/grannas/src/gems/ simics_3_workspace'
=== Building module "ruby" ===
make[2]: Entering directory `/home/grannas/src/gems/ simics_3_workspace/amd64-linux/obj/modules/ruby'
Using the Simics 3.0 API for ruby module
make[2]: Leaving directory `/home/grannas/src/gems/ simics_3_workspace/amd64-linux/obj/modules/ruby'
make[1]: *** [ruby] Error 2
make[1]: Leaving directory `/home/grannas/src/gems/simics_3_workspace'
make: *** [all] Error 2

This doesn't say much, so I did a --dry-run. It seems to fail on this:

make -C "/home/grannas/src/gems/simics_3_workspace/amd64-linux/obj/ modules/ruby" \ -f "/home/grannas/src/gems/simics_3_workspace/modules/ruby/ Makefile" \ MOD_MAKEFILE="/home/grannas/src/gems/simics_3_workspace/modules/ ruby/Makefile" \
 HOST_TYPE=amd64-linux \
 SRC_BASE="/home/grannas/src/gems/simics_3_workspace/modules" \
MODULE_MAKEFILE="/home/grannas/bilbo/.version/simics-3.0.17/config/ module.mk" \
 TARGET=ruby

So I issued it manually, and added PROTOCOL=MOESI_CMP_directory to the commandline. The output then becomes:

make: Entering directory `/home/grannas/src/gems/simics_3_workspace/ amd64-linux/obj/modules/ruby' /home/grannas/src/gems/simics_3_workspace/modules/../../ruby/amd64- linux/generated/MOESI_CMP_directory/obj/AbstractCacheEntry.o:1: warning: NUL character seen; rest of line ignored /home/grannas/src/gems/simics_3_workspace/modules/../../ruby/amd64- linux/generated/MOESI_CMP_directory/obj/AbstractCacheEntry.o:1: *** missing separator. Stop. make: Leaving directory `/home/grannas/src/gems/simics_3_workspace/ amd64-linux/obj/modules/ruby'

Any ideas about what's wrong?

--
Marius Grannæs
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFF5pQUkSK2LwjyZ3wRApk3AKCltouc7v/n6SHjQPC6oC2pnMvSlQCfUynK
QKwIUeoaQNKeYt5ghangaiU=
=FUqi
-----END PGP SIGNATURE-----

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