[cmake-developers] [CMake 0013795]: FortranCInterface mangling detection fails for PathScale (pathf95)

Mantis Bug Tracker mantis at public.kitware.com
Fri Dec 14 07:05:54 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13795 
====================================================================== 
Reported By:                tobias
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13795
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-12-14 07:05 EST
Last Modified:              2012-12-14 07:05 EST
====================================================================== 
Summary:                    FortranCInterface mangling detection fails for
PathScale (pathf95)
Description: 
In PathScale, the following code:

module modname
contains
  subroutine subname() 
  end subroutine subname
end module modname

produces the following symbols:

0000000000000001 T modname_
0000000000000000 T SUBNAME.in.MODNAME

The current code at "# Construct mangling macro definitions." at
Modules/FortranCInterface/Detect.cmake doesn't handle neither the ".in." part -
nor the reversed order of procedure name and module name.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-12-14 07:05 tobias         New Issue                                    
======================================================================




More information about the cmake-developers mailing list