[mythtv-commits] Ticket #3589: New compile-type: release-dbg

MythTV mythtv at cvs.mythtv.org
Sat Aug 25 22:32:53 UTC 2007


#3589: New compile-type: release-dbg
-------------------------+--------------------------------------------------
 Reporter:  anonymous    |        Owner:  danielk
     Type:  enhancement  |       Status:  new    
 Priority:  minor        |    Milestone:  unknown
Component:  mythtv       |      Version:  head   
 Severity:  medium       |   Resolution:         
  Mlocked:  0            |  
-------------------------+--------------------------------------------------

Comment(by laga+mythtv at laga.ath.cx):

 As per Daniel's request, I'm attaching my patch to compile a mixed
 release/debug build. I'll quote my email to the mythtv-dev mailing list:


 ----
 Hi,

 most ready-made MythTV packages are compiled with
 --compile-type=release. While this is great for the vast majority of
 users, it's impossible to debug segfaults properly with these packages
 because debug symbols are stripped. Even if dbg symbols were present,
 gcc optimizations would render backtraces generated from them useless.

 On the other hand, packages created using --compile-type=debug are
 slower which makes them unsuitable for environment which lack CPU
 ressources or where HDTV is to be displayed.

 It was suggested to me in #mythtv that only certain performance-critical
 parts of MythTV should be optimized while other parts remain fully
 debugable. I have created a small patch which adds --compile-type=apport
 [1]. With this patch, libavcodec, libavutil, filters, libmythmpeg2,
 libmythsamplerate and libmythsoundtouch are compiled with -O3. Janne
 suggested that libs/libmythtv/RTjpegN.cpp should be optimized as well,
 but I have yet to figure out how to do that.

 ----

 Whole thread is here: http://www.gossamer-
 threads.com/lists/mythtv/dev/285464

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3589#comment:6>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list