[bind10-dev] problem with gcov and bind10_dns.so
JINMEI Tatuya / 神明達哉
jinmei at isc.org
Thu Apr 8 18:48:28 UTC 2010
At Wed, 7 Apr 2010 15:32:21 -0500 (CDT),
"Jeremy C. Reed" <jreed at isc.org> wrote:
> I forgot to ask: is anyone else having problems when using --with-lcov
> when also building bind10_dns? Do you have a libgcov.so shared library?
I just confirmed I successfully built bind10_dns.so with --with-lcov.
My ./configure options are:
./configure --with-gtest=/Users/jinmei/obj --with-boost-lib=${HOME}/opt/lib --with-boost-include=${HOME}/opt/include --prefix=${HOME}/opt --with-lcov
and as far as I can see there's no shlib version of libgcov:
% otool -L run_unittests
run_unittests:
/Users/jinmei/obj/lib/libgtest.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.1)
and I'm sure this run_unittests was built with -lgcov.
It's MacOS 10.6.3 (64bit) if it matters (perhaps there's a special
apple hack for libtool).
But in any case I think we can work around this. We don't need to
specify -lgcov for everything, so I guess we can selectively add
-lgcov for limited applications.
---
JINMEI, Tatuya
More information about the bind10-dev
mailing list