DSO reference error with binutils 2.14

Jakub Jelinek jakub@redhat.com
Fri May 14 15:05:00 GMT 2004


On Fri, May 14, 2004 at 06:46:22PM +0530, Vijayaraghavan R wrote:
> Hi,
> 
> While trying to build some shared library and executable , I get the 
> following error with ld:
>         hidden symbol `__fixunssfdi' in 
> /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/libgcc.a(_fixunssfdi.oS) is 
> referenced by DSO
>        collect2: ld returned 1 exit status
> 
> I notice through google that there have been some forums where this 
> issue is discussed but I could not spot an official binutils fix for the 
> problem. Do we have one or can we get one ? The RHAS 3.0 system where I 
> get the error currently has:
> 
> binutils-2.14.90.0.4-26
> Linux host.domain 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 
> i386 GNU/Linux

Isn't the shared library linked with ld -shared instead of gcc -shared?
If yes, please use gcc -shared or g++ -shared.

	Jakub



More information about the Binutils mailing list