Re: [Gems-users] Ruby compilation problem with Fedora Core 6


Date: Mon, 12 Nov 2007 15:55:57 -0500
From: "Lide Duan" <leaderduan@xxxxxxxxx>
Subject: Re: [Gems-users] Ruby compilation problem with Fedora Core 6
Hello,

I am afraid I am still not be able to install GEMS on the 64-bit Fedora core 6 system on Intel Xeon 8-core machine...
Here is the configuration I am using:
        simics-2.2.19-amd64-linux
        GCC3.4.1 , configured with --host=x86_64-redhat-linux
        GEMS1.4
In common/Makefile.common, how should I set the LDFLAGS and MODULE_LDFLAGS for the amd64-linux HOST_TYPE? Any othe modification should I make to the settings?
It always gives me the following error when compiling MOESI_CMP_directory as I mentioned in my first e-mail of this thread:

terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::_S_create
make[1]: *** [generated/MOESI_CMP_directory/generated] Aborted
make[1]: Leaving directory `/home/duan/GEMS1.4_copy/ruby'
make: *** [all] Error 2

Currently it's not possible for me to install a new OS on this server, so I am wondering how I can successfully compile ruby on this system? I am gussing the problem is due to the compatibility with 64-bit, but I don't have experience installing GEMS on a 64-bit OS before.

Thank you so much.
Lide

On Oct 19, 2007 2:56 PM, Dan Gibson <degibson@xxxxxxxx> wrote:
You mentioned that you had installed gcc for 'x86-linux' -- that raised
red flags for me.
I would expect you could find an 'amd64-linux' target for GCC via GNU,
or better yet, via a fresh install of linux (usually more
stable/usable/happy than a re-install of GCC).

Regards,
Dan

Lide Duan wrote:
> Thank you, Dan.
>
> Do you mean the gcc I installed does not support 64-bit system?
> Emm...that might be right since I didn't make a change when
> configuring the gcc as I installed it on 32-bit SuSE.  What would you
> suggest about the the options and targets when configuring gcc on this
> 64-bit Fedora Core 6 system?
>
> Thanks,
> Lide
>
> On 10/19/07, *Dan Gibson* <degibson@xxxxxxxx
> <mailto:degibson@xxxxxxxx>> wrote:
>
>     We also use 8-core intel machines, which still identify as
>     amd64-linux -- no problem there.
>     Did you install a 32-bit compiler (x86-linux)? That could be
>     problematic...
>     The problem looks like its arising when dealing with <string>,
>     which to me suggests a compiler issue.
>
>     Regards,
>     Dan
>
>     Lide Duan wrote:
>>     Hello,
>>
>>     I have been using GEMS for some days. All the related research
>>     was on SuSE 10 with GEMS1.4 and Simics2.2.19, and everything
>>     worked fine. Now I need to install GEMS1.4 on an Intel 8-core
>>     server which runs Fedora Core 6 system (64bit). I followed the
>>     steps I previously performed on SuSE, including installation of
>>     gcc3.4.1 and Simics2.2.19 for x86-linux. However, when I tried to
>>     make the MOESI_CMP_directory, I got the following errors:
>>
>>     Writing C files...
>>     terminate called after throwing an instance of 'std::length_error'
>>       what():  basic_string::_S_create
>>     make[1]: *** [generated/MOESI_CMP_directory/generated] Aborted
>>     make[1]: Leaving directory `/home/duan/GEMS1.4_copy/ruby'
>>     make: *** [all] Error 2
>>
>>     Is it a problem due to using the server system? I also noticed
>>     that in common/Makefile.common GEMS treats the HOST_TYPE as
>>     amd64-linux, but it's definitely an Intel machine. Anybody has
>>     some idea?
>>
>>     Thank you.
>>
>>     Lide
>>     ------------------------------------------------------------------------
>>
>>     _______________________________________________
>>     Gems-users mailing list
>>     Gems-users@xxxxxxxxxxx <mailto: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/
>>      <https://lists.cs.wisc.edu/archive/gems-users/ >" to your search.
>>
>>
>
>     _______________________________________________
>     Gems-users mailing list
>     Gems-users@xxxxxxxxxxx <mailto: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.
>
>

_______________________________________________
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→]