[vlc-devel] [PATCH] Build contribs with debugging symbols
rsatom at gmail.com
Thu Aug 30 04:38:59 CEST 2012
2012/8/29 Rémi Denis-Courmont <remi at remlab.net>:
> On Wednesday 29 August 2012, Sergey Radionov wrote:
>> How about -O0 option for vlc debug builds? It will be very usefull, at
>> least for me.
> I am opposed to disabling optimizations in contribs for several reasons:
> - Managing multiple contrib variants per target is impractical.
> - Some contrib packages has custom optimizations flags.
> - Optimized contribs should be tested as much as possible.
> The last argument also applies to VLC builds. It's best to keep the side
> effects of debug to a minimum, mainly run-time assertions. That way developers
> test code that is closer to what the users get.
Core vlc developers, I think, have there own builds of VLC, so they
don't use public debug builds.
But for others (like me), debug builds with optimization is useless
since they don't allow find bugs, since don't show many variable
values. Then, what for debug builds can be used? I can't imagine any
> Thus, optimizations should be disabled only when debugging a *specific* problem
> where they interfere with the debugger. This is quite rare in my experience.
> Rémi Denis-Courmont
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel