This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Linking with -lc
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- To: "Harris, Jeff" <JeffH at aiinet dot com>
- Cc: "'binutils at sources dot redhat dot com'" <binutils at sources dot redhat dot com>
- Date: Wed, 7 May 2003 21:37:13 +0200
- Subject: Re: Linking with -lc
- References: <3B785392832ED71192AE00D0B7B0D75B1C6496@aimail.aiinet.com>
Harris, Jeff wrote:
> I am experiencing a strange linking problem since upgrading my binutils to
> 2.14.90.0.1. I have a GCC version 3.2.3 cross-compiler for powerpc with
> soft floating point. I am using GLIBC 2.3.2.
[snip]
> /usr/local/ai/ppc8xx-lx2.4-1.00rc4/bin/powerpc-ai-linux-gcc -g fp1.c
> -o cfp1 -L. -lcfp
> ./libcfp.so: undefined reference to `__muldf3@GLIBC_2.3.2'
> collect2: ld returned 1 exit status
[snip]
> Is there anything I can do to fix this situation without modifying the
> package? It seems like a bug in the loader or perhaps a deprecated feature.
> I would appreciate any suggestions.
The problem is old glibc imported some symbols accidentially from libgcc
and stopped to do so.
http://sources.redhat.com/ml/libc-alpha/2002-08/msg00189.html
is probably a good starting point.
Thiemo