xfsprogs - debug build with -O0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Is there a way how to disable compiler optimisation in xfsprogs? It should be done with setting env variable OPTIMIZER='-O0', however, even though this is mentioned on few places in xfsprogs, it doesn't work and the configure file always use "-O2" from autogenerated m4/libtool.m4. Other environment variables works as expected.

So far, when in need of debugging, I have been manually replacing -O2 with -O0 in configure, but this isn't a good solution. So, is there another way, or it is just broken? I find it strange that nobody would mind messed GDB outputs... :-)

Cheers,
Jan

--
_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux