[x264-devel] Re: [patch] disable optimization in debug build
Loren Merritt
lorenm at u.washington.edu
Wed Aug 16 22:41:22 CEST 2006
On Wed, 16 Aug 2006, Johannes Ball wrote:
> I don't know if it's generally desired, but here's a patch that simply
> disables optimization if configured with --enable-debug.
>
> For my setup (gcc 3.4.6, gdb 6.4) it seems gdb is not able to handle the
> optimized code properly all the way down to, but not including, -O1. It could
> well be due to a specific optimization setting or a bug in one of the tools,
> but I don't have the time to track this down. Take it or leave it.
I doubt it's a bug. Just that if gcc optimizes away some value, then it
doesn't exist anywhere in the executable, so gdb can't access it.
--Loren Merritt
--
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html
More information about the x264-devel
mailing list