From: Kelledin <kelledin+AXP@skarpsey.dyndns.org>
To: axp-list@redhat.com
Subject: Re: gp-relative relocation against dynamic symbol SwGlobalDocShell::pObjectFactory
Date: Sat, 16 Aug 2003 12:15:52 -0500 [thread overview]
Message-ID: <200308161215.52948.kelledin+AXP@skarpsey.dyndns.org> (raw)
In-Reply-To: <3F3DE4CA.80304@gatworks.com>
On Saturday 16 August 2003 03:01 am, Uncle George wrote:
> What does this statement mean? I cant tell if its an error or
> not
>
> /usr/local/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.2.2/../..
>/../../alphaev56-unknown-linux-gnu/bin/ld:
> /mnt/sdb4/redhat/BUILD/oo_1.0.2_src/solver/641/unxlnga.pro/lib
>/libswlib.a(swlib.o): gp-relative relocation against dynamic
> symbol
> SwGlobalDocShell::pObjectFactory
> /usr/local/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.2.2/../..
>/../../alphaev56-unknown-linux-gnu/bin/ld:
> /mnt/sdb4/redhat/BUILD/oo_1.0.2_src/solver/641/unxlnga.pro/lib
>/libswlib.a(swlib.o): gp-relative relocation against dynamic
> symbol
> SwGlobalDocShell::pObjectFactory
> /usr/local/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.2.2/../..
>/../../alphaev56-unknown-linux-gnu/bin/ld:
> /mnt/sdb4/redhat/BUILD/oo_1.0.2_src/solver/641/unxlnga.pro/lib
>/libswlib.a(swlib.o): gp-relative relocation against dynamic
> symbol
> SwGlobalDocShell::pObjectFactory
> collect2: ld returned 1 exit status
That means libswlib.a wasn't compiled with -fpic or -fPIC. Any
object file or static library that gets linked to a dynamic
library needs to be compiled with -fpic or -fPIC on Alpha,
otherwise you're likely to get the "gp-relative relocation"
error.
--
Kelledin
"If a server crashes in a server farm and no one pings it, does
it still cost four figures to fix?"
next prev parent reply other threads:[~2003-08-16 17:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-16 8:01 gp-relative relocation against dynamic symbol SwGlobalDocShell::pObjectFactory Uncle George
2003-08-16 17:15 ` Kelledin [this message]
2003-08-16 20:36 ` Uncle George
2003-08-17 0:40 ` Kelledin
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox