Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Strange DWARF compiler string

eoseret
Beginner
411 Views

Hello,

Contrary to the C/C++ compiler, the DWARF compiler string (DW_AT_producer) for Fortran is strange and does not contain the version number. What is surprising is that it is OK when dumped in the assembly file.

dwarfdump -a foo.o | grep -i intel # foo.o <= icc -g -c foo.c
(...) "Intel(R) C Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.0.1.117 Build 20121010
icc -S -g foo.c; grep -i intel foo.s
# mark_description "Intel(R) C Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.0.1.117 Build 2012101";

dwarfdump -a foo.o | grep -i intel # foo.o <= ifort -g -c foo.F90
(...) "Intel(R) Fortran Intel(R) 64 Compiler XE Fixes SameLinkageName MemberPointers
ifort -S -g foo.F90; grep -i intel foo.s
# mark_description "Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.0.1.117 Build 2";
 

0 Kudos
5 Replies
Kevin_D_Intel
Employee
411 Views

I reproduced this issue and reported it to Development (internal tracking id noted below). Thank you for notifying us about this issue. I will update this thread regarding a fix as I learn it.

(Internal tracking id: DPD200238344)

(Resolution Update on 11/26/2013): This defect is fixed in the Intel Fortran Composer XE 2013 SP1 release (2013.1.0.074 - OS X*)

0 Kudos
eoseret
Beginner
411 Views

Thanks. Retryed with 13.1.1 (instead of 13.0.1): still present.

0 Kudos
Lorri_M_Intel
Employee
411 Views

This was fixed for a release coming out later this year.

Do you need it in a 13.1 update?

         Thanks --

                        --Lorri

0 Kudos
eoseret
Beginner
411 Views

As far as I am concerned, it can wait the next official release (13.1.2 or 14.0.0).

Thanks, Emmanuel

0 Kudos
Kevin_D_Intel
Employee
411 Views

Emmanuel,

My apologies for overlooking updating this post earlier.

I confirmed this issue is fixed in the Composer XE 2013 SP1 Release (w/ 14.0 compiler). Both the initial release shown below and newer Update 1 (Version 14.0.1.103 Build 20131010) containing the fix are available for download from the Intel Registration Center.

$ ifort -V
Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.0.074 Build 20130716

$ ifort -g -c foo.F90
$ dwarfdump -a foo.o | grep -i intel
             AT_producer( "Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.0.074 Build 20130716

0 Kudos
Reply