K 10 svn:author V 4 ngie K 8 svn:date V 27 2017-07-31T09:54:04.983173Z K 7 svn:log V 1490 Take a different approach to building with --coverage (WiP) The .covo binaries didn't really make sense after reviewing some stackoverflow posts and other related documentation -- in particular, it would complicate matters by having "coverage-enabled binaries" link to "coverage-enabled libraries" (aka "covo" libraries). It's best to install the full binaries/libraries to /usr/lib/cov instead. In order to enable this (and make sure that libprofile_rt is built properly), libprofile_rt must be built with cross-tools. Also, don't explicitly disable MK_COVERAGE in _libraries -- coverage support needs to be baked in to the libraries in order for it to be effective. Pass through --coverage in the linking phase for shared libraries -- it's necessary to ensure that libprofile_rt is resolved properly in the _libraries phase with 2nd order libraries, like libcom_err.so.*. This change reverses all of r320396 and partially reverses r321758. The first commit was the WiP approach that was proven to incorrect with the reasoning given in the first paragraph. The second commit reverses the MK_DEBUG_FILES change because I'll probably run into friction when trying to merge it back in to head if I leave it in (despite the fact that I find this behavior completely unnecessary). TODO: see if libprofile_rt's symbols should be stripped out of debug files; they are currently duplicated between the fat binaries installed to /usr/lib/cov and the debug files installed to /usr/lib/debug . END