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


Date: Mon, 9 Mar 2009 22:16:52 +0800
From: "lenglihello" <lenglihello@xxxxxxx>
Subject: Re: [Gems-users] failed in "CCLD ruby.so"
hi,
Thanks for your help, I want to know if your problem is happened in compiling ruby, just after "make PROTOCOL=SMOI_SMP_bcast DESTINATION=SMOI_SMP_bcast"
I have worked as you said, but there is nothing different happens.
 
 
2009-03-09

lenglihello

发件人: Dan Gibson
发送时间: 2009-03-09  21:09:59
收件人: Gems Users
抄送:
主题: 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?now where is this error exactly?omes from, and what? can do
> for?t.
> Is there anybody encountered the same problem? I will be?pprecited 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.
>
>
>
 
 
 
-- 
_______________________________________________
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→]