This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: redefinition of glibc symbols in libgcc_s
- From: Philippe Haution <philippe_haution at yahoo dot fr>
- To: gcc-help at gnu dot org
- Date: Thu, 9 Dec 2004 21:10:08 +0100 (CET)
- Subject: Re: redefinition of glibc symbols in libgcc_s
I think I found the answer, this was because I was
using ld 2.12, which apparently had a bug that was
corrected in later versions.
http://sources.redhat.com/ml/binutils/2002-08/msg00175.html
PH
--- Philippe Haution <philippe_haution@yahoo.fr> a
écrit :
> Hello,
>
> When linking common open source packages like bonobo
> or Apache http with gcc 3.2.3 (Linux Debian
> 2.4.25-1-686, glibc 2.3.2), I frequently have the
> following error :
>
> /usr/bin/ld: /local00/gcc3.2.3/lib/libgcc_s.so.1:
> warning: unexpected redefinition of
> `__divdi3@GLIBC_2.0'
> /local00/gcc3.2.3/lib/libgcc_s.so.1(*IND*+0x0):
> multiple definition of `__umoddi3@GLIBC_2.0'
> /lib/libc.so.6(.text+0x8a0): first defined here
> /local00/gcc3.2.3/lib/libgcc_s.so.1(*IND*+0x0):
> multiple definition of `__udivdi3@GLIBC_2.0'
> /lib/libc.so.6(.text+0x870): first defined here
> /usr/bin/ld: /local00/gcc3.2.3/lib/libgcc_s.so.1:
> warning: unexpected redefinition of
> `__moddi3@GLIBC_2.0'
> collect2: ld returned 1 exit status
>
> I found some discussions about this issue in the gcc
> mailing lists but they are 2 years old and they did
> not seem to give a solution.
>
> I had a look at the gcc source :
> gcc/config/libgcc-glibc.ver redefines symbols
> already
> exported by glibc so how is it supposed not to clash
> ?
>
> Regards,
>
> PH
>
>
>
>
>
>
> Vous manquez d?espace pour stocker vos mails ?
> Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
> Créez votre Yahoo! Mail sur
> http://fr.benefits.yahoo.com/
>
> Le nouveau Yahoo! Messenger est arrivé ! Découvrez
> toutes les nouveautés pour dialoguer instantanément
> avec vos amis. A télécharger gratuitement sur
> http://fr.messenger.yahoo.com
>
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
Avec Yahoo! faites un don et soutenez le Téléthon en cliquant sur http://www.telethon.fr/030-Don/10-10_Don.asp