From: Bartosz Cisek <bartosz.cisek@nasza-klasa.pl>
To: Eric Sandeen <sandeen@sandeen.net>
Cc: Christoph Hellwig <hch@infradead.org>,
Michael Monnerie <michael.monnerie@is.it-management.at>,
xfs@oss.sgi.com
Subject: Re: xfs_repair segfaut in stage 6
Date: Wed, 14 Sep 2011 17:10:02 +0200 [thread overview]
Message-ID: <4E70C3CA.7010103@nasza-klasa.pl> (raw)
In-Reply-To: <4E70C0C5.1080100@sandeen.net>
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.
xfs_ialloc.c: In function ‘xfs_imap’:
xfs_ialloc.c:1122: warning: implicit declaration of function
‘xfs_stack_trace’
[CC] xfs_inode.lo
xfs_inode.c: In function ‘xfs_validate_extents’:
xfs_inode.c:45: warning: implicit declaration of function ‘get_unaligned’
xfs_inode.c: In function ‘xfs_imap_to_bp’:
xfs_inode.c:149: warning: implicit declaration of function
‘XFS_BUFTARG_NAME’
xfs_inode.c: In function ‘xfs_iextents_copy’:
xfs_inode.c:1012: warning: implicit declaration of function ‘xfs_isilocked’
xfs_inode.c:1012: error: ‘XFS_ILOCK_SHARED’ undeclared (first use in
this function)
xfs_inode.c:1012: error: (Each undeclared identifier is reported only once
xfs_inode.c:1012: error: for each function it appears in.)
--
Bartosz Cisek
Admin
email: bartosz.cisek@nasza-klasa.pl
tel: +48 519 300 122
Nasza Klasa Sp. z o.o.,
ul. Gen. J. Bema 2, 50-265 Wrocław
Sąd Rejonowy dla Wrocławia - Fabrycznej we Wrocławiu,
VI Wydział Gospodarczy Krajowego Rejestru Sądowego,
nr KRS:0000289629, NIP:898-21-22-104 REGON:020586020,
Kapitał zakładowy: 67 850,00 PLN
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2011-09-14 15:10 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-09 8:43 xfs_repair segfaut in stage 6 Bartosz Cisek
2011-09-09 12:01 ` Michael Monnerie
2011-09-09 15:06 ` Bartosz Cisek
2011-09-12 15:42 ` Bartosz Cisek
2011-09-12 15:58 ` Christoph Hellwig
2011-09-12 16:12 ` Christoph Hellwig
2011-09-14 9:38 ` Bartosz Cisek
2011-09-14 14:24 ` Christoph Hellwig
2011-09-14 14:57 ` Eric Sandeen
2011-09-14 15:10 ` Bartosz Cisek [this message]
2011-09-14 15:23 ` Eric Sandeen
2011-09-14 14:59 ` Bartosz Cisek
2011-09-14 15:38 ` Christoph Hellwig
2011-09-14 16:05 ` Bartosz Cisek
2011-09-20 20:25 ` Alex Elder
2011-09-20 20:28 ` Christoph Hellwig
2011-09-09 12:38 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E70C3CA.7010103@nasza-klasa.pl \
--to=bartosz.cisek@nasza-klasa.pl \
--cc=hch@infradead.org \
--cc=michael.monnerie@is.it-management.at \
--cc=sandeen@sandeen.net \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox