Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346522

Summary: Linker Debugging option missed : -pg
Product: [Tools] PTP Reporter: Mariano Mendez <marianomendez>
Component: Photran.Managed MakeAssignee: Jeffrey Overbey <com-eclipse-dot-org>
Status: CLOSED FIXED QA Contact:
Severity: trivial    
Priority: P3 CC: com-eclipse-dot-org
Version: unspecified   
Target Milestone: 8.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Mariano Mendez CLA 2011-05-19 14:38:14 EDT
Build Identifier: Build id: 20110505-1223

the -pg (gprof enable option) is present in the compiler option, it does not work properly , there must be a linker option . So in project properties -> fortran build -> settings : in the linker options should be add a Debugging option button to enable the -pg .

Reproducible: Always
Comment 1 Jeffrey Overbey CLA 2011-12-07 20:02:53 EST
Note: This bug is referenced in Bug 365805 with regard to the IBM XL Fortran toolchain.
Comment 2 Jeffrey Overbey CLA 2011-12-07 21:47:57 EST
A "Debugging" category was added to the linker options for the GNU and XL Fortran toolchains containing the -pg and -p options.

Fixed in HEAD for 8.0.