>>> Rich Payne said:
>
> So I've been playing around with Alsa the last few days and come accross
> something rather strange. I've tried compiling it on 4 different machines
> (LX,SX,UP2000,UP1000). Now on the LX and the SX it compiles fine, on the
> other two it will only compile if the kernel source tree is setup as
> generic, if it's specific (DP264 for the UP2000 or Nautilus for the
> UP1000). The compile fails with lots of:
>
> {standard input}: Assembler messages:
> {standard input}:30: Error: macro requires $at register while noat in
> effect
>
> in several of the Alsa files (isadma.c etc..). Anyone??
There's something wrong in either the arch/alpha/Makefile or in how the
CFLAGS gets inherited by the ALSA package.
These errors typically occur when the assembler encounters an opcode which
it has *not* been told to handle, like the EV56/EV6 opcodes ldb/stb. In that
case, it attempts to use some macros that will perform the desired operation
on the older CPUs, but the macros have bugs, hence the messages.
There's one file in XFree86 that requires building with the special assembler
flag "-Wa,-m21164a", for just this case.
What I suspect is happening is that the compiler is being told to compile
for EV6, but the assembler isn't being told to *accept* EV6 opcodes.
Good luck in tracking this down... ;-}
--Jay++
-----------------------------------------------------------------------------
Jay A Estabrook Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080
200 Forest Street, Marlboro, MA 01752 Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------
-- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
This archive was generated by hypermail version 2a22 on Tue Feb 1 05:33:32 2000 PST
Send any problems or questions about this archive to webmaster@alphalinux.org.