Re: [Gems-users] Failing to make Ruby


Date: Mon, 2 Nov 2009 15:10:37 -0600
From: Byn Choi <bynchoi1@xxxxxxxxxxxx>
Subject: Re: [Gems-users] Failing to make Ruby
This is kind of bizarre. I have to admit I've never encountered this type of problem before. Just so I know, were you able to successfully run vanilla simics without any problem? i.e. run $GEMS/home/ $DESTINATION/simics ?

Byn

On Nov 2, 2009, at 10:19 AM, Jiří Šimša wrote:

Hello Byn,

I have actually obtained 64-bit version of Simics and undid my
previous hacks. I am still seeing the same error:

=== Building module "ruby" ===
make[2]: Entering directory
`/media/External_2/SVN/Courses/740/project/gems-2.1.1/ simics_3_workspace/amd64-linux/obj/modules/ruby'
Using the Simics 3.0 API for ruby module
CCLD    ruby.so
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.
make[2]: *** [/media/External_2/SVN/Courses/740/project/gems-2.1.1/ simics_3_workspace/amd64-linux/lib/ruby.so]
Error 1
make[2]: *** Deleting file
`/media/External_2/SVN/Courses/740/project/gems-2.1.1/ simics_3_workspace/amd64-linux/lib/ruby.so'
make[2]: Leaving directory
`/media/External_2/SVN/Courses/740/project/gems-2.1.1/ simics_3_workspace/amd64-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

In your previous email you said that the call to Simics is failing. Is
that the SIGSEGV? Any ideas how to get it to work? Thanks!

--Jiri

On Sun, Nov 1, 2009 at 9:25 PM, Byn Choi <bynchoi1@xxxxxxxxxxxx> wrote:
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.







--
Jiri Simsa
Ph.D. Student
Carnegie Mellon University

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