Linking with -lc

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Wed May 7 19:37:00 GMT 2003


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



More information about the Binutils mailing list