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


Date: Tue, 10 Mar 2009 07:20:46 -0600
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] failed in "CCLD ruby.so"
Hmm... I've not seen those lines before.
What have you set your SIMICS_VERSION variable to in Makefile.simics_version?

Regards,
Dan

On Tue, Mar 10, 2009 at 1:35 AM, lenglihello <lenglihello@xxxxxxx> wrote:
> Dan, Thanks a lot, but I still don't resolve it.
> There are two new lines
> after "make PROTOCOL=SMOI_SMP_bcast DESTINATION=SMOI_SMP_bcast"
>
> 15:27:21 (vtech) OUT: "p_modelbuilder" root@xxxxxxxxxxxxxxxxxxxxx
> 15:27:21 (vtech) IN: "p_modelbuilder" root@xxxxxxxxxxxxxxxxxxxxx
>
> what does it mean?
> 2009-03-10
> ________________________________
> lenglihello
> ________________________________
> 发件人: Dan Gibson
> 发送时间: 2009-03-09  23:21:26
> 收件人: Gems Users
> 抄送:
> 主题: Re: [Gems-users] failed in "CCLD ruby.so"
> Try printing to stderr instead of stdout. Or better yet, put an
> 'assert(0)' at the beginning of the function.
>
> On Mon, Mar 9, 2009 at 9:16 AM, lenglihello  <lenglihello@xxxxxxx > wrote:
>> 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.
>> >
>> >
>> >
>>
>>
>>
>> --
>> http://www.cs.wisc.edu/~gibson [esc]:wq!
>> _______________________________________________
>> 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.
>>
>>
>>
>
>
>
> --
> http://www.cs.wisc.edu/~gibson [esc]:wq!
> _______________________________________________
> 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.
>
>
>



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