Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346522 - Linker Debugging option missed : -pg
Summary: Linker Debugging option missed : -pg
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Managed Make (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 trivial (vote)
Target Milestone: 8.0   Edit
Assignee: Jeffrey Overbey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-19 14:38 EDT by Mariano Mendez CLA
Modified: 2011-12-07 21:47 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.