[cfe-dev] Can not find .a file from Clang scan-build

凌欢 linghuan713 at 126.com
Tue Jun 4 04:05:20 PDT 2013


Hi, Jordan:
Inclosed is the scan script and scan-build log which are based xcode 4.6.
It seems that scan-build can not finish the scan.
clang: error: assembler command failed with exit code 1 (use -v to see invocation)
Command /Users/mqq/hudson/clang_browser_newcore_ipad/icuios/llvm-build/Release+Asserts/bin/clang failed with exit code 1
Is it something wrong?
Thanks.

 BRs
Howard Ling
*****************************************************
 
E-mail:    linghuan713 at 126.com
 
*****************************************************
At 2013-05-30 07:58:26,"Jordan Rose" <jordan_rose at apple.com> wrote:

[+cfe-dev]


Hi, Howard. Xcode is refusing to use ccc-analyzer to compile some of its files, which is what happens in some iOS projects when using the "old" scan-build / Xcode integration. This should be fixed in Xcode 4.6.


Sorry for the later response on this one,
Jordan


On May 24, 2013, at 3:10 , 凌欢 <linghuan713 at 126.com> wrote:


hi, all:
One of my iOS project throw the following errors when I execute the scan-build : 

clang: error: no such file or directory: '/Users/mqq/hudson/clang_browser_newcore_ipad/tools/WebPageTest/WebPageTest/build/Release-iphoneos/libWebPageTest.a'
clang: error: no such file or directory: '/Users/mqq/hudson/clang_browser_newcore_ipad/MttHD_shell/Frameworks/KIF/build/Release-iphoneos/libKIF.a'
clang: error: no such file or directory: '/Users/mqq/hudson/clang_browser_newcore_ipad/xcodebuild/Release-iphoneos/libhttp_server.a'
 
At the same time ,my another script can build successfully which is not added scan-build, so is it the bug for scan-build ?
Inclosed  is the scan-build log the scripts.
Can anynone give me tips?
 BRs
Howard Ling

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130604/2f501c5e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xcode4.6.rar
Type: application/octet-stream
Size: 6896 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130604/2f501c5e/attachment.obj>


More information about the cfe-dev mailing list