Re: [Gems-users] failed in "CCLD ruby.so"


Date: Mon, 9 Mar 2009 07:09:47 -0600
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] failed in "CCLD ruby.so"
I think I may know what is going on.  I ran into a problem like this
when I was originally porting GEMS to Simics 3.0 -- a rather odd
'feature' of Simics 3.x+ is that Ruby is actually loaded and run
during 'compilation.' It turned out that Ruby was taking a segfault
because there was no configuration loaded, and therefore 'compilation'
failed.

To figure out if this is the same problem & to debug this, add some
printf's to $GEMS/ruby/module/ruby.c in the 'ini't_local' function.

Regards,
Dan

On Mon, Mar 9, 2009 at 6:59 AM, lenglihello <lenglihello@xxxxxxx> wrote:
> hi All,
> I have a question of compiling ruby, the error code is :
> /*****************error code***************************
> ===Building module "ruby" ===
> make[2]: Entering directory
> '/opt/gems-2.1/simics_3_workspace/x86-linux/obj/modules/ruby'
> Using the Simics 3.0 API for ruby module
> CCLD ruby.so
> make[2]:***[/opt/gems-2.1/simics_3_workspace/x86-linux/lib/ruby.so] error 2
> make[2]:***deleting file
> "'/opt/gems-2.1/simics_3_workspace/x86-linux/lib/ruby.so"
> make[2]: Leaving directory
> '/opt/gems-2.1/simics_3_workspace/x86-linux/obj/modules/ruby'
> make[1]:***[ruby] error 2
> make[1]: Leaving directory'/opt/gems-2.1/simics_3_workspace'
> make: ***[all] error 2
> /*****************end error code************************
>
> I cannot know where is this error exactly comes from, and what I can do
> for it.
> Is there anybody encountered the same problem? I will be apprecited for your
> help. Thanks
>
> 2009-03-09
> ________________________________
> lenglihello
> _______________________________________________
> 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.
>
>
>



-- 
http://www.cs.wisc.edu/~gibson [esc]:wq!
[← Prev in Thread] Current Thread [Next in Thread→]