From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,5c348967265428dc X-Google-Attributes: gid111c93,public From: Robert Harley Subject: Re: assembler error Date: 1999/07/12 Message-ID: #1/1 X-Deja-AN: 500137666 Content-Transfer-Encoding: 8bit References: <3787FEF9.986F59C8@swol.de> Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@inria.fr X-Trace: ites.inria.fr 931793396 29744 128.93.11.84 (12 Jul 1999 15:29:56 GMT) Organization: I.N.R.I.A Rocquencourt Mime-Version: 1.0 NNTP-Posting-Date: 12 Jul 1999 15:29:56 GMT Newsgroups: comp.os.linux.alpha AndreHeidenreich 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.