* Re: $at register while noat
@ 1998-02-14 3:29 Michal Jaegermann
1998-02-14 3:56 ` Michal Jaegermann
0 siblings, 1 reply; 4+ messages in thread
From: Michal Jaegermann @ 1998-02-14 3:29 UTC (permalink / raw)
Sorry to follow my own message but I realized that Richard Henderson
already was answering a similar question (turned out to be gcc 2.8.0
and not egcs). Here it is:
"You'll have to arrange for -m21164a to be passed to the assembler,
perhaps via the specs file."
My memory is just to short. :-( We will see if this will work.
I still do not know what caused 'autoheader' to be acceptable
with egcs-1.0.1 and caused trouble with a later snapshot.
Thanks,
Michal
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: $at register while noat
1998-02-14 3:29 $at register while noat Michal Jaegermann
@ 1998-02-14 3:56 ` Michal Jaegermann
0 siblings, 0 replies; 4+ messages in thread
From: Michal Jaegermann @ 1998-02-14 3:56 UTC (permalink / raw)
Saga continues. Doctoring specs file following an advice of Richard
Henderson indeed killed all these "Error: macro requires $at register
while noat in effect" messages. Still I got:
/tmp/cca13650.s: Assembler messages:
/tmp/cca13650.s:4: Error: Unknown pseudo-op: `.arch'
Both with "distribution gcc" and egcs-1.0.1. Sigh! Some other funky
assembler option? My info file on gas is numb on the subject.
Any advice, please,
Michal
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <199802140356.UAA06629@ellpspace.math.ualberta.ca>]
* Re: $at register while noat
[not found] <199802140356.UAA06629@ellpspace.math.ualberta.ca>
@ 1998-02-14 20:54 ` Michal Jaegermann
0 siblings, 0 replies; 4+ messages in thread
From: Michal Jaegermann @ 1998-02-14 20:54 UTC (permalink / raw)
Well, nobody volunteered to jump in so I plodded by myself. :-)
I grabbed gas-970915 from ftp.cygnus.com and tried with that one.
Following my best guess I configured it with this command:
./configure --target=alpha-elf64-linux-gnu
as simple './configure' does not work. It responded that
it configures itself with 'alphaev5-unknown-linux-gnu', which
worries me a bit, and proceeded merilly, after 'make', to build.
The reason I am a bit worried is that this is indeed 'ev56' cpu
but does that mean that my resulting assembler will be unusable
on 'ev4' kind of machine? README file in bfd subdirectory says:
"The documentation on using BFD is scanty and may be occasionally
incorrect" and it lives up to that promise. 1/2 :-)
I will be really obliged if somebody "in the know" confirm that I
did not commited any grave errors in my procedure or point out why
I am far in a left field.
My new assembler is statically linked with bfd libraries in order
to leave /usr/lib/libbfd.so.2.8.1.0.1, which came with a system,
untouched. I'd rather leave it alone on such experiments.
After /usr/bin/as become a link to my brave new assembler egcs-980205
snapshot compiled without any further complaints. I was even foolish
enough to recompile a kernel with it and to boot with it my box.
So far, after roughly an hour of uptime, so good. :-) A visible
change is that kernels compiled with egcs drop in size. For the
same kernel (2.0.33, patched) here are sizes for /vmlinux.gz
578479 for gcc from RH 5.0 distribution
556971 for egcs-1.0.1
534798 for egcs-980205
Oh, modules compiled with any compiler will work with any of these
kernels. It is only kernel version which matters (I do not bother
with module versioning). So far a few which I tried went in, with
ismod, and out, with rmmod, smoothly. Not even a need for stripping
debug symbols.
I encountered one problem with a compilation when using egcs-980205.
While compiling drivers/pci/pci.c I got:
gcc: Internal compiler error: program cc1 got fatal signal 6
Dropping optimization from -O2 to -O for this one particular file
allowed to finish compilation without any further incidents.
Hope that the above will help if somebody else will have an urge
to try similar things.
Michal
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* $at register while noat
@ 1998-02-14 1:54 Michal Jaegermann
0 siblings, 0 replies; 4+ messages in thread
From: Michal Jaegermann @ 1998-02-14 1:54 UTC (permalink / raw)
I am trying to compile on Alpha egcs-980205 snapshot. Everything
was fine until I got to a compilation of 'enquire'. At this moment
I got:
..........
-DIN_GCC -g -O2 -I./include -DNO_MEM -DNO_LONG_DOUBLE_IO -O0 \
-DSYS_FLOAT_H_WRAP=$SYS_FLOAT_H_WRAP \
-I. -c ./enquire.c
/tmp/cca13650.s: Assembler messages:
/tmp/cca13650.s:4: Error: Unknown pseudo-op: `.arch'
/tmp/cca13650.s:639: Error: macro requires $at register while noat in effect
/tmp/cca13650.s:652: Error: macro requires $at register while noat in effect
/tmp/cca13650.s:662: Error: macro requires $at register while noat in effect
/tmp/cca13650.s:714: Error: macro requires $at register while noat in effect
.....
I guess that this means that I need another assembler, right?
Which one? RH 5.0 includes binutils-2.8.1 and this seems to be the
latest version available from ftp.gnu.org. Anybody knows for sure?
BTW - there is another small mystery. I had a problem when Makefile
tried to execute 'autoheader' and could not find anything like that.
The funny thing is that this line is exactly the same in a corresponding
Makefile for egcs-1.0.1 and this one compiles without any problems.
At the moment I made 'autoheader' into an emtpy operation and
everything seemed to proceed just fine until I hit the problem above.
Or is this 'autoheader' causing the stuff above.
Thanks for any light one can shed,
Michal
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-02-14 20:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-14 3:29 $at register while noat Michal Jaegermann
1998-02-14 3:56 ` Michal Jaegermann
[not found] <199802140356.UAA06629@ellpspace.math.ualberta.ca>
1998-02-14 20:54 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
1998-02-14 1:54 Michal Jaegermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox