This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: DSO reference error with binutils 2.14
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Vijayaraghavan R <vijayaraghavan dot ragunathan at oracle dot com>
- Cc: binutils at sources dot redhat dot com, bug-binutils at gnu dot org
- Date: Fri, 14 May 2004 14:46:30 +0200
- Subject: Re: DSO reference error with binutils 2.14
- References: <40A4C6A6.9070109@oracle.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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