[mythtv] Mixed debug/release build

Daniel Kristjansson danielk at cuymedia.net
Fri Aug 24 23:09:12 UTC 2007


On Sat, 2007-08-25 at 00:14 +0200, Michael Haas wrote:
> 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.
<snip>

Have you seen ticket #3589? Would that be compatible with apport?
If so, would it fill your needs. You can already compile with
compile type profile and get an optimized build with debugging
symbols. A profile build stack trace isn't as good as a debug 
build one for debugging, but it is often sufficient. It also has
the benefit of having symbols for libavcodec, libavutil, which in
my experience generate most of the difficult segfaults. The downside
of the profile builds is that they still take up a lot of memory,
the release-dbg patch should mostly address that issue (but there
is still a 7% bloat penalty.)

-- Daniel



More information about the mythtv-dev mailing list