From: Kelledin <kelledin+AXP@skarpsey.dyndns.org>
To: axp-list@redhat.com
Subject: Shared objects+global variables?
Date: Wed, 13 Nov 2002 22:21:28 -0500 [thread overview]
Message-ID: <200211132121.28796.kelledin+AXP@skarpsey.dyndns.org> (raw)
I recently ran into some problems compiling Linux-PAM, and I've
traced it back to a deficiency in the current GNU toolchain for
alpha (gcc-3.2, glibc-2.2.5, binutils-2.13). Apparently, a
shared object is not permitted to reference its own global
variables; whenever I try to compile a library that does this,
ld complains about "gp-relative relocations" and refuses to
link.
Is this normal on alpha platforms? It's most certainly not
normal on x86...
--
Kelledin
"If a server crashes in a server farm and no one pings it, does
it still cost four figures to fix?"
next reply other threads:[~2002-11-14 3:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-14 3:21 Kelledin [this message]
2002-11-14 6:55 ` Shared objects+global variables? Richard Henderson
2002-11-14 12:56 ` Kelledin
2002-11-14 13:11 ` Kelledin
2002-11-14 21:37 ` Ted Goodridge
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