Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156596 - dev-java/cpptasks-1.0_beta4 fix for -pg linker flag
Summary: dev-java/cpptasks-1.0_beta4 fix for -pg linker flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL: http://sourceforge.net/tracker/index....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-29 04:32 UTC by Martijn Hijdra
Modified: 2007-02-10 12:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix -pg linker option (linker-profile.patch,1.82 KB, patch)
2006-11-29 04:34 UTC, Martijn Hijdra
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martijn Hijdra 2006-11-29 04:32:52 UTC
When using cpptasks to link files with profiling enabled (-pg) this flag is not recognized so cpptasks will prepend a -Wl, to it which results in the "-Wl,-pg" flag which is unknown to the gcc/gpp linker.

please see attached patch to solve the problem
Comment 1 Martijn Hijdra 2006-11-29 04:34:05 UTC
Created attachment 102974 [details, diff]
fix -pg linker option

can be used in ebuild to fix the problem
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-02-10 12:22:36 UTC
(In reply to comment #1)
> Created an attachment (id=102974) [edit]
> fix -pg linker option
> 
> can be used in ebuild to fix the problem
> 

Please submit this patch upstream too.
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2007-02-10 12:25:39 UTC
http://sourceforge.net/tracker/index.php?func=detail&aid=829906&group_id=36177&atid=416920

I found an upstream bug report for this.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-02-10 12:43:43 UTC
I submitted a link to the patch in the upstream bug report and committed the patch to Portage. Thanks for reporting.