Bug 53129 - compile fails when specifying LDFLAGS+='-lgcov' CFLAGS/CXXFLAGS+='-fprofile-arcs -ftest-coverage'
Summary: compile fails when specifying LDFLAGS+='-lgcov' CFLAGS/CXXFLAGS+='-fprofile-a...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
4.0.0.0.alpha0+ Master
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-04 19:49 UTC by John Smith
Modified: 2012-08-13 18:39 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
log of failed build (29.38 KB, application/gzip)
2012-08-04 19:49 UTC, John Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Smith 2012-08-04 19:49:09 UTC
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.
Comment 1 John Smith 2012-08-05 17:06:33 UTC
Use LDFLAGS+='-fprofile-arcs' instead of LDFLAGS+='-lgcov'