From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1633 invoked by alias); 2 May 2003 14:39:02 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 1623 invoked from network); 2 May 2003 14:39:01 -0000 Received: from unknown (HELO rwcrmhc51.attbi.com) (204.127.198.38) by sources.redhat.com with SMTP; 2 May 2003 14:39:01 -0000 Received: from lucon.org (12-234-88-5.client.attbi.com[12.234.88.5]) by rwcrmhc51.attbi.com (rwcrmhc51) with ESMTP id <2003050214390005100m4bome>; Fri, 2 May 2003 14:39:00 +0000 Received: by lucon.org (Postfix, from userid 1000) id 9FBF32C681; Fri, 2 May 2003 07:39:00 -0700 (PDT) Date: Fri, 02 May 2003 14:39:00 -0000 From: "H. J. Lu" To: binutils@sources.redhat.com Subject: Re: libc divdi3 and libgcc Message-ID: <20030502073900.A15380@lucon.org> References: <20030502101224.GI924@bubble.sa.bigpond.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030502101224.GI924@bubble.sa.bigpond.net.au>; from amodra@bigpond.net.au on Fri, May 02, 2003 at 07:42:24PM +0930 X-SW-Source: 2003-05/txt/msg00037.txt.bz2 On Fri, May 02, 2003 at 07:42:24PM +0930, Alan Modra wrote: > HJ, > I think your 2003-04-27 change broke ld. > > Configuring gcc with > /src/gcc-3.3/configure --prefix=/usr/local --build=i686-linux \ > --host=i686-linux --target=i686-linux --disable-nls --enable-shared \ > --enable-languages=c,c++ > > I see > > stage1/xgcc -Bstage1/ -B/usr/local/i686-linux/bin/ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -o cc1 \ > c-parse.o c-lang.o c-pretty-print.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-objc-common.o c-dump.o libcpp.a main.o libbackend.a ../libiberty/libiberty.a > /lib/libc.so.6(*IND*+0x0): multiple definition of `__divdi3' > stage1/libgcc.a(_divdi3.oS)(.text+0x0):/src/gcc-3.3/gcc/libgcc2.c:737: first defined here > > __divdi3 in libc is FUNC GLOBAL DEFAULT, > in _divdi3.oS it is FUNC GLOBAL HIDDEN > I am using the current binutils on gcc gcc-3_2-rhl8-branch and gcc mainline. I have no problems. I will check out gcc 3.3. H.J.