From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2a2900b1fe6415b9aa94e3ccfc36a31e.axp-list@archive.invalid> X-Archive-Original-Message-ID: <9705231352.AA46410@hellfire.dusers.drexel.edu> Date: Fri, 23 May 1997 09:52:01 -0400 From: J Subject: Re: f2c too? 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