Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* "call-clobbered register..."?
@ 1998-11-05 20:23 Bibek Sahu
  0 siblings, 0 replies; 2+ messages in thread
From: Bibek Sahu @ 1998-11-05 20:23 UTC (permalink / raw)
  To: axp-list


	"...include/asm/current.h:4: warning: call-clobbered register used
for global register variable" 

	Does anybody recognize this warning?

	I've been trying to get ggi to work, and this is one of the
hangups I'm having.  It occurrs in <asm/current.h>, because that file
declares a single global variable to be housed in register 8.

	In the initial build, there are errors about functions being
declared before globals (just by including <asm/io.h> or <linux/sched.h>)
which can be gotten around by including <asm/current.h> beforehand.
However, that warning still pops up.  With the problems I'm dealing with,
I wonder if maybe that's a player in some form.

	This occurrs in building a kernel module (kgicon.o, which sits on
top of the kernel framebuffer stuff adding acceleration, etc.).  It makes
little sense to me as this error does not occur when building the kernel
itself, nor when building the standard kernel modules or the ALSA drivers.

	Any ideas?

	I have logs and logs and logs if anyone wants/needs to see those
to get a better idea of what's going on.

sx164, 533MHz
Matrox Millennium II, 4MB
64MB ram, 4GB HD
SB AWE64
RH5.1 with updates
egcs-1.1b
glibc-2.0.7-19

	Thanks for any and all help.

- Bob


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

* Re: "call-clobbered register..."?
@ 1998-11-05 21:29 Christian Groessler
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Groessler @ 1998-11-05 21:29 UTC (permalink / raw)
  To: axp-list



On 5/11/98 21:37:06 Bibek Sahu  wrote:
>
>"...include/asm/current.h:4: warning: call-clobbered register used
>for global register variable"
Do you have "-ffixed-8" in your CFLAGs?

regards,
chris



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

end of thread, other threads:[~1998-11-05 21:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-05 21:29 "call-clobbered register..."? Christian Groessler
  -- strict thread matches above, loose matches on Subject: below --
1998-11-05 20:23 Bibek Sahu

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