From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26240 invoked by alias); 29 Jul 2008 08:56:51 -0000 Received: (qmail 26224 invoked by uid 22791); 29 Jul 2008 08:56:49 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 29 Jul 2008 08:56:27 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m6T8uP3p001364; Tue, 29 Jul 2008 04:56:25 -0400 Received: from zebedee.pink (vpn-12-139.rdu.redhat.com [10.11.12.139]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m6T8uN8D032204; Tue, 29 Jul 2008 04:56:24 -0400 Message-ID: <488EDB2D.9070506@redhat.com> Date: Tue, 29 Jul 2008 11:49:00 -0000 From: Andrew Haley User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: Ralf Wildenhues CC: gcc-help@gcc.gnu.org Subject: Re: Link error References: <8E460D1B58F94945A20AA70D4D41430D052DEACB@ALPMLVEM08.e2k.ad.ge.com> <488DBB56.30309@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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/msg00300.txt.bz2 Ralf Wildenhues wrote: > 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. heh. :-) Andrew.