Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Harvey J. Stein <hjstein@bfr.co.il>
Subject: Re: Optimal options for egcs optimization?
Date: 15 Dec 1997 12:52:11 +0200	[thread overview]
Message-ID: <67f5603fdf61ace990823e8d7489295b.axp-list@archive.invalid> (raw)

Richard Henderson <rth@dot.cygnus.com> writes:

> Just plain -O2 seems to work best at present.

What about the Haifa instruction scheduler?  Is that a good thing to
use on the Alphas, or would I be better off building with haifa
disabled?

I'm especially concerned about optimization because we're getting
harrassed by the system administrators who want to use 300mhz
Ultra-sparcs instead of Alphas running Linux.  I now have to prove
that the Alphas are sufficiently faster than the Suns to justify
supporting such a <sarcasm>radical</sarcasm> platform.  So, I want to
get the best compiler & compile time options that I can, and I'd
prefer the compiler to be gcc.  I suppose I could argue that if
they're going to use Sun's C compiler, then they should use DEC's C
complier on the Linux/Alpha boxes (by statically linking under DEC
Unix), but then we'd have to get a DEC box, and they already have the
sun box, and ...

> > Also, the -mcpu=21164a failed in compilation with lots of complaints
> > about the $at register being used in a noat environment again.
> 
> You need a newer binutils for that.  The one from RH5 should be
> just fine, but note that you can't just drop that into RH4.

Would -mcpu=21164a help, or is -mcpu=21164 equally good?  But in any
case, which binutils version would be needed & where can I get it?  Is
2.8.1 from prep.ai.mit.edu good enough?  I tried 2.8.1.0.15 from
tsx-11.mit.edu, but it didn't even configure.  It said:

   *** BFD does not support target alphaev5-unknown-linux-gnu.
   *** Look in bfd/config.bfd for supported targets.

I presume it'd configure with target = alpha-unknown-linux-gnu?  What
about building the RH5 one from source on RH4?

Also, would the newer binutils also fix the problem of sometimes
seeing masses of "relocation truncated to fit" errors during linking?

Thanks,

Harvey J. Stein
Berger Financial Research
hjstein@bfr.co.il

-- 
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:[~1997-12-15 10:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-15 10:52 Harvey J. Stein [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-12-15  0:03 Optimal options for egcs optimization? Fabio Perroni
1997-12-14 12:35 Harvey J. Stein
1997-12-15  1:45 ` Richard Henderson
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