[Gluster-devel] gcov/lcov code coverage of glusterfs

John Smith lbalbalba at gmail.com
Thu May 9 17:14:10 UTC 2013


Hi,


Im trying to build/instrument glusterfs for gcov code coverage, so
that we can determine how much of the code gets tested by running the
test suite.

But when i try to do a build using *FLAGS+='-fprofile-arcs
-ftest-coverage', i run into this error: undefined reference to
`__gcov_init' (http://fpaste.org/11321/36811943/)

Using '-fprofile-arcs' implies '-lgcov', so i shouldnt be getting that error.


Does anyone have any idea what might be going wrong here ?



Regards,


John Smith.




More information about the Gluster-devel mailing list