This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36577] Segmentation fault from gfortran compilation
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jun 2008 15:54:22 -0000
- Subject: [Bug fortran/36577] Segmentation fault from gfortran compilation
- References: <bug-36577-16352@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from kargl at gcc dot gnu dot org 2008-06-20 15:54 -------
(In reply to comment #6)
> This code (coart.f) works fine on several SGI and SUN systems. On my mac, only
> gfortran is available. based on the error message, I extracted the component
> (start at line 12657) with problem and named as junk.f. However, compilation of
> junk.f is fine. This is the puzzle!
AS requested by Daniel, you need to provide all the necessary files.
troutmask:kargl[202] gfc -c coart.f
coart.f:13595.72:
USE PMOM_aer
1
Fatal Error: Can't open module file 'pmom_aer.mod' for reading at (1): No such
file or directory
There is at least one file that defines PMOM_aer that is needed.
>> >
> > [zjin:~/coart/spec] jin% gfortran -v
> > Using built-in specs.
> > Target: i386-apple-darwin8.9.1
> > Configured with: ../gcc-4.3-20070518/configure --enable-languages=fortran,c++
> > Thread model: posix
> > gcc version 4.3.0 20070518 (experimental)
Try updating your version of gfortran. 20070518 is over a year old, and
there have been numerous bug fixes and changes in the last year.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36577