This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50231] Fatal Error: Wrong module version '5' (expected '4') for file 'sizes.mod'
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Aug 2011 21:26:37 +0000
- Subject: [Bug fortran/50231] Fatal Error: Wrong module version '5' (expected '4') for file 'sizes.mod'
- Auto-submitted: auto-generated
- References: <bug-50231-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50231
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-08-29 21:26:37 UTC ---
(In reply to comment #2)
> I agree that the error you quoted is a user error.
> This, however, should not happen:
>
> gfortran: Internal error: Aborted (program f951)
I guess that the bug reporter uses Windows and runs into PR 47394 (fixed
January 2011 on the 4.5 branch and - back then - on the 4.6 trunk).
Pavel, is this correct? Namely, that you have a gfortran which is older than 21
January 2011 - and that you use Windows? If not, we would be interested in more
details - in particular the output of "gfortran -v" - to trace why there is an
internal error.
The actual message "Wrong module version '5' (expected '4')" is unfortunately
to be expected. Despite trying hard, we have been so far unable to keep the
.mod file format compatible between different GCC minor versions. (At least the
format is stable within releases/release branches.)