Opened 19 years ago
Closed 19 years ago
Last modified 18 years ago
#52 closed defect (fixed)
./configure --compile-type=profile
Reported by: | Robert Tsai <rtsai1111> | Owned by: | danielk |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
With gcc-3.3.5 on Ubuntu hoary, I'm unable to compile with --compile-type=profile. Once I fix up the ./configure script to supply "-pg", I get complaints that "-pg" and "-fomit-frame-pointer" are incompatible.
I've attached a patch for the "-pg" flag, but my qmake-fu is insufficient to get "-fomit-frame-pointer" selectively turned off only for profile compiles.
"-pg" also needs to be added to the link line.
Attachments (1)
Change History (3)
Changed 19 years ago by
Attachment: | mythtv.profile.diff added |
---|
comment:1 Changed 19 years ago by
Owner: | changed from Isaac Richards to danielk |
---|
comment:2 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [6837]) Closes #52
This is the second time someone has missunderstood what the profile compile type does, so I have added a little more help on "./configure --help". As I've explained before the profile option prepares MythTV for sampling profilers such as oprofile, PerfSuite? and vTune.
Profiling an application like MythTV with gprof is completely useless due to the overhead from the instrumentation inserted by "-pg".