From: Andrew Haley <aph@redhat.com>
To: "Vardhan, Sundara (GE Infra, Energy)" <sundara.vardhan@ge.com>
Cc: Rob Sherry <rsherry@ahfc.state.ak.us>, gcc-help@gcc.gnu.org
Subject: Re: Link error
Date: Mon, 28 Jul 2008 13:26:00 -0000 [thread overview]
Message-ID: <488DBB56.30309@redhat.com> (raw)
In-Reply-To: <8E460D1B58F94945A20AA70D4D41430D052DEACB@ALPMLVEM08.e2k.ad.ge.com>
Vardhan, Sundara (GE Infra, Energy) wrote:
> Hi Andrew
Hi. Could I please ask you to stop stop-posting? It's
getting very confusing.
> I checked libc.a using nm and .__memmove is defined. The following is the compile/load line where it fails
>
> gcc -W1,-soname=x.so -o x.so .*I6.o -shared -Wall -D__USE_GNU -D_GNU_SOURCE -DDEBUG -DLEAVE_OUT_REV_ID -O2 -D_ALL_SOURCE -Drs6000 -D__EXTENSIONS__ -I/usr/openwin/include -DAIX53 -U__MATH__ -DAIX -DRS6000 -fPIC -L<libpath> -lsbI6 -L<libpath> -ldbI6
> /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.
Andrew.
next prev parent reply other threads:[~2008-07-28 12:28 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-24 21:03 Vardhan, Sundara (GE Infra, Energy)
2008-07-24 23:55 ` Rob Sherry
2008-07-25 13:32 ` Vardhan, Sundara (GE Infra, Energy)
2008-07-28 11:41 ` Andrew Haley
2008-07-28 12:14 ` Vardhan, Sundara (GE Infra, Energy)
2008-07-28 13:26 ` Andrew Haley [this message]
2008-07-29 8:56 ` Ralf Wildenhues
2008-07-29 11:49 ` Andrew Haley
2008-07-29 13:43 ` Vardhan, Sundara (GE Infra, Energy)
[not found] <AANLkTiniPnQ-ioijpQXhMC1ygSqNSZsEGW2O-OVS5Qa8@mail.gmail.com>
2010-08-12 10:18 ` Andrew Haley
-- strict thread matches above, loose matches on Subject: below --
2009-04-01 13:23 link error Duan Wang
2009-04-01 13:42 ` Axel Freyn
2008-08-15 20:39 Link error Vardhan, Sundara (GE Infra, Energy)
2008-07-24 10:04 Vardhan, Sundara (GE Infra, Energy)
2005-10-21 20:22 link error Moon Hwang
2005-10-21 23:08 ` Brian Dessent
2002-10-17 8:11 Link error HKOELMAN
2002-08-13 6:54 Link Error Tom Browder
2002-08-13 7:16 ` Ish Rattan
2002-08-13 7:30 ` Tom Browder
2002-08-13 7:59 ` Ish Rattan
2001-06-05 14:22 link error Alex Fridman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=488DBB56.30309@redhat.com \
--to=aph@redhat.com \
--cc=gcc-help@gcc.gnu.org \
--cc=rsherry@ahfc.state.ak.us \
--cc=sundara.vardhan@ge.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).