This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: binutils 2.14 ld __dso_handle error


On Mon, Jan 26, 2004 at 02:52:26PM -0500, Kenneth McNamara wrote:
> I've seen some indication that this may be an 'ld' (Gnu Linker) bug - 
> if not, please excuse this email.
> 
> Fresh download and local compile of binutils 2.14 over the last 
> weekend.  This is a Redhat 8.0 system with a locally compiled 2.4.20 
> real time (rtai) kernel.
> 
> Compiling a medium complex product named EMC (which has been compiled 
> successfully by other people - but not on this system).
> 
> Error is:
> 
> /usr/local/bin/ld:  /usr/local/emc/plat/linux_rtai/bin/testppt : hidden 
> symbol '__dso_handle' in 
> /usr/lib/gcc-lib/i386-redhat-linux/3.2/crtbegin.o is referenced by DSO
> 
> 

You may have created a shared library without using "gcc -shared".

H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]