From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11874 invoked by alias); 28 Jul 2008 16:38:33 -0000 Received: (qmail 11866 invoked by uid 22791); 28 Jul 2008 16:38:32 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 28 Jul 2008 16:38:13 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KNVjZ-0003zZ-UG for gcc-help@gcc.gnu.org; Mon, 28 Jul 2008 16:38:06 +0000 Received: from gibraltar.iam.uni-bonn.de ([131.220.223.4]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Jul 2008 16:38:05 +0000 Received: from Ralf.Wildenhues by gibraltar.iam.uni-bonn.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Jul 2008 16:38:05 +0000 To: gcc-help@gcc.gnu.org From: Ralf Wildenhues Subject: Re: Link error Date: Tue, 29 Jul 2008 08:56:00 -0000 Message-ID: References: <8E460D1B58F94945A20AA70D4D41430D052DEACB@ALPMLVEM08.e2k.ad.ge.com> <488DBB56.30309@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-07/txt/msg00298.txt.bz2 Andrew Haley redhat.com> writes: > Vardhan, Sundara (GE Infra, Energy) wrote: > > /lib/libc.a(moveeq.o):moveeq.s:(.pr+0xc): undefined reference to > > `.___memmove' > > Ouch. You're linking statically against libc. I don't know what's > causing this, but I suspect it's a Bad Thing. /lib/libc.a typically is/contains a shared object on AIX. Yes, AIX is confusing. Cheers, Ralf