Re: [Gems-users] error load ruby


Date: Wed, 19 Sep 2007 06:40:24 -0500
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] error load ruby
Good to know. We haven't compiled for SPARC in a long time... somehow -fPIC must have made its way out of the SPARC compiler string.

Regards,
Dan

李崇民 wrote:
hi

  It works now.
  The solution is add -fPIC to the "CC = g++ -I/s/getopt-0/include"
  This was suggested by am at simics forum



  
You may want to try this question on the Simics forums at
www.simics.net. The error seems to be raised by Simics rather than GEMS
per se, so you should start there.

Regards,
Dan

李崇民 wrote:
    
Hi
  I am tring to use GEMS1.4 on a SPARC machine, 
the OS is solaris9, and simics's version is 3.0.29
I compiled GEMS as QuickStart with gcc-3.4.1.

Then I met the following problem.

#../MOSI_SMP_bcast/simics -stall
Checking out a license... done: academic license.

  +----------------+    Copyright 1998-2007 by Virtutech, All Rights Reserved
  |   Virtutech    |    Version: Simics 3.0.29
  |     Simics     |    Build: 1397  Host: v9-sol8-64
  +----------------+
    www.simics.com      "Virtutech" and "Simics" are trademarks of Virtutech AB

Use of this software is subject to appropriate license.
Type 'copyright' for details on copyright.
Type 'help help' for info on the on-line documentation.

simics> read-configuration lcm0917.conf
input method doesn't support my preedit type (OverTheSpot,Root)
simics> instruction-fetch-mode instruction-fetch-trace
[cpu0 info] Note that on this cpu, instruction-fetch-trace is implemented using instruction-cache-access-trace with a suitable cache line size.
simics> istc-disable
Turning I-STC off and flushing old data
simics> dstc-disable
Turning D-STC off and flushing old data
simics> load-module ruby
Error loading module 'ruby': Failed to load module 'ruby' ('/home/lcm/gems/simics_3_workspace/v9-sol8-64/lib/ruby.so'): "simics-common: fatal: relocation error: R_SPARC_WDISP30: file /home/lcm/gems/simics_3_workspace/v9-sol8-64/lib/ruby.so: symbol getpid: value 0x627b5239 does not fit"
~ 
Could anyone tell me where the problem is and how to solve it
	
Thanks
        lcm03@xxxxxxxxxxxxxxxxxxxxx
          2007-09-18

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

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

    


        lcm03@xxxxxxxxxxxxxxxxxxxxx
          2007-09-19


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