Re: [Gems-users] problem loading ruby module


Date: Thu, 16 Jul 2009 14:23:31 +0530
From: Srividya Ramanathan <vidya.education@xxxxxxxxx>
Subject: Re: [Gems-users] problem loading ruby module
Thank you very much Dan. Handn't noticed that. The problem went away after installing 64 bit simics.

Regards
Vidya

On Fri, Jul 10, 2009 at 9:45 PM, Dan Gibson <degibson@xxxxxxxx> wrote:
It looks like you've installed a 32-bit simics workspace:
/home/vidya/Project/gems/simics_workspace/x86-linux/

... but you're trying to load a 64-bit ruby build:
/home/vidya/Project/gems/ruby/amd64-linux/

You should install 64-bit Simics.

Regards,
Dan

On Fri, Jul 10, 2009 at 4:24 AM, Srividya Ramanathan <vidya.education@xxxxxxxxx> wrote:
Hi all,
I see the following error while trying to load the ruby module:
[vidya@cmpl7 MESI_CMP_directory]$ ./simics -stall -c /home/vidya/aruns_gems/gems_other/checkpoints/first-sarek.check
...
simics> load-module ruby
Error loading module 'ruby': Failed to load module 'ruby' ('/home/vidya/Project/gems/simics_workspace/x86-linux/lib/ruby.so'): "undefined symbol: magic_instruction_callback"

I have built ruby as follows:
cd $GEMS/ruby
make PROTOCOL=MESI_CMP_directory DESTINATION=MESI_CMP_directory
I have set the simics_extra_lib variable
[vidya@cmpl7 lib]$ echo $SIMICS_EXTRA_LIB
./modules

 I also checked that
/home/vidya/Project/gems/ruby/amd64-linux/generated/MESI_CMP_directory/obj/commands.o is present and contains the symbol:
[vidya@cmpl7 obj]$ strings commands.o | grep magic
Unexpected magic call
void magic_instruction_callback(void*, void*, integer_t)

I have also built opal but not any other part of gems. Would you please suggest a solution to the above problem?

Regards
Vidya


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





--
http://www.cs.wisc.edu/~gibson [esc]:wq!

_______________________________________________
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→]