From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9618 invoked by alias); 17 Nov 2004 13:28:06 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 9522 invoked from network); 17 Nov 2004 13:27:59 -0000 Received: from unknown (HELO web25210.mail.ukl.yahoo.com) (217.12.10.70) by sourceware.org with SMTP; 17 Nov 2004 13:27:59 -0000 Received: (qmail 45639 invoked by uid 60001); 17 Nov 2004 13:27:58 -0000 Message-ID: <20041117132758.45637.qmail@web25210.mail.ukl.yahoo.com> Received: from [192.54.193.28] by web25210.mail.ukl.yahoo.com via HTTP; Wed, 17 Nov 2004 14:27:58 CET Date: Wed, 17 Nov 2004 13:28:00 -0000 From: Philippe Haution Subject: redefinition of glibc symbols in libgcc_s To: gcc-help@gcc.gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-11/txt/msg00109.txt.bz2 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