Created attachment 65130 [details]
log of failed build
When preparing LibreOffice for gcov/lcov, you have to specify "LDFLAGS+='-lgcov' CFLAGS+='-fprofile-arcs -ftest-coverage' CXXFLAGS+='-fprofile-arcs -ftest-coverage' CPPFLAGS+='-fprofile-arcs -ftest-coverage'".
But when you do this, the build fails.
Use LDFLAGS+='-fprofile-arcs' instead of LDFLAGS+='-lgcov'