[MPlayer-dev-eng] [PATCH] configure: Avoid eh_frame bloat in release builds

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Feb 13 16:26:42 CET 2016


On Sat, Feb 13, 2016 at 05:03:17PM +0200, Lauri Kasanen wrote:
> Hi,
> 
> This patch reduces both mplayer and mencoder size by 1mb, or 6%. The
> eh_frame sections are mainly used for C++ exceptions and accurate
> debugging, neither of which is desired in a C program and a release
> build.

To the best of my information, at the very least
-fno-asynchronous-unwind-tables has no effect on debuggability
if debug info is present.
Thus is it should be set always.
Did you check whether -fno-unwind-tables has any effect at all?
I think this one is potentially not completely safe (we do have
C++ code) and it would be better to not add it unless it really
provides a significant benefit.

Regards,
Reimar


More information about the MPlayer-dev-eng mailing list