Re: [Gems-users] Fwd: ruby/opal "version 'GCC_4.2.0' not found" error


Date: Wed, 24 Dec 2008 18:15:59 -0500
From: Greg Byrd <gbyrd@xxxxxxxx>
Subject: Re: [Gems-users] Fwd: ruby/opal "version 'GCC_4.2.0' not found" error
Since you compiled correctly, I suspect this has to do with dynamic libraries. Try setting the LD_LIBRARY_PATH environment variable to point to the same libraries you used during the compilation step.

You need to look for stdc++ and gcc_s libraries that do not include the "4.2.0" symbol. Use the "strings" command to check. For example, this is the library that's built with the 3.4.6 release of gcc:

% strings libgcc_s.so.1 | grep GCC
GCC_3.0
GCC_3.3
GCC_3.3.1
GCC_3.4
GCC_3.4.2
%

As long as you don't see "GCC_4.2.0", it should work.




Basavaraj Talwar wrote:
Hi,

I am new to Simics and GEMS.

I downloaded Simics 3.0.31 and gems 2.1, and followed all the
instructions "Setup for Simics 3.0.x" and "QuickStart" pages.

I have no problems in compiling simics and gems (in two systems: FC9 -
gcc version 4.3.0 & CentOS 5.2 - gcc version 4.1.2). In both systems,
when i try to load module "ruby" and/or "opal" into simics after
loading a checkpointed system, changing instruction fetch mode,
disabling istc and dstc, I receive following errors:

simics> load-module ruby
Error loading module 'ruby': Failed to load module 'ruby'
('/home/tmpuser/icn.tools/gems-2.1/simics_3_workspace/x86-linux/lib/ruby.so'):
"version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)"

simics> load-module opal
Error loading module 'opal': Failed to load module 'opal'
('/home/tmpuser/icn.tools/gems-2.1/simics_3_workspace/x86-linux/lib/opal.so'):
"version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)"

simics> list-failed-modules

Current ABI version: 1406  Lowest supported: 1302

Name  Error
-------------------------------------------------------------------------
     No module name in module
     No module name in module
opal  version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
ruby  version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)


This is the same problem discussed here:
https://lists.cs.wisc.edu/archive/gems-users/2006-September/msg00267.shtml.
i have tried the solutions suggested in the follow-ups. But the
problem still persists.
Any help would be greatly appreciated.

Thanks in advance.

Basavaraj T,
ECE, IISc,
Bangalore.




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