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


Date: Fri, 29 Sep 2006 16:38:53 +0200
From: mehmetderin.harmanci@xxxxxxx
Subject: Re: [Gems-users] ruby/opal "version 'GCC_4.2.0' not found" error
  Hello,

   I had a very similar problem of loading ruby a few weeks ago when our
  system manager did an update on gcc. In my case, the problem was that
  ruby.so depended on some generic gcc module but it tried to use the copy
  of the module the simics installation directory instead of the one
  provided by the linux box. Since the module in simics installation (which
  came together with simics) was not updated with respect to the new update
  I got the same error as you did. So, for my case the solution was the
  following:

  1) I did the ldd on ruby.so (as you did below) and found out that it was
     trying to access module "libgcc_s.so.1" in the directory
     $SIMICS_INSTALLATION/x86-linux/sys/lib.

  2) I moved this module away form this directory.

  I guess this worked because the system was forced to look for the same
  library in its onw  gcc libraries and finding it there there were no
  conflicting dependencies left.

  I hope the above experience can help you,

      Best Regards,

         Derin Harmanci.



Quoting Robert Guziolowski <rguziolo@xxxxxxxx>:

> Dan Gibson wrote:
> > Hi Robert,
> > You might have some lingering GCC 4.0.2 object files floating around in
> > your GEMS and/or Simics directories.
> > Here is what I recommend.
> > * Do make clean for both Ruby and Opal.
> > * Delete the Ruby and Opal .so files... they are in
> > $GEMS/simics/[platform]/lib
> > * Verify the GEMS makefiles are set to use your gcc 3.2.3 installation
> > instead of gcc 4.x (sounds like you've done this)
> > * Set your $GEMS/simics/compiler.mk file to use gcc 3.2.3 instead of
> > simply "gcc". It could be that the simics build process (which is just
> > about invisible, nearly impossible to change, and invoked automatically
> > by our (GEMS's) Makefiles) is still using gcc 4.x.
> >
> > Regards,
> > Dan Gibson
>
> Thanks, but unfortunately, it changes nothing. The error stays the same
> (GCC_4.2.0 not found, it is _not_ a typo).
> Any more suggestions, please?
>
> (below some more data)
>
> simics> load-module ruby
> Error loading module 'ruby': Failed to load module 'ruby'
>
('/local/rguziolo/simulators/gems-1.3.1/simics_3_workspace/x86-linux/lib/ruby.so'):
> "version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)"
>
> [rguziolo@imu lib]$ ldd ruby.so
>          linux-gate.so.1 =>  (0xffffe000)
>          libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7bea000)
>          libz.so.1 => /usr/lib/libz.so.1 (0xb7bd7000)
>          libsimics-common.so => not found
>          libm.so.6 => /lib/libm.so.6 (0xb7bb2000)
>          libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7ba5000)
>          libc.so.6 => /lib/libc.so.6 (0xb7a72000)
>          /lib/ld-linux.so.2 (0x80000000)
>
> [rguziolo@imu lib]$ ldd libstdc++.so.6
>          linux-gate.so.1 =>  (0xffffe000)
>          libm.so.6 => /lib/libm.so.6 (0x00cd2000)
>          libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00a70000)
>          libc.so.6 => /lib/libc.so.6 (0x00b9d000)
>          /lib/ld-linux.so.2 (0x80000000)
>
> Best regards,
> (::)
>
> >
> > Robert Guziolowski wrote:
> >> Hi,
> >>
> >> I am rather new to Simics and GEMS.
> >> I downloaded Simics 3.0.19 and GEMS 1.3.1, and followed all the
> >> instructions "Setup for Simics 3.0.x" and "QuickStart" pages.
> >> When I was compiling with gcc 4.1.1 (fedora core 5) I got errors:
> >> error: extra qualification 'NetDest::' on member 'vecIndex'
> >> while with gcc 3.2.3, those errors were not existing and both ruby and
> >> opal compiled successfully (thus, finally for opal and ruby i am using
> >> gcc 3.2.3).
> >> Nevertheless, while I am trying to load module "ruby" and/or "opal"
> >> into simics (installed out-of-the-box) 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'
> >>
>
('/local/rguziolo/simulators/gems-1.3.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'
> >>
>
('/local/rguziolo/simulators/gems-1.3.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: 1354  Lowest supported: 1302
> >>
> >> Name  Error
> >> -------------------------------------------------------------------------
> >>       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)
> >>
> >>
> >>
> >> What I am doing wrong?
> >>
> >> Best regards,
> >> (::)
> >>
> >> _______________________________________________
> >> 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.
> >
> >
>
>
> --
>
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> _/
> _/    _/_/_/_/_/
> _/  _/          _/  Robert P. Guziolowski (Robert.Guziolowski@xxxxxxxx)
> _/  _/  _/  _/  _/  PhD Student, Project CAPS
> _/  _/          _/  Bureau E318, niveau rouge, tel +33 (0)2 99 84 25 61
> _/  _/  _/  _/  _/  IRISA-INRIA, Campus de Beaulieu, 35042 Rennes,France
> _/  _/          _/  Tél: +33 (0)2 99 84 73 34, Fax: +33 (0)2 99 84 71 71
> _/    _/_/_/_/_/
> _/
>
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
>


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