Re: [Gems-users] Error loading 'ruby' module


Date: Tue, 19 Dec 2006 00:06:41 -0600
From: Philip Garcia <pcgarcia@xxxxxxxx>
Subject: Re: [Gems-users] Error loading 'ruby' module
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

did you rerun the simics configure script specifying the new CC and CXX parameters? Also check to make sure the right library files were copied into the simics lib directory.

phil
On Dec 18, 2006, at 11:29 PM, Mike Marty wrote:

Appears to be a C++ ABI mismatch somewhere

--Mike


-----Original Message-----
From: gems-users-bounces@xxxxxxxxxxx [mailto:gems-users-
bounces@xxxxxxxxxxx] On Behalf Of Dan Gibson
Sent: Monday, December 18, 2006 9:36 PM
To: Gems Users
Subject: Re: [Gems-users] Error loading 'ruby' module

Did you make clean? in gems/ruby and gems/slicc?

Regards,
Dan

Wei Chen wrote:

Hi,

I'm trying to run Gems on Simics 3.0.

My current machine is Fedora core 4.0 with gcc 4.1.1. Previously, I was confronted with some compilation errors. I checked the archive of this
mail list and installed gcc 3.3.6 to /opt/gcc3.3.6. In
$gems/ruby/module/Makefile, MODULE_LDFLAGS is changed to include
-Wl,-R/opt/gcc3.3.6/lib.

Then I recompiled ruby as instructed by the documentation, configued
simics, etc...However, the following erros happened:

simics> load-module ruby
Error loading module 'ruby': Failed to load module 'ruby'
('/home/gems-release1.3.1/simics_3_workspace/x86-linux/lib/ ruby.so'):
"undefined symbol:
_ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvj"

I used ldd for ruby.so:
      linux-gate.so.1 =>  (0x001c0000)
       libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x001c1000)
       libz.so.1 => /usr/lib/libz.so.1 (0x00436000)
       libsimics-common.so => not found
       libm.so.6 => /lib/libm.so.6 (0x00111000)
       libgcc_s.so.1 => /opt/gcc3.3.6/lib/libgcc_s.so.1 (0x002b5000)
       libc.so.6 => /lib/libc.so.6 (0x00ed1000)
       /lib/ld-linux.so.2 (0x0048d000)

I tried to find out what this message indicates, but got little idea.

I'd rather appreciate any kind of information related to my problem.
Thanks.

-Wei
_______________________________________________
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.

_______________________________________________
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.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFFh4FxkSK2LwjyZ3wRAtayAJ9UKnmeCffjWunsUeU3H81RMVDGxACeM7sM
79Ify5JM1qtYbCi1UUs18A4=
=W+UH
-----END PGP SIGNATURE-----
[← Prev in Thread] Current Thread [Next in Thread→]