xfs
[Top] [All Lists]

Re: xfs_repair segfaut in stage 6

To: Bartosz Cisek <bartosz.cisek@xxxxxxxxxxxxxx>
Subject: Re: xfs_repair segfaut in stage 6
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Wed, 14 Sep 2011 10:23:36 -0500
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <4E70C3CA.7010103@xxxxxxxxxxxxxx>
References: <4E69D1B9.8070201@xxxxxxxxxxxxxx> <201109091401.31422@xxxxxx> <4E6A2B73.50503@xxxxxxxxxxxxxx> <20110912161215.GA17798@xxxxxxxxxxxxx> <4E707624.9030703@xxxxxxxxxxxxxx> <20110914142430.GA28049@xxxxxxxxxxxxx> <4E70C0C5.1080100@xxxxxxxxxxx> <4E70C3CA.7010103@xxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2
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

<Prev in Thread] Current Thread [Next in Thread>