On 01/08/2013 10:17 PM, Kenneth Graunke wrote:
> On 01/08/2013 12:06 PM, Matt Turner wrote:
>> On Tue, Jan 8, 2013 at 8:38 AM, Marek Olšák <[email protected]> wrote:
>>> Some distributions use --enable-debug for testing packages and the commit
>>> results in terrible CPU performance. It can be embarrassing for us.
>>
>> If distros want debug symbols, they should put -g in their CFLAGS
>> instead of --enable-debug. --enable-debug turns on a lot of other
>> things.
>
> I concur.
>
> Personally I think that --enable-debug ought to make it possible to use a
> debugger sanely (which requires -O0). But I override CFLAGS/CXXFLAGS anyway.
Would it make sense to show something in the OpenGL renderer string about the
status of these flags?
#ifdef DEBUG
" (ASSERTIONS)"
#endif
#if defined(__GNUC__) && !defined(__OPTIMIZE__)
" (UNOPTIMIZED)"
#endif
At least it'll be obvious what the problem is if someone misconfigured Mesa.
Best regards,
--Edwin
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev