View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014975CMakeCMakepublic2014-06-14 10:392015-01-05 08:38
ReporterNuno 
Assigned ToBrad King 
PriorityhighSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinuxOSArch LinuxOS Version
Product VersionCMake 2.8.12.2 
Target VersionCMake 3.0.1Fixed in VersionCMake 3.0.1 
Summary0014975: Fortran modules for GNU fortran are not correctly identified
DescriptionFor some modules I get this
"GNU fortran module aylqd_model.mod has unexpected format."
after the call to *cmake_copy_f90_mod*

it only seems to happens in modules that are gziped and not the ASCII ones.
I am using gfortran 4.9.0 and I think it was when they introduced gziped modules.
Steps To Reproducehappens with any .mod that is gziped.
Additional Informationlooking at the cmake code in git it seems that "cmDependsFortran.cxx" needs to be modified in the cmDependsFortran::ModulesDiffer() function to change the way GNU fortran modules are detected.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0036218)
Brad King (manager)
2014-06-18 11:31

Indeed, from the GCC 4.9 release notes for Fortran:

 https://gcc.gnu.org/gcc-4.9/changes.html [^]
 "Module files: The version of the module files (.mod) has been incremented; additionally, module files are now compressed."
(0036223)
Brad King (manager)
2014-06-19 09:31
edited on: 2014-06-23 10:00

This should fix it:

 Fortran: Add support for GNU >= 4.9 compressed modules
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d90be200 [^]

(0037569)
Robert Maynard (manager)
2015-01-05 08:38

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2014-06-14 10:39 Nuno New Issue
2014-06-18 11:31 Brad King Note Added: 0036218
2014-06-19 09:31 Brad King Note Added: 0036223
2014-06-23 10:00 Brad King Note Edited: 0036223
2014-06-25 13:41 Brad King Assigned To => Brad King
2014-06-25 13:41 Brad King Status new => assigned
2014-06-25 13:41 Brad King Target Version => CMake 3.0.1
2014-06-25 13:46 Brad King Status assigned => resolved
2014-06-25 13:46 Brad King Resolution open => fixed
2014-06-25 13:46 Brad King Fixed in Version => CMake 3.0.1
2015-01-05 08:38 Robert Maynard Note Added: 0037569
2015-01-05 08:38 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team