Date: | Wed, 11 Mar 2009 17:49:03 +0800 |
---|---|
From: | "He Huang, ICT CAS" <huangh@xxxxxxxxx> |
Subject: | Re: [Gems-users] failed in "CCLD ruby.so" |
I think this is due to environment problem, pls try: username@machine:~/gems-2.1/ruby$ export LANG=en username@machine:~/gems-2.1/ruby$ make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast -j8 Huang He, Ph.D Processor Architect http://microarch.blogspot.com 在 2009-03-10二的 21:38 +0800,lenglihello写道: My Makefile.simics_version is : ******************** SIMICS_VERSION :=3.0 TARGET_MACHINE_TYPE = SPARC ******************** 2009-03-10 lenglihello 发件人: Dan Gibson 发送时间: 2009-03-10 21:27:13 收件人: Gems Users 抄送: 主题: 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 cannotknow where is this error exactlycomes from, and whatI can do > > > forit. > > > > > > Is there anybody encountered the same problem? I will beapprecited 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. > > > > > > > > > |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [Gems-users] Simics 2.2 vs Simics 3.0 statistics difference, Berkin Ozisikyilmaz |
---|---|
Next by Date: | Re: [Gems-users] Simics 2.2 vs Simics 3.0 statistics difference, Dan Gibson |
Previous by Thread: | Re: [Gems-users] failed in "CCLD ruby.so", lenglihello |
Next by Thread: | Re: [Gems-users] failed in "CCLD ruby.so", Berkin Ozisikyilmaz |
Indexes: | [Date] [Thread] |