Re: G++ Linking issue : hidden symbol `__dso_handle'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks a lot for the help Ian. Yeah I could see allmost all the libs are showing this,
$ readelf -s <Lib_Name> | grep "__dso_handle"
    99: 00034dc0     0 OBJECT  LOCAL  HIDDEN   22 __dso_handle
Does this present in the symbol table ? Whats the significance of it?

Thanks,
Rajat

----- Original Message ----
From: Ian Lance Taylor <iant@xxxxxxxxxx>
To: Rajat <myself_rajat@xxxxxxxxx>
Cc: gcc-help@xxxxxxxxxxx
Sent: Wednesday, September 16, 2009 11:44:53 AM
Subject: Re: G++ Linking issue : hidden symbol `__dso_handle'

Rajat <myself_rajat@xxxxxxxxx> writes:

> ---------------------------------------------------------------------------------------------------------------------------------------------------------- /usr/bin/ld: <binary_name>: hidden symbol `__dso_handle' in /usr/lib/gcc/i386-redhat-linux/3.4.6/crtbegin.o is referenced by DSO
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: ld returned 1 exit status

Use readelf -s to find out which shared library is referring to
__dso_handle.  Figure out why it is doing that.

Ian



      

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux