From: Robert Harley <harley@corton.inria.fr>
Subject: Re: assembler error
Date: 1999/07/12 [thread overview]
Message-ID: <rz7d7xxkhsd.fsf@corton.inria.fr> (raw)
In-Reply-To: 3787FEF9.986F59C8@swol.de
AndreHeidenreich <heid.a@swol.de> writes:
> could anyone explain me the following error i get while executing the
> alpha/linux gas with
> 'as -nocpp -o _divdi3.o _divdi3.s' on an rh6.0 alpha/linux?
>
> _divdi3.s:392: Error: macro requires $at register while noat in effect
>[...]
> ldbu $1,0($1) <-- zeile 392
That's a "load byte" instruction which is part of the BWX extension to
the Alpha instruction set. It only exists on chips from the EV56
onwards. Your assembler probably assumes EV4. Try adding the
"-m21164a" flag to the command line. You can check what your "as"
knows about as follows:
------------------------------------------------------------------------------
> strings `which as` | grep -- -m
-m21064 | -m21066 | -m21164 | -m21164a
-mev4 | -mev45 | -mev5 | -mev56 | -mall
-M,--mri
------------------------------------------------------------------------------
By the way, did you encounter the error when trying to build egcs?
If so read the egcs FAQ entry about configuring for alphaev5 instead
of alphaev56, in case it is relevant to you.
Bye,
Rob.
prev parent reply other threads:[~1999-07-12 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-11 4:00 assembler error AndreHeidenreich
1999-07-11 4:00 ` Solar Designer
1999-07-14 4:00 ` A. Heid.
1999-07-12 4:00 ` Robert Harley [this message]
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