[Bug fortran/36577] Segmentation fault from gfortran compilation
--- Comment #11 from dfranke at gcc dot gnu dot org 2008-08-01 21:36 --- Closing as WORKSFORME, Reporter can not reproduce the problem. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |RESOLVED Resolution||WORKSFORME Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36577
[Bug fortran/36577] Segmentation fault from gfortran compilation
--- Comment #10 from zhonghaij at yahoo dot com 2008-08-01 20:32 --- Subject: Re: Segmentation fault from gfortran compilation Based on my test, the new version will work. Thanks --- On Sun, 7/27/08, dfranke at gcc dot gnu dot org <[EMAIL PROTECTED]> wrote: > From: dfranke at gcc dot gnu dot org <[EMAIL PROTECTED]> > Subject: [Bug fortran/36577] Segmentation fault from gfortran compilation > To: [EMAIL PROTECTED] > Date: Sunday, July 27, 2008, 9:55 AM > --- Comment #9 from dfranke at gcc dot gnu dot org > 2008-07-27 16:55 --- > Anything new here? > Did you try a newer version of gfortran as suggested by > Steve? > If it still does not work for you, could you provide a > self-contained test > case? > > > -- > > dfranke at gcc dot gnu dot org changed: > >What|Removed |Added > > Status|UNCONFIRMED |WAITING > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36577 > > --- You are receiving this mail because: --- > You are on the CC list for the bug, or are watching someone > who is. > You reported the bug, or are watching the reporter. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36577
[Bug fortran/36577] Segmentation fault from gfortran compilation
--- Comment #9 from dfranke at gcc dot gnu dot org 2008-07-27 16:55 --- Anything new here? Did you try a newer version of gfortran as suggested by Steve? If it still does not work for you, could you provide a self-contained test case? -- dfranke at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36577
[Bug fortran/36577] Segmentation fault from gfortran compilation
--- 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
[Bug fortran/36577] Segmentation fault from gfortran compilation
--- Comment #7 from zhonghaij at yahoo dot com 2008-06-20 13:49 --- Subject: Re: Segmentation fault from gfortran compilation Yes, junk.f is fine though it is extracted from coart.f. 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! Thanks for help. Zhonghai --- On Thu, 6/19/08, jvdelisle at gcc dot gnu dot org <[EMAIL PROTECTED]> wrote: > From: jvdelisle at gcc dot gnu dot org <[EMAIL PROTECTED]> > Subject: [Bug fortran/36577] Segmentation fault from gfortran compilation > To: [EMAIL PROTECTED] > Date: Thursday, June 19, 2008, 8:49 PM > --- Comment #5 from jvdelisle at gcc dot gnu dot org > 2008-06-20 03:49 --- > junk.f compiles without error for me here. > > Do you have the gmp and mpfr libraries installed? > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36577 > > --- You are receiving this mail because: --- > You are on the CC list for the bug, or are watching someone > who is. > You reported the bug, or are watching the reporter. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36577
[Bug fortran/36577] Segmentation fault from gfortran compilation
--- Comment #6 from zhonghaij at yahoo dot com 2008-06-20 13:45 --- 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! (In reply to comment #0) > I got an error message when compiling my code coart.f . Seems gfortran does > not like the block data. But I tried to separate the component with problem > (the attached junk.f), it was fine. Could you please tell me why? > Here is what happened: > > [zjin:~/coart/spec] jin% gfortran -c coart.f > coart.f:12657: internal compiler error: Segmentation fault > Please submit a full bug report, > with preprocessed source if appropriate. > > [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) > > Thank you in advance. > (In reply to comment #0) > I got an error message when compiling my code coart.f . Seems gfortran does > not like the block data. But I tried to separate the component with problem > (the attached junk.f), it was fine. Could you please tell me why? > Here is what happened: > > [zjin:~/coart/spec] jin% gfortran -c coart.f > coart.f:12657: internal compiler error: Segmentation fault > Please submit a full bug report, > with preprocessed source if appropriate. > > [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) > > Thank you in advance. > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36577
[Bug fortran/36577] Segmentation fault from gfortran compilation
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2008-06-20 03:49 --- junk.f compiles without error for me here. Do you have the gmp and mpfr libraries installed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36577
[Bug fortran/36577] Segmentation fault from gfortran compilation
--- Comment #4 from dfranke at gcc dot gnu dot org 2008-06-19 12:23 --- Removing the offending USE statement (commnet #3) only results in a load of undefined references, i.e. compilation was (sort of) successfull - no problem to be seen?! $> gfortran-4.3 gcc version 4.3.2 20080618 (prerelease) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36577
[Bug fortran/36577] Segmentation fault from gfortran compilation
--- Comment #3 from dfranke at gcc dot gnu dot org 2008-06-19 12:20 --- Can not reproduce this for now. Please make sure that you include all necessary files ... $ gfortran-4.3 -g -w pr36577.f pr36577.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 -- dfranke at gcc dot gnu dot org changed: What|Removed |Added CC||dfranke at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36577
[Bug fortran/36577] Segmentation fault from gfortran compilation
--- Comment #2 from zhonghaij at yahoo dot com 2008-06-19 11:39 --- Created an attachment (id=15788) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15788&action=view) junk.f is extracted from coart.f -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36577
[Bug fortran/36577] Segmentation fault from gfortran compilation
--- Comment #1 from zhonghaij at yahoo dot com 2008-06-19 11:38 --- Created an attachment (id=15787) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15787&action=view) coart.f is the original source, junk.f is the part with problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36577