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