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@xxxxxxxxxxxxxx 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@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs