Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Shared objects+global variables?
@ 2002-11-14  3:21 Kelledin
  2002-11-14  6:55 ` Richard Henderson
  0 siblings, 1 reply; 5+ messages in thread
From: Kelledin @ 2002-11-14  3:21 UTC (permalink / raw)
  To: axp-list

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?"




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-11-14 21:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-14  3:21 Shared objects+global variables? Kelledin
2002-11-14  6:55 ` Richard Henderson
2002-11-14 12:56   ` Kelledin
2002-11-14 13:11     ` Kelledin
2002-11-14 21:37       ` Ted Goodridge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox