Re: [Gems-users] Question about load-module ruby in Simics


Date: Fri, 21 Dec 2007 16:51:22 -0500
From: Greg Byrd <gbyrd@xxxxxxxx>
Subject: Re: [Gems-users] Question about load-module ruby in Simics

I don't have a solution yet, but  I found a similar problem.  The ruby.c file (in ruby/modules) has calls to SIM_hap_register_callback.  But that function is obsolete in Simics 3.0, according to the reference manual.

I tried changing these calls to SIM_hap_add_callback.  Compiled OK, but caused a segfault when I tried to load.  Still tracking it down, but I just wanted you to know that you're not alone!

If you figure this out, please let us know -- I'll do likewise.

...Greg Byrd



Guoqiang Yang wrote:
Hi ther,
 
I'm now using GEMS2.0. And I configured the simulation system using MOESI_CMP_directory protocol. And the system was configured as 4-processor 4-l2 banks and 4 memories.
 
Now, I can run tester in ruby. But when I tried to load ruby into simics, the following error occured.
 
Error loading module 'ruby': Failed to load module 'ruby' ('/scratch/cerberus/guoyang/simulators/Gems/2.0GEMS/simics_3_workspace/x86-linux/lib/ruby.so'): "undefined symbol: SIM_hap_register_callback"
  
And I checked Gems1.4, there is no function call of SIM_hap_register_callback. Is there anyone know how to solve this problem or explain why would this happen?
 
Many thanks,
 
Guoqiang Yang

 

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