Re: [Gems-users] problems building GEMS


Date: Mon, 15 May 2006 16:09:52 -0400 (EDT)
From: Daniel Nussbaum - Sun Microsystems - Burlington United States <dn142869@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Gems-users] problems building GEMS
> 
> Date: Mon, 15 May 2006 15:01:58 -0500
> From: Mike Marty <mikem@xxxxxxxxxxx>
> 
> >
> >On to the next problem.  It looks like I have some kind of library
> >incompatibility of some kind -- see transcript below.
> >
> >Any ideas?
> >
> 
> This is related to libstdc++ I think.  Configuring Simics via the
> simics/x86-linux/configure script is supposed to solve this.  We
> usually just copy the libstdc++ that our compiler uses into the
> simics/x86_linux/sys/lib directory.  Not sure if this is the right
> way to do this, but it seems to work for us.
> 
> cp /usr/lib/libstdc++.so.5 $GEMS/simics/x86-linux/sys/lib
> cp /lib/libgcc_s.so.1 $GEMS/simics/x86-linux/sys/lib/
> 
> 
> (replace /usr/lib/libstdc++.so.5 with the right path to your compiler)
> 
> --Mike
> 

I think I did that.  I haven't tried reconfiguring my simics
installation yet (note that we're using the user-install.sh script to
support multipple simics users from a single main install tree).

Incidentally, I'm using a recently-built gcc 3.4.6 (32-bit build).
The version of libstdc++.so it generates is libstdc++.so.6 (.0.3).
I suspect

I'll play with it a bit and report if anything interesting comes up.

Thanks.

dann
[← Prev in Thread] Current Thread [Next in Thread→]