For cases when the native compiler is not used for GEMS (as discussed 
heavily in thread - 
https://lists.cs.wisc.edu/archive/gems-users/2006-October/msg00168.shtml). How 
can I make the compiler for Simics consistent with that used by Gems ?
 I understand that I have to modify the LDFLAGS and MODULE_LDFLAGS in 
all the makefiles withing Gems. But in addition to that, do I have to 
change something for Simics installation in order for it to use the non 
native compiler ?
 Currently I have tried GCC 4.1.1 (as native) and 3.3.6 (as non-native) 
and with both I get the error of following sort:
 Error loading module 'ruby': Failed to load module 'ruby' 
('/packages/GEMS/simics-3-workspace/x86-linux/lib/ruby.so'): "undefined 
symbol: ruby_session_set"
 I am not sure if I have done the integration of non-native compiler 
correctly. My ruby.so file gives following with ldd (when using GCC 
3.3.6 non native)
$> ldd ruby.so
 ./ruby.so: /opt/gcc-3.3.6/lib/libgcc_s.so.1: version `GCC_4.2.0' not 
found (required by /usr/lib/libstdc++.so.6)
       linux-gate.so.1 =>  (0x0060f000)
       libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00bbf000)
       libz.so.1 => /usr/lib/libz.so.1 (0x00e58000)
       libsimics-common.so => not found
       libm.so.6 => /lib/libm.so.6 (0x00773000)
       libgcc_s.so.1 => /opt/gcc-3.3.6/lib/libgcc_s.so.1 (0x0052f000)
       libc.so.6 => /lib/libc.so.6 (0x00cca000)
       /lib/ld-linux.so.2 (0x80000000)
Any suggestions are welcome. Thanks,
 |