Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
Subject: Re: $at register while noat
Date: Sat, 14 Feb 1998 13:54:51 -0700 (MST)	[thread overview]
Message-ID: <ee274c1df297e597dba3d80e847e6726.axp-list@archive.invalid> (raw)
In-Reply-To: <199802140356.UAA06629@ellpspace.math.ualberta.ca>

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

       reply	other threads:[~1998-02-14 20:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199802140356.UAA06629@ellpspace.math.ualberta.ca>
1998-02-14 20:54 ` Michal Jaegermann [this message]
1998-02-14  3:29 $at register while noat Michal Jaegermann
1998-02-14  3:56 ` Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
1998-02-14  1:54 Michal Jaegermann
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