Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: g77 and error message on console
@ 1997-04-02  1:03 Erik Evensen
  0 siblings, 0 replies; 4+ messages in thread
From: Erik Evensen @ 1997-04-02  1:03 UTC (permalink / raw)


>>>>> "L" == Lee Burnside <tljlb@tomserver.phys.ttu.edu> writes:

    L> On Tue, 1 Apr 1997 provost@iap.fr wrote:
    >>  1) Is there g77 software for Alpha ? Because fort77 (which is
    >> in the reality f2c) has very bad performance.

    L> Unfortunately, no, not yet.  Although the developers are
    L> working on the port, there are many issues still unresolved.
    L> Maybe in a few months.

g77 does in fact exist for Linux/Alpha, grab the latest versions
(g77-0.5.20 and gcc-2.7.2.2) from prep.ai.mit.edu and then
search the axp-list archive for a message from someone named sundiver;
actually, here's his message

Date:    Thu, 13 Mar 1997 16:43:04 EST
To:      axp-list@redhat.com

From:    sundiver@hellfire.dusers.drexel.edu (J)
Subject: Re: gcc-2.7.2.2 / g77-0.5.20 on RH4.1

I have gotten gcc-2.7.2.2 / g77-0.5.20 to compile and work (so far) under
RH4.1.  My system is RH4.1 installed from the RedHat  PowerTools CD set
plus all the updates on ftp.redhat.com as of a few days ago.

I used gcc-2.7.2.2 with the patches from g77-0.5.20 applied. I had to go in
at tweek the configuration a bit though. It seems that while the patches with
g77 do add support for alpha-linux to gcc, it is support for an older,
non ELF, system.

The changes I made, as I remmeber them are:

  Followed the install instructions that came with g77 up to the point
  where there tell you to fun configure

  Copied config/alpha/elf.h from the gcc SRPM from RH4.1 (after applying the
  patches in the spec file).

  Edited the configure script to use config/alpha/elf.h for tm_file with
  the alpha-linux configuration.

  Added "#define HAVE_STRERROR" to config/alpha/xm-linux.h

  Changed the ifdef around "extern void *alloca ();" in
  config/alpha/xm-alpha.h to "#ifndef alloca"

  Run configure, using the parameters shown in the Rh4.1 gcc spec file.

  make bootstrap

At this point the build proceeded normally. Gcc 2.7.2.2 was able to
compile itself. 

I've tested it on a few small C and Fortran programs of my own, and on
xmcd. Everything seems to be working fine.

I tried to use it to compile octave. Octave compiled, but seg faults
on startup when you run it. This was the same behavior using gcc-2.7.2.1/f2c
though.

If anyone wants more details or a better explanation, let me know. Be
warned. This is the first time I've ever looked at the inards of gcc. I don't
really know what I'm doing. It does seem to work though. *shrug*

- J

 

--
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

--
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: g77 and error message on console
@ 1997-04-02 15:36 Craig Burley
  0 siblings, 0 replies; 4+ messages in thread
From: Craig Burley @ 1997-04-02 15:36 UTC (permalink / raw)


>On Tue, 1 Apr 1997 provost@iap.fr wrote:
>
>> 
>> 1) Is there g77 software for Alpha ? Because fort77 (which is in
>> the reality f2c) has very bad performance.
>
>Unfortunately, no, not yet.  Although the developers are working on the
>port, there are many issues still unresolved.  Maybe in a few months.

g77-0.5.20 has support for Alphas in general.  However, it seems
nobody using a Linux/ELF system was available to alpha-test
version 0.5.20 (and it seems ECOFF has some bad bugs in it anyway?),
so getting 0.5.20 to work on a "modern" Linux/Alpha system might
not be easy.

0.5.21 is scheduled to fix this problem, plus a variety of other
bugs introduced in 0.5.20 that afflict most or all ports.

However, 0.5.21 is going to be delayed due to my having to return the
DEC Alpha I'd been loaned to do the g77 work -- fortunately, a
"replacement gift" of a UDB is being made by Craftwork, the company
that originally did the legwork to get the Cabriolet loaner to me
a year ago (but they can't afford the price they're being told
they have to pay if I/they don't return the Cabriolet, and neither
can I -- apparently year-old-plus Cabriolet's are very valuable!).

So, thanks to Craftwork, I had a Cabriolet to work on for a year (and
wish I'd been able to make better use of it, instead of spending much
of that time doing other work to fund my own g77 work), and will
soon have a UDB to continue doing g77/Alpha work.

Once I get an external box added to the UDB (which hasn't arrived
yet) to contain a 2GB disk I have (and had planned to add to the
Cabriolet, now glad I didn't get around to it), I'll be able to
resume Alpha-related work on g77, assuming the UDB has the performance
necessary for compiler development.

And, I suspect the UDB will have a Linux/ELF system on it, instead
of Linux/ECOFF, which means I can work on getting g77 to support ELF.

As usual, for ongoing g77 info, watch:

  ftp://gnu.ai.mit.edu/g77.plan

        tq vm, (burley)

--
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: g77 and error message on console
@ 1997-04-01 20:25 Lee Burnside
  0 siblings, 0 replies; 4+ messages in thread
From: Lee Burnside @ 1997-04-01 20:25 UTC (permalink / raw)


On Tue, 1 Apr 1997 provost@iap.fr wrote:

> 
> 1) Is there g77 software for Alpha ? Because fort77 (which is in
> the reality f2c) has very bad performance.

Unfortunately, no, not yet.  Although the developers are working on the
port, there are many issues still unresolved.  Maybe in a few months.

> 
> 2) Some messages are displayed on my console screen :
> 
> compress[22414]: unaligned trap at 00000000120003a38: 0000000.....
> 

The Alpha has to have data align on word boundaries, while most Intels
have no alignment requirements whatsoever.  This message appears when the
Linux kernel traps an unaligned access (usually a legacy from ix86 code). 
The traps do no harm, although they cause a register flush, and therefore
a large number of wait-states (in other words, they're a real performance
killer). The various developers and the guys at RedHat are slowly stamping
out the causes of these traps, with the result that I see only about 10%
of the number I used to. 

    Lee Burnside --SysAdmin-- TTU Dept. of Physics
	    tljlb@tomserver.phys.ttu.edu
	            Burnside@ttu.edu
           http://www.phys.ttu.edu/~tljlb/

--
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
* g77 and error message on console
@ 1997-04-01  9:08 provost
  0 siblings, 0 replies; 4+ messages in thread
From: provost @ 1997-04-01  9:08 UTC (permalink / raw)


Hello,

I Have installed RedHat 4.0 with 2.0 kernel.

I have 2 questions :

1) Is there g77 software for Alpha ? Because fort77 (which is in
the reality f2c) has very bad performance.

2) Some messages are displayed on my console screen :

compress[22414]: unaligned trap at 00000000120003a38: 0000000.....

What is ti ?

Thank you for your help...

Lionel Provost
+++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Lionel Provost 
+ Ingenieur Systemes & Reseaux, Base de donnees,
+ et Webmaster
+
+ C.N.R.S / Institut d'Astrophysique de Paris
+ 98 Bis Bd Arago
+ 75014 PARIS
+
+ Tel : +33 1 44 32 81 14   e-mail : provost@iap.fr
+ http://www-denis.iap.fr/provost.html
+++++++++++++++++++++++++++++++++++++++++++++++++++++ 

--
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:[~1997-04-02 15:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-02  1:03 g77 and error message on console Erik Evensen
  -- strict thread matches above, loose matches on Subject: below --
1997-04-02 15:36 Craig Burley
1997-04-01 20:25 Lee Burnside
1997-04-01  9:08 provost

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox