Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Compiling 2.1.61 on an Alpha
@ 1997-11-01  5:00 Steven White
  1997-11-05  5:00 ` Kevin Woolley
  0 siblings, 1 reply; 2+ messages in thread
From: Steven White @ 1997-11-01  5:00 UTC (permalink / raw)



I want to try out kernel 2.1.61; right now I'm using 2.0.31, on
my linux/alpha PC164 machine.  However, the kernel won't
compile. After complaining many times about
variable __r16, it dies. Here are some error messages when it
dies:

aic7xxx.c: In function `aic_outsb':
aic7xxx.c:1003: unknown register name `%eax' in `asm'
aic7xxx.c:1003: unknown register name `%ecx' in `asm'
aic7xxx.c:1003: unknown register name `%esi' in `asm'
aic7xxx.c: In function `aic7xxx_free_scb':
aic7xxx.c:1932: warning: `__r16' might be used uninitialized in
this function
aic7xxx.c:1944: warning: `__r16' might be used uninitialized in
this function

I think this variable __r16 refers to a register in an assembler
directive, and I suspect that I can't compile it properly because
I am using only gcc 2.7.2.1, not the required 2.7.2.3. However, I can't
upgrade because 1) there is no redhat RPM for alphas for
2.7.2.3, and 2) the source for gcc 2.7.2.3 says linux/alpha is
not supported! configure tells me:

This appears to be a alpha-unknown-linux system.
Configuration alpha-unknown-linux not supported

So what can I do?!

					Steve White



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

* Re: Compiling 2.1.61 on an Alpha
  1997-11-01  5:00 Compiling 2.1.61 on an Alpha Steven White
@ 1997-11-05  5:00 ` Kevin Woolley
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Woolley @ 1997-11-05  5:00 UTC (permalink / raw)



In article <63dvef$o2i@news.service.uci.edu>,
Steven White <srwhite@uci.edu> wrote:
>I want to try out kernel 2.1.61; right now I'm using 2.0.31, on
>my linux/alpha PC164 machine.  However, the kernel won't
>compile. After complaining many times about
>variable __r16, it dies. Here are some error messages when it
>dies:
>
>aic7xxx.c: In function `aic_outsb':
>aic7xxx.c:1003: unknown register name `%eax' in `asm'
>aic7xxx.c:1003: unknown register name `%ecx' in `asm'
>aic7xxx.c:1003: unknown register name `%esi' in `asm'
  [snip]

	One thing I notice right away is that the registers shown here are
x86/Pentium registers -- are you sure you symlinked /usr/include/asm
correctly?  Check that it points to alpha rather than i386.

		Cheers,

			~kjw




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

end of thread, other threads:[~1997-11-05  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-01  5:00 Compiling 2.1.61 on an Alpha Steven White
1997-11-05  5:00 ` Kevin Woolley

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