build with code coverage
Michael Stahl
mstahl at redhat.com
Mon Jul 8 03:21:09 PDT 2013
On 08/07/13 10:37, John Smith wrote:
> Hi,
>
>
> I tried running a more verbose 'make' : http://pastebin.ca/2420752
>
> .... And I dont get it. It looks like '-fprofile-arcs' and '-lgcov'
> *are* being passed correctly on the cmd line, but *still* there is the
> error...
>
> Or am I simply misinterpreting the error, and has it got noting to do
> with gcov ?
it is likely caused by:
$(eval $(call gb_Library_add_ldflags,pyuno_wrapper,-nostdlib))
see the lengthy comment above the line in Library_pyuno_wrapper.mk
for why it is needed to avoid linking in libstdc++.
although actually nowadays (c007292ec3eedcf2b1ad673308fa42aad31a7333) we
could probably remove that line, since we now use gcc not g++ to link if
the library has only C objects.
... have just pushed 6121703620ed344b181a9f07a7262a664477a209 to revert
that, should fix your problem.
More information about the LibreOffice
mailing list