Re: xfs_repair segfaut in stage 6

Eric Sandeen
2011-09-14T15:23:35Z

On 9/14/11 10:10 AM, Bartosz Cisek wrote:
> W dniu 14.09.2011 16:57, Eric Sandeen pisze:
>> If it worked for Christoph and not for Bartosz ....
>>
>> Is the -DDEBUG / -DNDEBUG type setting the same in both cases?
>> Maybe Fedora is the only one doing -DNDEBUG :( but maybe worth
>> checking.
>
> Tested both. I was wodering why I got 'value optimized out' in gdb, so
> compiled with DEBUG=-DNDBEUG and DEBUG=-DDEBUG. Both crashed, both had
> 'optimized out' values in gdb backtrace.
>
> I found two placed where DEBUG may be overwritten:
>
> hd-slave5 ~/devel/xfsprogs # ack-grep NDEBUG
> libxfs/Makefile
> 39:DEBUG = -DNDEBUG
>
> libxlog/Makefile
> 16:DEBUG = -DNDEBUG
>
> When I changed -DNDEBUG to -DDEBUG/ compilation failed.

yeah, that's why it's overridden in those places. :)

-Eric