Re: [Gems-users] GEMS 1.3.1 Release Now Available


Date: Mon, 25 Sep 2006 13:58:41 -0400
From: Ranjith Subramanian <ranji@xxxxxxxxxxxxx>
Subject: Re: [Gems-users] GEMS 1.3.1 Release Now Available
Dan Gibson wrote:

Ranjith,

We have tested Simics 3.0.11 + GEMS 1.3 on both x86 and amd64-linux hosts. Notably, in our Simics 3.x workspaces on 64-bit machines, amd64-linux/lib is a diretory unto itself and NOT a link to ../../../x86-linux/lib or anything of the sort. I do not know if this has changed Since Simics 3.0.11...
The amd64-linux/lib is a directory in the workspace. There is another amd64-linux directory in the compiled protocol's directory. This directory has symlink called lib which points to a non-existant direcotory in the workspace. This could possibly be a bug. I'm not sure if the following screenshot will help. In the following case $GEMS=/tmp/ranji/simics64/gems64, $SIMICS_INSTALL=/tmp/ranji/simics64/simics-3.0.19. The $GEMS/amd64-linux is a directory. But the link $GEMS/simics/targes/MOSI_SMP_bcast/lib -> amd64-linux/lib which in turn points to ../../../x86-linux/lib which is non-existant.

bash-3.00$ pwd
/tmp/ranji/simics64/gems64/simics/targets/MOSI_SMP_bcast/amd64-linux
bash-3.00$ ls -l
total 4
lrwxrwxrwx  1 ranji stud   22 Sep 25 13:40 lib -> ../../../x86-linux/lib
drwxr-xr-x  3 ranji stud 4096 Sep 25 13:40 modules
bash-3.00$ ls ../../../ -l
total 32
drwxr-xr-x   5 ranji stud 4096 Sep 25 13:40 amd64-linux
-rw-r--r--   1 ranji stud  339 Sep 25 13:39 compiler.mk
-rw-r--r--   1 ranji stud  574 Sep 25 13:39 config.mk
-rw-r--r--   1 ranji stud 1963 Sep 25 13:39 GNUmakefile
lrwxrwxrwx   1 ranji stud    7 Sep 25 13:39 home -> targets
lrwxrwxrwx 1 ranji stud 40 Sep 25 13:39 import -> /tmp/ranji/simics64/simics-3.0.19/import
drwxr-xr-x   5 ranji stud 4096 Sep 25 13:39 modules
-rwxr-xr-x   1 ranji stud  212 Sep 25 13:39 simics
-rwxr-xr-x   1 ranji stud  260 Sep 25 13:39 simics-eclipse
drwxr-xr-x  19 ranji stud 4096 Sep 25 13:40 targets
(note: there is not directory called x86-linux)
bash-3.00$ pwd
/tmp/ranji/simics64/gems64/simics/targets/MOSI_SMP_bcast/amd64-linux
bash-3.00$ ls modules/ -l
total 4
drwxr-xr-x  2 ranji stud 4096 Sep 25 13:40 python
bash-3.00$ ls modules/python/ -l
total 0
bash-3.00$


1) Have you set up your workspace in an unusual way?
2) Did you install and configure the amd64-linux version of Simics 3.0.X? One hackjob way of getting Simics to run on a 64-bit machine is to make the link you are referring to.
However, I installed gems1.3.1 and I'm able to load ruby successfully!

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