Hi Arun, 

I'm using a version from savannah mentioned in perftools: 
 
http://download.savannah.nongnu.org/releases/libunwind/libunwind-snap-070410.tar.gz
but I can try downloading from git if it's likely to be more up-to-date. 

Thanks very much for the linking suggestion.  I couldn't find -lgcc_eh (maybe 
because my gcc was compiled with "--enable-shared=libstdc++"?) but I was able 
to compile using "libgcc.a libunwind.a libstdc++.a".  Are there any drawbacks 
to using this instead?  Just for curiosity's sake, why does adding libgcc 
resolve the multiple definition error? 

I guess the warnings in perftools/INSTALL about static linkage apply to my case 
(since I'm linking with the *.a files).  I will add the --eh-frame-hdr linker 
option as suggested.  Do you know of any other caveats?  I'd prefer to not have 
to install these libraries everywhere if possible - do you think this setup 
will work given that the app is compiled on a 32 bit machine and run on x86_64?

Thanks again, 
--Adam. 


Arun Sharma <[EMAIL PROTECTED]> wrote: On Tue, Feb 26, 2008 at 4:50 PM, Adam 
Portley <[EMAIL PROTECTED]> wrote:
  Is this the correct mailing list for basic libunwind usage questions?  I 
tried subscribing at [EMAIL PROTECTED] as described in the package README and 
received an error message in reply.
  
Adam, which version of libunwind are you using? I'd suggest using the version 
in git.
Can you try -lgcc_eh -lunwind -lstdc++ in that order?

Yes, this is the right mailing list.

 -Arun
 


 

       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to