Re: [Gems-users] undefined symbol linking opal


Date: Tue, 11 Jul 2006 14:05:50 -0400
From: Will Simoneau <simoneau@xxxxxxxxxxx>
Subject: Re: [Gems-users] undefined symbol linking opal
Ruby links OK...

On 18:05 Mon 10 Jul     , Mike Marty wrote:
> I doubt the demangler changed from version 3.4.1 to 3.4.6, but I could be wrong.  Does this happen with Ruby too?  Both Ruby and Opal use initvar_dispatch_set as it is part of $GEMS/common
> 
> --Mike
> 
>   ----- Original Message ----- 
>   From: Dan Gibson 
>   To: Gems Users 
>   Sent: Monday, July 10, 2006 5:45 PM
>   Subject: Re: [Gems-users] undefined symbol linking opal
> 
> 
> 
>   If I remember correctly, this message is a result of using a too-recent version of GCC. The mangler/demangler changes with the compiler version, to the point where the mangled "initvar_dispatch_set" symbol (and others) doesn't match what Simics expects it to be.
> 
>   Since you're using gentoo, I would expect you could "emerge" an earlier version of gcc. We use 3.4.1 internally.
> 
>   Regards,
>   Dan Gibson
> 
>   Will Simoneau wrote: 
> I am trying to get GEMS 1.2 + Simics 2.2.19 working. While linking opal
> I get this:
> 
> Linking opal.so
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld:
> warning: creating a DT_TEXTREL in object.
> /research/simoneau/simics-2.2.19/x86-linux/lib/opal.so:
> /research/simoneau/simics-2.2.19/x86-linux/lib/opal.so: undefined
> symbol: _Z20initvar_dispatch_setPvP11conf_objectP10attr_valueS3_
> gmake[2]: *** [/research/simoneau/simics-2.2.19/x86-linux/lib/opal.so]
> Error 1
> gmake[2]: *** Deleting file
> `/research/simoneau/simics-2.2.19/x86-linux/lib/opal.so'
> make[1]: *** [opal] Error 2
> make[1]: Leaving directory
> `/research/simoneau/simics-2.2.19/x86-linux/lib'
> make: *** [module] Error 2
> 
> GCC is version 3.4.6 as you can see from the paths... what's going on
> here? I've followed the quick setup guide as far as I know, including
> copying the system libstdc++.so.5 into the Simics lib directory. If it
> matters, the host distribution is Gentoo.
>   ----------------------------------------------------------------------------
> _______________________________________________
> 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.
> 

Attachment: pgpvOiebfMFRs.pgp
Description: PGP signature

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