[webkit-help] Building webkit with -coverage argument
Jacob Goldstein
jacobg at adobe.com
Thu Jan 12 16:53:20 PST 2012
I have been attempting to build webkit with the –coverage argument (as well as run the generate-coverage-data script), and am receiving the error below. Does anyone have experience building with –coverage or running the coverage script?
…..
clang: warning: argument unused during compilation: '-MMD'
Ld /Users/jacobg/WebKit/WebKitBuild/Release/JavaScriptCore.framework/Versions/A/JavaScriptCore normal x86_64
cd /Users/jacobg/WebKit/Source/JavaScriptCore
setenv MACOSX_DEPLOYMENT_TARGET 10.7
/Developer/usr/bin/clang++ -arch x86_64 -dynamiclib -L/Users/jacobg/WebKit/WebKitBuild/Release -F/Users/jacobg/WebKit/WebKitBuild/Release -filelist /Users/jacobg/WebKit/WebKitBuild/JavaScriptCore.build/Release/JavaScriptCore.build/Objects-normal/x86_64/JavaScriptCore.LinkFileList -Xlinker --no-demangle -exported_symbols_list /Users/jacobg/WebKit/WebKitBuild/Release/DerivedSources/JavaScriptCore/JavaScriptCore.JSVALUE64.exp -install_name /Users/jacobg/WebKit/WebKitBuild/Release/JavaScriptCore.framework/Versions/A/JavaScriptCore -mmacosx-version-min=10.7 -dead_strip -lobjc -Wl,-Y,3 -sub_library libobjc -framework CoreServices -Xlinker -objc_gc_compaction -ftest-coverage -fprofile-arcs -lgcov -fprofile-arcs -ftest-coverage -framework CoreFoundation -framework Foundation -licucore -lobjc -single_module -compatibility_version 1 -current_version 535.16 -o /Users/jacobg/WebKit/WebKitBuild/Release/JavaScriptCore.framework/Versions/A/JavaScriptCore
ld: library not found for -lgcov
Command /Developer/usr/bin/clang++ failed with exit code 1
** BUILD FAILED **
The following build commands failed:
Ld /Users/jacobg/WebKit/WebKitBuild/Release/JavaScriptCore.framework/Versions/A/JavaScriptCore normal x86_64
(1 failure)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120112/e4682534/attachment.html>
More information about the webkit-help
mailing list