Re: [Gems-users] Compiling Ruby


Date: Wed, 9 Nov 2005 22:42:25 -0600 (CST)
From: Bradford Beckmann <beckmann@xxxxxxxxxxx>
Subject: Re: [Gems-users] Compiling Ruby
Are you using GEMS 1.0 or 1.1?  This looks like a problem in the prepare
simics directory script that we fixed in version 1.1.

Brad



On Wed, 9 Nov 2005, Yasuko Watanabe wrote:

> Hi,
>
> I'm trying to compile Ruby but am having some errors.  The host is x86
> Linux and the target is Sparc.  I have downloaded Simics 2.2.19 and am
> following the Setup and Quick Start instructions of the Wiki documentation.
>
> The following is the command I used to compile Ruby and the last few lines
> of the output:
>
> % cd $GEMS/ruby
> % make PROTOCOL=MOESI_SMP_directory DESTINATION=MOESI_SMP_directory
>   -
>   -
>   -
> touch x86-linux/generated/MOESI_SMP_directory/bin/ruby.closure
> Template closure done
> Made module
> make[1]: Leaving directory `/afs/cs.wisc.edu/u/w/a/watanabe/bin/gems/ruby'
> Ruby: Linking simics module
> cd ../simics/x86-linux/lib; make ruby
> make[1]: Entering directory
> `/afs/cs.wisc.edu/u/w/a/watanabe/bin/gems/simics-2.2
> .19/x86-linux/lib'
> Generating: modules.cache
> make[1]: Leaving directory
> `/afs/cs.wisc.edu/u/w/a/watanabe/bin/gems/simics-2.2.
> 19/x86-linux/lib'
> make[1]: Entering directory
> `/afs/cs.wisc.edu/u/w/a/watanabe/bin/gems/simics-2.2
> .19/x86-linux/lib'
> === Building module "ruby" using the 2.0 API ===
> Creating dependencies: module_id.c
> Creating dependencies: ruby.c
> Creating exportmap.elf
> Compiling ruby.c
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> /u/w/a/watanabe/bin/gems/simics/src/extensions/ruby/ruby.c:108: warning:
> 'mm_id'
>  defined but not used
> Compiling module_id.c
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> Linking ruby.so
> gmake[2]: ***
> [/afs/cs.wisc.edu/u/w/a/watanabe/bin/gems/simics-2.2.19/x86-linux/
> lib/ruby.so] Error 139
> gmake[2]: *** Deleting file
> `/afs/cs.wisc.edu/u/w/a/watanabe/bin/gems/simics-2.2
> .19/x86-linux/lib/ruby.so'
> make[1]: *** [ruby] Error 2
> make[1]: Leaving directory
> `/afs/cs.wisc.edu/u/w/a/watanabe/bin/gems/simics-2.2.
> 19/x86-linux/lib'
> make: *** [all] Error 2
>
> Thank you in advance for your help!
>
> Yasuko
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
>

-----------------------------------------------------------------
 Department of Computer Science         Residence
 University of Wisconsin
 1210 W. Dayton St. #6366               608 Eagle Heights Apt. L
 Madison, WI 53706                      Madison, WI 53705
 (608)265-2702				(608)852-6133
-----------------------------------------------------------------
[← Prev in Thread] Current Thread [Next in Thread→]