Re: [Gems-users] Failing to make Ruby


Date: Sun, 1 Nov 2009 20:25:47 -0600
From: Byn Choi <bynchoi1@xxxxxxxxxxxx>
Subject: Re: [Gems-users] Failing to make Ruby
Hi,

You should try with SIMICS_HOST environment variable set to x86-linux instead of hacking the calc_host.sh.

Byn

On Nov 1, 2009, at 8:17 PM, Jiří Šimša wrote:

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
_______________________________________________
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.


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