Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: J <sundiver@hellfire.dusers.drexel.edu>
Subject: Re:  f2c too?
Date: Fri, 23 May 1997 09:52:01 -0400	[thread overview]
Message-ID: <2a2900b1fe6415b9aa94e3ccfc36a31e.axp-list@archive.invalid> (raw)

Christopher Grayce writes:
>Retrieved f2c-19960205-8.alpha.rpm and f2c-libs-19960205-8.alpha.rpm
>from Redhat 4.2 distribution and installed.  Using this source:
>
>       program foo
>       integer i
>       double precision x
>       write(6,fmt='(i3," foo ",f12.6)') i,x
>       stop
>       end
>
> try:
>  f2c bar.f
>  gcc bar.c -lf2c -lm
>  a.out
>
>And get the usual segmentation violation.  If I run f2c on a larger
>(but still relatively trivial) Fortran program, f2c itself crashes
>with a FPE ``while evaluating a constant''.  Incidentally the SIGSEGV
>was recorded in /var/log/messages as "memory violation at pc=15555670864
>rp=155556712d8 (bad address = 00000000).~v

This happened to me. Suddenly I found that g77 and f2c no longer worked.
They behaved as you describe above. I reinstalled gcc-2.7.2.1, glibc, and f2c
from RedHat 4.1. F2c was still broken. Poked around at the libraries a bit,
thinking something must be screwed up there. Couldn't find anything.
Reinstalled RedHat 4.1 (as an ungrade, keeping my config files). F2c still
didn't work. Finally I wiped the hard drive and did a clean install of
4.1. This 'fixed' it. 

The only thing I can think of that may have contributed to this is that
at one point I had installed glibc-2.0.2, and then later removed it. But I
would think that reinstalling glibc from RedHat 4.1 would fix things then.

I did find something else that is 'broken' with gcc/g77. If I compile a kernel
(2.0.29) using gcc/g77 (built using my hack), smbfs doesn't work correctly.
I can mount filesystems, but no files show up in the mounted filesystems.
This, of course, doesn't inspire confidence, but aside from this I've
seen no other bad behavior. Except of course for that mentioned above, 
but it seems likely that its not a gcc/g77 problem, but something else.

- 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

             reply	other threads:[~1997-05-23 13:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-23 13:52 J [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-05-24  3:56 f2c too? Michal Jaegermann
     [not found] <199705231234.FAA01649@wasatch.ps.uci.edu>
1997-05-23 15:33 ` Michal Jaegermann
1997-05-23 12:34 Christopher J. Grayce
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