[Gems-users] Failing to make Ruby


Date: Sun, 1 Nov 2009 21:17:42 -0500
From: Jiří Šimša <jiri.simsa@xxxxxxxxx>
Subject: [Gems-users] Failing to make Ruby
Hello,

I am trying to build GEMS following the "Quickstart" at the Wiki. I
have obtained and installed x86-linux distribution of Simics 3.0.22.
Although the machine I am trying to build GEMS is x86_64-linux, I have
change the script calc_host.sh to identify my host as "x86-linux" and
added "-m32" flag to both the CFLAGS and LDFLAGS. That way I am able
to successfully built 32-bit Ruby closure on my machine. However, when
the process of making progress pass that point I get the following
error:

Template closure done
Made module
make[1]: Leaving directory
`/media/External_2/SVN/Courses/740/project/gems-2.1.1/ruby'
Ruby: Linking simics module
cd ../simics; make ruby
make[1]: Entering directory
`/media/External_2/SVN/Courses/740/project/gems-2.1.1/simics_3_workspace'
=== Environment Check ===
Checking Python version... Segmentation fault (SIGSEGV) in main thread
The simulation state has been corrupted. Simulation cannot continue.
Please restart Simics.
There is no frontend to return control to. Simics will exit.
Segmentation fault (SIGSEGV) in main thread
The simulation state has been corrupted. Simulation cannot continue.
Please restart Simics.
There is no frontend to return control to. Simics will exit.
Checking compiler... gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-27)
Checking GNU make... 3.81
=== Building module "ruby" ===
make[2]: Entering directory
`/media/External_2/SVN/Courses/740/project/gems-2.1.1/simics_3_workspace/x86-linux/obj/modules/ruby'
Using the Simics 3.0 API for ruby module
make[2]: Leaving directory
`/media/External_2/SVN/Courses/740/project/gems-2.1.1/simics_3_workspace/x86-linux/obj/modules/ruby'
make[1]: *** [ruby] Error 2
make[1]: Leaving directory
`/media/External_2/SVN/Courses/740/project/gems-2.1.1/simics_3_workspace'
make: *** [all] Error 2

I have little idea as to what went wrong and why. Can someone please
clarify the error and hopefully offer a solution? Thanks!

Best,

-- 
Jiri Simsa
Ph.D. Student
Carnegie Mellon University
[← Prev in Thread] Current Thread [Next in Thread→]